Proxifer+Fiddler抓包
C/S程序抓包需要借助Proxifer
Proxifier是一款功能非常强大的socks5客户端,可以让不支持通过代理服务器工作的网络程序能通过HTTPS或SOCKS代理或代理链。
由于一般的C/S客户端不能设置代理,所以我们FIddler检测不到数据,我们可以通过Proxifer来实现把所有的请求抓发给Fiddler,这样我们就可以在Fiddler分析客户端请求。
Proxifer设置:
设置很简单,下图所示,两步就OK
a).设置代理服务器和Fiddler代理设置匹配
b).设置代理规则
默认的Default,我们可以不管
点击添加
名称:Fiddler.exe
是否有效:是
选择Fiddler的应用程序文件目录,选择后,确认
目标主机:我们本地的Fiddler设置的代理,可以任意
目标端口:任意
动作:Direct
到这里就设置完毕了,我们可以打开腾讯视频视频客户端,在Fiddler和Proxifer看下数据
4.电脑上所有的C/S客户端都可以抓到包
这时候Proxifer打开的时候浏览器会链接不了网络,可以通过设置Fiddler方式,连接网络,添加谷歌浏览器执行程序文件,确认后,可以上网
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!