Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to sniff iphone network data

I have recently been having problems with my app and I need to view the data being sent to and from my iPhone. I have read about Paros and downloaded it, but I don't know what information I need to put into paros and my iPhone to make it work. I am running a normal windows 7 installation with no current proxy server and my ISP is telus with the fiber optics package. So what do I need to install and where do I find all of the information needed to read the data being sent over the network by my iPhone using paros?

like image 516
user0 Avatar asked Jan 09 '11 23:01

user0


1 Answers

I do this a lot. I do it with a MacBook, but I'm sure you can use a similar technique to do it from windows:

  1. Connect your PC to a hard-wired ethernet to the outside world.

  2. Set your PC up for internet sharing. (This is the big thing that will work differently between the Mac and PC). Set up to share your Hard-wired Connection with people from your WiFi Connection. Your computer will then become a wireless access point.

  3. Connect your iPhone to use your PC as it's WiFi network

  4. Download and run Wireshark (Open Source - Publicly available) on your PC. Wireshark will sniff and log the network traffic.

You can then obviously set up whatever rules your would like to limit your network trace to only your iPhone.

Like I said - I do this all the time with a MacBook and it's easy and powerful!

like image 185
Brad Avatar answered Sep 20 '22 05:09

Brad