现在的位置: 首页 > 综合 > 正文

ios 真机抓取数据包

2013年08月03日 ⁄ 综合 ⁄ 共 880字 ⁄ 字号 评论关闭

1.在cydia中安装搜索并安装openssh
2.打开termail,保证台式机和设备在同一个局域网,使用ssh登陆,
如ssh root@10.10.56.191
termail显示
The authenticity of host '10.10.56.191 (10.10.56.191)' can't be established.
RSA key fingerprint is 75:e7:85:a9:6d:31:41:69:c2:f7:88:ce:a6:af:dc:8b.
Are you sure you want to continue connecting (yes/no)? 
输入yes继续
Warning: Permanently added '10.10.56.191' (RSA) to the list of known hosts.
root@10.10.56.191's password: 
输入默认密码 alpine
进入成功,输入如 ls,可以显示当前的文件夹内容

openssh 参考链接:http://www.52cydia.com/cydia-course/72.html

这里可以执行的命令很少,如果想执行ping,curl等,都提示不存在,
可以参考一下链接,在cydia中安装更多的包,能够支持更多的命令

http://stefan321.iteye.com/blog/1674623

问题 :记住在使用Cydia的时候,要选择“Developer”(开发者),如果一开始选择的是“User”,可以进入Cydia->Sources->Settings->Developer进行修改,否则搜索不到这些软件包。 

Tcpdump nohup tcpdump -s 0 -w test.pcap port 80 记录并存在本地的文件中
tcpdump更多的命令参考以下

http://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.html

另外还有一个图文并茂的抓包过程,参考http://blog.csdn.net/fengsh998/article/details/8677556

抱歉!评论已关闭.