-
Notifications
You must be signed in to change notification settings - Fork 1
rixgit/wifisniff
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A very simple wireless packet sniffer. I wrote it as a code sample for a job talk. At the time, I was playing with Onavo, an iPhone app that compresses data on your iPhone to minimize data plan usage. I was quite shocked that my iPhone was beaconing the SSID 'onavo-disabled.' As a result, I removed the app. Pretty creepy that an app can cause your iPhone to beacon. Requirements: LibPCAP - Version 1.3.0-1 Boost - Version 1.49.0.1 wireless card capable of sniffing in monitor mode optional Valgrind for memory leaks To Run: make monitor WLAN_IF=<wlan_iface> make run Sample Output: rix@rix-EX58-UD5:~/Desktop/cpp_sample$ make monitor sudo ifconfig wlan0 down sudo iwconfig wlan0 mode monitor sudo ifconfig wlan0 up rix@rix-EX58-UD5:~/Desktop/cpp_sample$ make run sudo ./wlanSniff wlan0 wlan0 Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000] Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000] Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000] Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000] Size of SSID: 13 Current SSID [BRAT-Wireless] Size of SSID: 13 Current SSID [BRAT-Wireless] Size of SSID: 13 Current SSID [BRAT-Wireless] Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000] Size of SSID: 0 Current SSID [] Size of SSID: 0 Current SSID [] Size of SSID: 0 Current SSID [] Size of SSID: 0 Current SSID [] Size of SSID: 0 Current SSID [] Size of SSID: 5 Current SSID [Home1] Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000] Size of SSID: 14 Current SSID [onavo-disabled] Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000] Size of SSID: 14 Current SSID [onavo-disabled] Size of SSID: 14 Current SSID [onavo-disabled] Size of SSID: 14 Current SSID [onavo-disabled] Size of SSID: 14 Current SSID [onavo-disabled] Size of SSID: 32 Current SSID [Nintendo_3DS_continuous_scan_000]
About
Simple C++ Wireless Sniffer. Wrote it in approximately 3 hours including debugging and testing.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published