AloneMonkey / frida-ios-dump

pull decrypted ipa from jailbreak device
MIT License
3.39k stars 621 forks source link

FileNotFoundError: [WinError 2] The system cannot find the file specified #144

Open dafidka opened 3 years ago

dafidka commented 3 years ago

when i try to dump anything, it starts with start dump /Applications/App.app/App App.fid: 91%|███ | 10.1M/11.0M [00:00<00:00, 28.8MB/s] and right after that i get Traceback (most recent call last): File "C:\Users\Me\AppData\Local\Programs\Python\Python39\lib\site-packages\frida\core.py", line 383, in _on_message callback(message, data) File "C:\Users\Me\Desktop\frida\frida-ios-dump-master\dump.py", line 125, in on_message subprocess.check_call(chmod_args) File "C:\Users\Me\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 368, in check_call retcode = call(*popenargs, **kwargs) File "C:\Users\Me\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 349, in call with Popen(*popenargs, **kwargs) as p: File "C:\Users\Me\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\Me\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified start dump /Applications/App.app/dylibs/libsmb2-ios.dylib then in continues with Generating "App.ipa" which it does not

ahdenyi commented 3 years ago

are you using Windows? if so, need to change some commands in dump.py to those recognised by Windows. You can use some program like Notepad++ and replace below lines inside dump.py:

hope it helps

kylefmohr commented 2 years ago

Thanks @ahdenyi! I needed to change line 89 instead of line 83, but the other two line locations were correct. Appreciate the fix.