Configuring Burpsuite with mitmweb / mitmproxy

 


Configuring Burp with mitmproxy /mitmweb


as root create:  bu.py

pip3 install mitmproxy # prereq

bu.py 

# forward_to_burp.py

from mitmproxy import http


def request(flow: http.HTTPFlow) -> None:

    # Forward everything to Burp (localhost:8080)

    flow.request.host = "127.0.0.1"

    flow.request.port = 8080


 

Save file

Assuming burp is listening on standard 8080.

as root run:

mitmweb --mode regular --listen-host 127.0.0.1 --listen-port 8888 -s ./bu.py 


making sure bu.py is in same path.







Burp:







Comments

Popular posts from this blog

Repost from LI - New WAF Bypass Discovered - Akamai & Cloudflare

Analyze Object - Attempt prototype pollution - console / inspect .js code

Optimizing the TCP and Kernel of [Ubuntu/kali/Debian]? Here is some optimizations for you (I did not write them / Props to the original author)