HTTP debugging proxy for Linux and Mac [closed]

2019-01-21 10:30发布

I use the Fiddler proxy to debug all kinds of HTTP issues on Windows. It's great for inspecting headers and responses across multiple pages.

Is there a good HTTP debugging proxy for Mac and Linux? I found Charles, but it's $50 once the trial runs out and it crashed on me. I could use Wireshark, but it's a pain.

17条回答
乱世女痞
2楼-- · 2019-01-21 11:24

Mitmproxy is a useful command-line proxy tool.

It has also an user UI.

  • From the command line run mitmweb
  • Set up your app to use a proxy server and point it at http://127.0.0.1:8080
  • Go to http://127.0.0.1:8081 to see all the requests in the "flow" tab. Very similar to the Google Chrome Console "Network" tab.
查看更多
可以哭但决不认输i
3楼-- · 2019-01-21 11:26

You can also try Proxy.app by Websecurify. It is 100% native, available from the Mac App Store.

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-01-21 11:28

Wireshark won't help you if you have to debug HTTPS requests (unless you can get the encryption keys for both endpoints - see the Wireshark site for details). Firebug and Tamper Data are getting close, but for thorough analysis, I sometimes like to save a recorded session. I'd recommend giving the OWASP Zed Attack Proxy (the successor of Parosproxy, which is no longer actively developed) a try. It is a Java application serving as a http(s) proxy; it provides quite a lot of features and proved to be very helpful to me in the past.

ZAP offers an easy autoconfiguration of Firefox. Bear in mind to do that on a separate (meaning: not for other browsing activities) Firefox profile: In order to intercept https, ZAP will install a new SSL certificate.

查看更多
太酷不给撩
5楼-- · 2019-01-21 11:30

Charles is $50 as you know, but I find it to be completely worth the money. A ton of features, including SSL support.

FWIW, I've never had it crash on me.

查看更多
聊天终结者
6楼-- · 2019-01-21 11:30

You can use chrome: chrome://net-internals/#events

查看更多
登录 后发表回答