First remove the old kismet
Now lets grab the new oneapt-get --purge remove kismet
# press y
apt-get clean
cd /pentest/wireless/
wget hxxp://www.kismetwireless.net/code/kismet-2009-05-RC2.tar.gz
# Change the above line to http
tar -xzvf kismet-2009-05-RC2.tar.gz
rm kismet-2009-05-RC2.tar.gz
cd /pentest/wireless/kisme*
./configure --disable-setuid
make dep
make
make install
Plug in your gps and wait about 60 seconds before doing this command
Now lets open kismet from bash in a new window and follow the directions. "man kismet for more help" but basically start the server and remember to put in your interface.gpsd -N -n -D 3 /dev/ttyUSB0
After we have our data lets see the results. For that we are going to use giskismet.
Download and extract
We need a few packages first.wget -O giskismet-0.02.tar.gz \
"http://my-trac.assembla.com/giskismet/browser/tags/giskismet-0.02.tar.gz?format=raw"
tar -xzvf giskismet-0.02.tar.gz
rm giskismet-0.02.tar.gz
Do the installapt-get install \
libxml-libxml-perl \
libdbi-perl \
libdbd-sqlite3-perl
Before we map our data lets get google earth from HEREcd giskismet-0.02
perl Makefile.PL
make
make install
Follow the directions "sh GoogleEarthLinux.bin" but when it asks for the binary path make sure you put
/usr/bin
Now to map the kismet data we can just issue these commands
Or you can use this shitty little script i made to do it faster. Just save it as quick.sh and then "bash quick.sh"giskismet -x wardrive.netxml
giskismet -q "select * from wireless" -o output.kml
One more thing from google earth the satellite coverage is absolute shit so i found this wonderful plug-in that will allow switching from G-Earth imagery to Maps Live imagery which happens to be much better for my area.#start
function chanssid {
giskismet -x "$FILENAME" --channel "$CHANNEL" --essid "$SSID"
giskismet -q "select * from wireless" -o "$ONAME"
}
function channel {
giskismet -x "$FILENAME" --channel "$CHANNEL"
giskismet -q "select * from wireless" -o "$ONAME"
}
function ssid {
giskismet -x "$FILENAME" --essid "$SSID"
giskismet -q "select * from wireless" -o "$ONAME"
}
function blank {
giskismet -x "$FILENAME"
giskismet -q "select * from wireless" -o "$ONAME"
}
rm wireless.dbl
clear
echo Enter your .netxml file name with extension
read FILENAME
chmod 755 "$FILENAME"
clear
echo Do you wish to filter by channel y/n ?
read YNC
clear
if [ "$YNC" = "y" ]
then
echo Enter the channel you wish to display 3, 6 etc..
read CHANNEL
clear
fi
echo Do you want to filter by SSID name y/n?
read YNS
clear
if [ "$YNS" = "y" ]
then
echo Enter the SSID name
echo For more than one, use, a, comma
read SSID
clear
fi
echo Type the outpu file name
read ONAME
clear
if [ "$YNC" = "$YNS" ]
then
chanssid
elif [ "$YNC" = "y" ]
then
channel
elif [ "$YNS" = "y" ]
then
ssid
else
blank
fi
echo Your done just import $ONAME into G-Earth
#end
http://www.mgmaps.com/kml/





