View Single Post
Old 11-06-2004   #1 (permalink)
macromicro
Registered Member
 
Join Date: Nov 2004
Posts: 1
count your IVs (airodump/aircrack)

this is a very bash basic script that i came up with when i started getting too many .cap files and couldn't remember for which SSIDs i had the most IVs.. i'm using it with cygwin for windows but there's nothing in there that shouldn't work with a full linux system. i can add more to the script to extract other kinds of information from the .csv files, if anyone shows any interest. feel free to add whatever.. cheers, kpm

begin:

# countiv is a little hack that counts the number of IVs
# that are captured for a particular WEP-encrypted wireless network.
# Run the script in the directory that has your airodump
# .csv files. The string that you enter to search for
# should be the name of SSID of the wireless hub you're
# trying to crack, or a segment of the SSID that is unique
# to that hub.
#!/usr/bin/bash
echo 'enter a string to search on (case sensitive): '
read string
iv=0
for var in `grep $string *.csv | cut -d',' -f9`
do
iv=`expr $iv + $var`
done
echo "There are $iv IVs for $string"
macromicro is offline   Reply With Quote