import paramiko ImportError: No module name...">

frida-ios-dump File "./dump.py", line 19, in import paramiko ImportError: No module name...

安装frida-ios-dump

File "./dump.py", line 19, in import paramiko ImportError: No module named paramiko 

 $ sudo pip2.7 install paramiko

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

Collecting paramiko

  Downloading https://files.pythonhosted.org/packages/4b/80/74dace9e48b0ef923633dfb5e48798f58a168e4734bca8ecfaf839ba051a/paramiko-2.6.0-py2.py3-none-any.whl (199kB)

     |████████████████████████████████| 204kB 32kB/s 

Collecting bcrypt>=3.1.3 (from paramiko)

  Downloading https://files.pythonhosted.org/packages/a0/dc/9810f8233a1263b11f2f6839f1840cc01a7c0c5d0d5e6cabbe270ddca4d3/bcrypt-3.1.7-cp27-cp27m-macosx_10_6_intel.whl (53kB)

     |████████████████████████████████| 61kB 104kB/s 

Collecting pynacl>=1.0.1 (from paramiko)

  Downloading https://files.pythonhosted.org/packages/51/83/2db5b919bf9848fe25d301225a16faabc378419e7eaf00da0b7d200fe801/PyNaCl-1.3.0-cp27-cp27m-macosx_10_6_intel.whl (283kB)

     |████████████████████████████████| 286kB 24kB/s 

Collecting cryptography>=2.5 (from paramiko)

  Downloading https://files.pythonhosted.org/packages/e2/bf/3b641820c561aedde134e88528ba68dffe41ed238899fab7f7ef20118aaf/cryptography-2.7-cp27-cp27m-macosx_10_6_intel.whl (1.6MB)

     |████████████████████████████████| 1.6MB 93kB/s 

Requirement already satisfied: six>=1.4.1 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from bcrypt>=3.1.3->paramiko) (1.4.1)

Collecting cffi>=1.1 (from bcrypt>=3.1.3->paramiko)

  Downloading https://files.pythonhosted.org/packages/16/f6/46a3dece43541b2cbf3776ec2299e370a2408d9380958401cacb6d101853/cffi-1.12.3-cp27-cp27m-macosx_10_6_intel.whl (245kB)

     |████████████████████████████████| 256kB 56kB/s 

Collecting enum34; python_version < "3" (from cryptography>=2.5->paramiko)

  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl

Requirement already satisfied: asn1crypto>=0.21.0 in /Library/Python/2.7/site-packages (from cryptography>=2.5->paramiko) (0.24.0)

Collecting ipaddress; python_version < "3" (from cryptography>=2.5->paramiko)

  Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl

Collecting pycparser (from cffi>=1.1->bcrypt>=3.1.3->paramiko)

Installing collected packages: pycparser, cffi, bcrypt, pynacl, enum34, ipaddress, cryptography, paramiko

Successfully installed bcrypt-3.1.7 cffi-1.12.3 cryptography-2.7 enum34-1.1.6 ipaddress-1.0.22 paramiko-2.6.0 pycparser-2.19 pynacl-1.3.0

Traceback (most recent call last):

  File "/opt/dump/frida-ios-dump/dump.py", line 21, in

    from scp import SCPClient

ImportError: No module named scp

$ sudo pip2.7 install scp

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

Collecting scp

  Downloading https://files.pythonhosted.org/packages/4d/7a/3d76dc5ad8deea79642f50a572e1c057cb27e8b427f83781a2c05ce4e5b6/scp-0.13.2-py2.py3-none-any.whl

Requirement already satisfied: paramiko in /Library/Python/2.7/site-packages (from scp) (2.6.0)

Requirement already satisfied: bcrypt>=3.1.3 in /Library/Python/2.7/site-packages (from paramiko->scp) (3.1.7)

Requirement already satisfied: pynacl>=1.0.1 in /Library/Python/2.7/site-packages (from paramiko->scp) (1.3.0)

Requirement already satisfied: cryptography>=2.5 in /Library/Python/2.7/site-packages (from paramiko->scp) (2.7)

Requirement already satisfied: six>=1.4.1 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from bcrypt>=3.1.3->paramiko->scp) (1.4.1)

Requirement already satisfied: cffi>=1.1 in /Library/Python/2.7/site-packages (from bcrypt>=3.1.3->paramiko->scp) (1.12.3)

Requirement already satisfied: enum34; python_version < "3" in /Library/Python/2.7/site-packages (from cryptography>=2.5->paramiko->scp) (1.1.6)

Requirement already satisfied: asn1crypto>=0.21.0 in /Library/Python/2.7/site-packages (from cryptography>=2.5->paramiko->scp) (0.24.0)

Requirement already satisfied: ipaddress; python_version < "3" in /Library/Python/2.7/site-packages (from cryptography>=2.5->paramiko->scp) (1.0.22)

Requirement already satisfied: pycparser in /Library/Python/2.7/site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko->scp) (2.19)

Installing collected packages: scp

Successfully installed scp-0.13.2

Traceback (most recent call last):

  File "/opt/dump/frida-ios-dump/dump.py", line 22, in

    from tqdm import tqdm

ImportError: No module named tqdm

$ sudo pip2.7 install tqdm

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

Collecting tqdm

  Downloading https://files.pythonhosted.org/packages/02/56/60a5b1c2e634d8e4ff89c7bab47645604e19658f448050a21facffd43796/tqdm-4.33.0-py2.py3-none-any.whl (50kB)

     |████████████████████████████████| 51kB 24kB/s 

Installing collected packages: tqdm

Successfully installed tqdm-4.33.0

$ dump.py -l

PID  Name          Identifier                           

 App Store    com.apple.AppStore                   

 Cydia           com.saurik.Cydia         


开始砸壳

iOS 设备,USB 连接电脑。

打开Mac终端,输入iproxy 2222 22把当前连接设备的22端口(SSH端口),映射到电脑的2222端口。

新建终端页面,输入ssh -p 2222 [email protected] 连接iOS设备。

$ dump.py -l 查看需要砸壳的应用列表

$ dump.py 应用名 或者 bundle id    进行砸壳

$ dump.py com.chii.MyWeather

你可能感兴趣的:(frida-ios-dump File "./dump.py", line 19, in import paramiko ImportError: No module name...)