Demo
From charlesreid1
Wireless Networks
We will begin by gathering data about wireless networks around us.
This can be done with a number of different programs. I'll use Aircrack's airodump-ng utility.
Start by putting the wireless card in monitor mode:
iwconfig # without wireless card pluged in iwconfig # with wireless card plugged in ifconfig wlan1 down ifconfig wlan1 up
Now begin monitoring, and dump information from the wireless card:
airmon-ng start wlan1 airodump-ng wlan1 -w output_file
Now you can open output_file.csv with a script or with a spreadsheet viewer.
Database
In one window, running a script that inserts a random record every 2 seconds
In another window, running a script that queries the database and shows its contents