1. Install required software on the MAC
- Install frida
brew install python3
pip3 install frida
pip3 install frida-tools
Copy the code
- Install frida – ios – dump
Download frida-ios-dump, go to the file directory and run the following command to install it
sudo pip3 install -r requirements.txt --upgrade
Copy the code
Possible problems
- Stuck in
Running setup.py install for frida
- Download the corresponding Python version of Frida and install frida.egg
- Install the egg using easy_install
Install easy_install 1. Go to download setuptools pypi website, extract the https://pypi.org/project/frida/#files 2. Run python3 setup.py install from the decompression pathCopy the code
2. Install Frida on jailbroken phones
-
Enter the Cydia
-
Add the software source build.frida.re/
-
Add Frida (the new version will automatically determine the installation path according to the mobile system version)
3. Test the connection
The terminal executionfrida-ps -U
PID Name -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - 3111 App Store Cydia Safari 3035 2315 7153 Siri search 2544 iTunes 6925 WeChat 7518 screenshots 7520 photo 3114 purse 2423 music 2313 ACCHWComponentAuthService 2402 AKLocationSignInAlert...Copy the code
Possible problems
zsh: command not found: frida-ps
Copy the code
The solution
- Check whether Frida-Tools is installed using pip3 list
- through
pip3 show frida-tools
Finding the installation path/ Users/XXX/Library/Python / 3.8 / lib/Python/site - packages
- Find the bin directory corresponding to lib
/ Users/XXX/Library/Python / 3.8 / bin
- Add to ~/.zshrc or ~/.bash_profile (depending on which one you use)
- Run source ~/.zshrc or source ~/.bash_profile
4. Modify the configuration information
- Go to the frida-ios-dump folder and change it
dump.py
User = 'root'
Password = 'alpine'
Host = 'localhost'
Port = 2222
Copy the code
- perform
python3 ./dump.py -l
PID Name Identifier ---- ------------ --------------------------------------- 3111 App Store com.apple.AppStore 7138 BOSS hired straight com. HPBR. Bosszhipin 7153 Cydia com. Saurik. Cydia 6925 WeChat com. Tencent. Xin 7520 photos com. Apple. Mobileslideshow 2423 music com.apple.MusicCopy the code
- perform
python3 dump.py Identifier
Identifier
Is the ID of the one above for examplecom.apple.AppStore
4. Change the suffix to zip. Open the executable file and drag it into MachOview
The python command line pip3 show 'listName' shows where the installation package whereis python3 python3 is locatedCopy the code