[GRLUG] Wireless scanning scripts
Olding, Jim
JOlding at gts.gaineycorp.com
Mon Dec 11 13:02:10 EST 2006
Have you looked into trying kismet at all? You can always log GPS to a
separate file, and disable the passive scanning feature. It can output
to CSV and XML also. It'd probably be more effective than looping over
iwlist constantly. Also, what happens if someone sets their SSID to =
or === (I can't remember if this is allowed)?
-----Original Message-----
From: grlug-bounces at grlug.org [mailto:grlug-bounces at grlug.org] On Behalf
Of Michael Mol
Sent: Monday, December 11, 2006 11:49 AM
To: grlug at grlug.org
Subject: [GRLUG] Wireless scanning scripts
wirelesswatch.sh ... (All writes to files are appendations, not
overwrites. Also, anything written to a file is also written to the
screen.)
1. Grabs a timestamp and appends it to a file (date) 2. Filters 10 gpsd
packets for GLL packets (gpspipe) 2a. Appends those to wlgps.txt, and
prints the data to the screen (tee) 3. Creates a separator (echo) 3a.
Appends the separator to wlwatch.txt, and prints it to the screen (tee)
4. Scans ath0 for wireless networks (iwlist) 4a Appends the results to
wlwatch.txt, and prints them to the screen (tee) 5. Creates a separator
(echo) 5a. Appends the separator to wlwatch.txt, and prints it to the
screen (tee) 6. Scans eth2 for wireless networks (iwlist) 6a. Appends
the results to wlwatch.txt, and prints them to the screen (tee) 7.
Creates a third, longer separator (echo) 7a. Appends the separator to
wlwatch.txt, and prints it to the screen (tee) 8. Runs wlcount.sh
More information about the grlug
mailing list