Closed nuroo closed 9 years ago
Codes lines 1620-1647
clear
./airmondown.sh #
xterm -geometry 0x0 -e "iwconfig |grep "Mode:Monitor" >> /tmp/mon.txt" & wait airmon-ng |sed 's/^/* /' # echo "-----------------------------------------------" echo "" echo -n " Select Interface to Spoof: " read -e IFACE echo "" echo "-----------------------------------------------" echo "" # # wait
ifconfig $IFACE down
MACC=$(macchanger -A $IFACE | awk ' {print $3 }' | tail -1) ifconfig $IFACE up # #
airmon-ng start $IFACE MON=mon RANDMAC=$IFACE$MON ifconfig $RANDMAC down macchanger -m $MACC $RANDMAC ifconfig $RANDMAC up
echo "Monitor Iterface is now spoofed to >>" $RANDMAC $MACC
my first little script. baby steps.
Not same wifi manufacturer as original, in r107. fixed
use "macchanger -A wlan1" instead plz
-A argument uses known random manufacturer. -r total made up mac address