转载自:https://www.jianshu.com/p/75f6d0f54d61
安装OpenSSH报错
- 尝试重启手机重新安装
- 将手机语言设置为英文状态
- 将手机设置为飞行模式,用wifi下载(我的解决方法)
经过上面几步iOS 8.4越狱成功下载OpenSSH
然后在 cydia中安装network Command
运行ifconfig -l结果如下
ifconfig -l lo0 pdp_ip0 pdp_ip1 pdp_ip2 pdp_ip3 ap1 en0 en1 awdl0 wodeshouji:~ root# ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 pdp_ip0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 pdp_ip1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 pdp_ip2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 pdp_ip3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 ap1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether aa:88:08:47:f0:e7 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.100.200.106 netmask 0xffffff00 broadcast 192.100.200.255 ether a8:88:08:47:f0:e7 en1: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500 ether aa:88:08:47:f1:7f awdl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1452 ether 66:1a:ae:c0:52:0b
en0是本地网卡,抓包命令
tcpdump -X -s0 -i en0 -w /tmp/dump.pcap
然后把dump.pcap下载回来放到wireshark分析