usbMuxd
来源:互联网 发布:天书世界阵法进阶数据 编辑:程序博客网 时间:2024/06/03 14:13
前言
参考
usbmuxd-1.0.8
通过USB连接 来使用SSH到iOS设备
/Users/devzkn/Downloads/kevin-software/ios-Reverse_Engineering/usbmuxd-1.0.8 2/python-client
使用python-client 目录下的两个文件即可。
devzkndeMacBook-Pro:python-client devzkn$ python tcprelay.py –help
修改权限
devzkndeMacBook-Pro:python-client devzkn$ ls -ltotal 56-rw-r--r-- 1 devzkn staff 4192 Apr 8 2012 tcprelay.py-rw-r--r-- 1 devzkn staff 7974 Apr 8 2012 usbmux.py-rw-r--r-- 1 devzkn staff 11818 Oct 17 15:52 usbmux.pycdevzkndeMacBook-Pro:python-client devzkn$ chmod +x tcprelay.pydevzkndeMacBook-Pro:python-client devzkn$ ls -ltotal 56-rwxr-xr-x 1 devzkn staff 4192 Apr 8 2012 tcprelay.py-rw-r--r-- 1 devzkn staff 7974 Apr 8 2012 usbmux.py-rw-r--r-- 1 devzkn staff 11818 Oct 17 15:52 usbmux.pyc
设置端口
devzkndeMacBook-Pro:python-client devzkn$ python tcprelay.py -t 22:2222Forwarding local port 2222 to remote port 22Incoming connection to 2222Waiting for devices...Connecting to device <MuxDevice: ID 30 ProdID 0x12a8 Serial 'fa6770acd2e0625c36a6f2a6c402e454bb0fdd96' Location 0x14220000>Connection established, relaying data
control+t 进行连接iPhone
Last login: Tue Oct 17 15:59:22 on ttys005devzkndeMacBook-Pro:python-client devzkn$ ssh root@localhost -p 2222The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established.RSA key fingerprint is SHA256:hdg7rpLlaoVG6lTeurZ8Nn+wdCLhA3NXI1vruiotiKc.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.root@localhost's password: iPhone:~ root#
碰到的问题
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
因为hosts 没有配置
127.0.0.1 localhost
配置config
devzkndeMacBook-Pro:.ssh devzkn$ ssh localhost -p 2222
# Private localhostHost localhostHostName localhostUser root IdentityFile ~/.ssh/id_rsa_Theos125
设置命令别名
devzkndeMacBook-Pro:~ devzkn$ open -e .bash_profile
alias relay22='python ~/Downloads/kevin-software/ios-Reverse_Engineering/usbmuxd-1.0.8\ 2/python-client/tcprelay.py -t 22:2222'
alias nic='/opt/theos/bin/nic.pl'alias sshiphone='ssh localhost -p 2222'alias sshusb='ssh root@localhost -p 2222'
devzkndeMacBook-Pro:~ devzkn$ source .bash_profile
devzkndeMacBook-Pro:~ devzkn$ sshusb
阅读全文
0 0
- usbMuxd
- libimobiledevice之usbmuxd
- iOS逆向工具--usbmuxd使用
- Ituns与iphone的通信协议usbmuxd解析
- Ituns与iphone的通信协议usbmuxd解析
- Itunes与iphone的通信协议usbmuxd解析
- usbmuxd进行ssh连接-iOS逆向工程
- iOS_逆向_使用usbmuxd进行ssh连接
- iOS远程真机之usbmuxd中iproxy的作用
- 什么是usbmuxd? iDevice通过USB与桌面系统通信原理小科普
- iOS远程真机之iTunes与iPhone的通信协议usbmuxd解析
- Python学习笔记:一
- CentOS7 VMware虚拟机克隆 网卡无法启动问题解决
- 14.再论流程控制
- 学习java 临近毕业的迷茫期!
- Jekyll With Liquid
- usbMuxd
- 关于Android圆角ImageView的几种实现方式
- 在matplotlib中显示中文
- Linux 平台误删 home oracle 根目录的解决方法
- Linux练习(3)
- 开源技术有望改变企业存储发展的未来
- linux 学习系列-Linux 安装
- linux上安装mysql
- TensorFlow之保存/恢复模型