Recording jailbroken iphone microphone - command line tool

Hi

How can i record an iPhone microphone from command line tool?

Any idea? I tested some methods available in the internet but i can’t get any success.for example : https://github.com/milo2012/iPhone-Espionage

Any idea!!!
@snakeneany

I also use entitlement for pre-authorizing the binary file :

https://stackoverflow.com/questions/26058827/ios-jailbreak-console-application-entitlements

What have you done?
What was your thought?
Don’t expect any valuable information without providing any details. Thank you.

1 个赞

Thanks for your reply.

i use AVAudioRecorder to record the microphone.in GUI App AVAudioRecorder works fine.but when i use AVAudioRecorder in commandline tool, no any success record.only create a audio file without any voice.

I also sign by entitlements to give pre authorized access to microphone.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.private.tcc.allow</key>
    <array>
        <string>kTCCServiceMicrophone</string>
    </array>
</dict>
</plist>

No any idea?

I have the same problem, would you solved?