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
Post a Comment
Please feel free to sign up and join the discussion or start one