1.No module named 'frida'
Traceback (most recent call last):
File "/opt/dump/dump.py", line 11, in <module>
import frida
ModuleNotFoundError: No module named 'frida'
Traceback (most recent call last):
File "/opt/dump/dump.py", line 22, in <module>
from scp import SCPClient
ModuleNotFoundError: No module named 'scp'
Traceback (most recent call last):
File "/opt/dump/dump.py", line 23, in <module>
from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'
解決方式:缺什么就裝什么
pip3 install 要裝的模塊名
例如:
pip3 install tqdm
需要看日志就加上--log
pip3 install 要裝的模塊名 --log 日志輸出的文件
例如:
pip3 install tqdm --log ~/Desktop/Log.txt
如果上面的方式解決不了可以參考下面的方式
關(guān)于這個(gè)報(bào)錯(cuò)網(wǎng)上有說是頭文件引用問題的
解決方式:
vim /opt/dump/dump.py #找到并編輯dump.py 找不到的試試這個(gè) which dump.py
#把 “#!/usr/bin/env python” 改為 “#!/usr/bin/env python3”
2.ERROR: Command errored out with exit status 1
Collecting cryptography>=2.5
Using cached cryptography-37.0.4.tar.gz (585 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1: /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/hz/zs6y7gr93nz7qt8tdwr5h9800000gn/T/tmpivy2_4b7 Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 22.1.2 is available.
You should consider upgrading via the '/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install --upgrade pip' command.
解決方法:按照警告里面的提示更新pip然后再繼續(xù)
/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install --upgrade pip
3.開始砸殼報(bào)錯(cuò)"need Gadget to attach on jailed iOS"
need Gadget to attach on jailed iOS; its default location is: /Users/xxxx/.cache/frida/gadget-ios.dylib
到這里下載對應(yīng)的gadget
image.png
然后解壓后放到提示的目錄下再繼續(xù)胯杭,沒有就創(chuàng)建明也,記得改名字gadget-ios.dylib
~/.cache/frida/gadget-ios.dylib
使用:
dump.py -l #列出手機(jī)上的應(yīng)用列表
dump.py 應(yīng)用名 -o 輸出文件夾 #砸殼應(yīng)用并將ipa文件放到指定的位置