Forward local connections to local BURP PROXY / MITM PROXY

blaszczakm.blogspot.com 3 lat temu


0)

sysctl -w net.ipv4.ip_forward=1

sysctl -w net.ipv6.conf.all.forwarding=1

sysctl -w net.ipv4.conf.all.send_redirects=0

1)

iptables -t nat -A OUTPUT -p tcp -m owner ! --uid-owner mitmproxyuser -d dst_ip -j REDIRECT --to-port 8080

2) useradd --create-home mitmproxyuser

3) xhost +

4) sudo -u mitmproxyuser -H bash -c "export DISPLAY=:0.0;java -jar /usr/bin/burpsuite"

or

4) sudo -u mitmproxyuser -H bash -c "export DISPLAY=:0.0;mitmproxy"


Idź do oryginalnego materiału