Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Router with Linux and Python
- I have a Buffalo WZR-HP-AG300H which I really like
- I used OpenWRT version r29484
- Sufficient space for all the software (you may need an external drive/share mounted)
- My setup uses 11MB for OS, Python, and sslstrip
- Sufficient RAM on your router
- My router has 128MB. Probably need at least 16MB
- sslstrip python program by Moxie
- I had to use version 0.8 due to bugs in 0.9
- I didn't use the OpenWRT repository version because it was only version 0.6
- iptables
- For OpenWRT I installed all the iptables packages (which includes modules) and the kernel (kmod-ipt) modules
- A package search on "ipt" should get you them all
- Extract the sslstrip tarball to any directory you like
- I didn't separate it into the system or run the installer. I just used the stand-alone version.
- Start it with python sslstrip
- Just the defaults. Use -h for other choices
- Set your iptables to redirect all HTTP (port 80) traffic to sslstrip
- iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:10000
- I tried using -j REDIRECT, but my version of OpenWRT didn't have it compiled. The above is just the long form of it anyway.
- Bring up the login page for a site like Facebook
- Enter in login credentials (fake if you want)
- Look in the sslstrip.log file for the credentials
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement