jrmdev / mitm_relay

Hackish way to intercept and modify non-HTTP protocols through Burp & others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forwarding to Burp/proxy does not happen with -p set

domi007 opened this issue · comments

Since the major update of 2022 the tool works great, however when setting a proxy with -p it does not actually forward traffic to the proxy, because the urlopen call is never told to use a proxy.
I was able to fix this by prefixing the call to mitm_relay.py with the environment variable HTTP_PROXY like this:

HTTP_PROXY=127.0.0.1:8080 python3 mitm_relay -p 127.0.0.1:8080

Nice catch, I will take a look at it shortly. Thank you for reporting.

Fixed in 1b74741.

Thank you.