???????????????????????????Cydia????????????(http://apt.178.com)??????????????£?????Cydia?????Manage???????Source???????????????Edit????????????Add???????????????????????????????????????????б???????????????Cydia????Manage>?????????2???ios5Cydia???????????????????????????????ν????л????????????????????Cydia?????????

????2.OpenSSH???

????OpenSSH??????????????????????????????????????????????????е????????????????????????PC??????????????????????Cydia?????????“????”?????????OpenSSH?????????棬?????????Install??????????????

????3. MobileTerminal???

????MobileTerminal???????iOS?豸????????????????????????????????е????ν??????iOS?豸?????????в?????????Openssh????Telnet??????????????????app????????Cydia????Manage>?????????2??????????????MobileTerminal?????а???????????

????4.tcpdump???

???????91???????(IOS??)???????????tcpdump??????????http://apt.saurik.com/debs/?粻???????????????????????????е?tcp?????????????????

??????????????????tcpdump???libpcap??????譎?libpcap???粻???????????????????????????е?lib?????????????????

????5.ios?豸??tcpdump?????

?????????Щios?豸??iphone??ipad??????????WiFi??????????2G/3G???????tcpdump???????????????????WiFi??????????en0????2G/3G??????????pdp_ip0??????????????????pdp_ip0???????????

????WiFi?????tcpdump -i en0 -X -s0 -wdata.pcap

????2G/3G?????tcpdump -i pdp_ip0 -X -s0 -w data.pcap??tcpdump-X -s0 -w data.pcap

?????塢Q&A

????(??)???SSH????ios?豸????“ServerUnexpectedly Closed Network Connection”??????????

????A??????????°??OpenSSH????????????

????(??)?????????tcp???????lib??????????tcpdump?????????????????

????A???п????????libcrypto.0.9.8.dylib??????????????ios?豸usr/lib·????copy??????????г????

?????????iOS?????????У????????????????????????????????????????????????????????????????????????????????????????????????????????????

????1. ???繲?? + ????????????

???????????

????????????ios?豸?????????????????mac???????????????????????????????????з???(??????????Wireshark????MAC????????????Paros????)??

??????????MAC????Paros??????????????????????????

????????????

????1) ?????MAC???????????????airport???iOS?豸??????wifi????

???????????????????????????internet??????????“??????·????”??????????“????????????????”???airPort??

????2) ??paros ??????paros????????paros??????(http://www.parosproxy.org/)

??????paros??tools-??options?????local proxy????Address ??????AirPort??ip???????????8080????????????????????磬???????AirPort?????????AirPort?????169.254.69.225????????????????????Address???С?

????3) ???ios?豸????mac????????????磺??iOS?豸?У????????-?????-??????-??wifi?????????????磬???????????????????????е?http????????????????????paros??????????ip?????

????4) ??????????paros?????iOS?豸?????磬?????Safiri????paros?м???????????????????

????2. tcpdump???? + ????????????

???????????

????tcpdump????????????????????????У??????????????豸????????????????????в?????·?????????????????????????????????????????????д??????????????????????????????????????????????????????????UltraEdit??