0

I am trying to make a proxy in Python that listens to a specific port and is set up on my computer ip (basically like burp suite, or Charles) I need this proxy to 'watch' for one specific URL which I know and I need it to automatically change the parameters and then pass the URL with the changed parameters

EXAMPLE:

Before: www.google.com?debug=false

After: www.google.com?debug=true

I was thinking of using the MITM proxy module. I think the URL will be HTTPS so I will need to generate a certificate correct?

Any help or insight will be valuable!

Thank you!

4

1 に答える 1

0

Mitmproxy は SSL/TLS をインターセプトできますが、mitmproxy CA 証明書 ( http://docs.mitmproxy.org/en/latest/certinstall.html ) をインストールする必要があります。

URL の一部を自動的に変更するには、mitmproxy の--replaceオプションまたはカスタムインライン スクリプトを使用できます。

于 2016-05-31T22:06:19.540 に答える