支持 HTTPS 的中间人 (MITM) 代理
我们现在似乎有点兜圈子。我们正在寻找简单的轻量级代理,最好是基于 ruby 的代理,使我们能够执行以下操作。
- 代理浏览器和 Web 应用程序之间的 HTTPS 请求。例如 GMail
- 拦截并修改请求/响应 - 中间人修改 动态
- 生成 SSL 证书(或者可能是我们预先配置的)以在代理和浏览器之间使用
使用 Ruby,我们已经尝试过 em-proxy 和 歌利亚,但我认为这些不太合适。
任何建议将不胜感激。
最好的问候,
卡尔斯基。
We seem to be going round in circles a bit at the moment. We are looking for simple light weight, preferably ruby based proxy that enables us to do the following.
- Proxy HTTPS requests between a browser and a Web app. e.g. GMail
- Intercept and modify the request/responses - Man in the Middle modification
- Generate on the fly SSL certs (or maybe us pre-configured) for use between the proxy and the browser
Using Ruby, we've experimented with em-proxy and Goliath but I don't think these are quite the right fit.
Any suggestions would be very much appreciated.
Best Regards,
Carlskii.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
还有用Python编写的mitmproxy。
There is also mitmproxy written in Python.
Fiddler 可以做到这一点,尽管它不是基于 Ruby 的。
Fiddler can do this, although it's not Ruby-based.
还有漂亮的多平台 http://www.charlesproxy.com/,支持 SSL。它是 java/native 代码。它是闭源付费应用程序,可免费试用。
There is also nice looking multiplatform http://www.charlesproxy.com/ with SSL support. It's in java/native code. It's closed-source paid app with free trail.
您可以尝试 https://github.com/odcinek/mallory 它是较新的,但还不完全成熟正如前面提到的其他语言代理一样,这个代理是用 ruby 编写的。
You can try https://github.com/odcinek/mallory it is more recent though not as fully mature as the previously mentioned other language proxies, this one however IS written in ruby.
另一种选择。
Burp 代理,免费增值,用 java 编写的闭源代码。
Another alternative.
Burp Proxy, freemium, closed source written in java.
https://github.com/lightbody/browsermob-proxy 开源、知名的解决方案用 java 编写,可以使用 REST API 或 Java API 即时配置
https://github.com/lightbody/browsermob-proxy open-source, well-known solution written in java, can be configured on-the-fly using REST API or Java API