Windows下利用Charles监控iPhone应用网络访问

最近对某些iPhone应用心存好奇,想通过网络抓包来确定它的数据获取方式,由于此前做过PC端的网络抓包,装了Charles抓包工具,不想再安装其他工具,但发现网路上比较多的是OSX系统下应用,所以结合自己的使用,分享这么一个简单的方法给大家。

Charles可实现远程代理,对于跨平台http抓包自然也可以实现。对于Charles抓包iPhone应用,Charles的介绍

To use Charles as your HTTP proxy on your iPhone you must manually configure the HTTP Proxy settings on your WiFi network in your iPhone’s Settings.

Go to the Settings app, tap Wi-Fi, find the network you are connected to and then tap the blue disclosure arrow to configure the network. Scroll down to the HTTP Proxy setting, tap Manual. Enter the IP address of your computer running Charles in the Server field, and the port Charles is running on in the Port field (usually 8888). Leave Authentication set to Off.

All of your web traffic from your iPhone will now be sent via Charles. You should see a prompt in Charles when you first make a connection from the iPhone, asking you to allow the traffic.

Remember to disable the HTTP Proxy in your Settings when you stop using Charles, otherwise you’ll get confusing network failures in your applications!

简单来说,就是在同网络的情况下,通过手动设置wifi代理服务器,并设置监听端口,即可在Charles上看到iPhone应用的Http网络访问情况。注意服务器处填写的是,Charles所在的PC的网络IP地址,监听端口填写“8888”(Charles默认监听8888端口),然后在iPhone上打开任意需要访问网络的应用,Charles便会跳出确认弹窗,是否授权远程代理,点击“allow”允许即可。

 

 

经过设置后,所有IOS上的http请求都会被Charles抓包,所以要是你的越狱手机装了小偷程序,也可以轻而易举的抓出来啦!

 

分享到

6条评论

  1. 新用户415870说道:

    更的好慢,我有生之年能看完吗?

  2. 新用户415870说道:

    更的好慢,我有生之年能看完吗?

  3. 新用户415870说道:

    更的好慢,我有生之年能看完吗?

  4. 新用户415870说道:

    更的好慢,我有生之年能看完吗?

  5. 新用户415870说道:

    更的好慢,我有生之年能看完吗?

  6. Informative and precise

    Its difficult to find informative and precise information but here I found

评论已关闭。