Description: In Episode 8 and 9, we discussed using scapy to create a WLAN SSID and Probe Request Sniffer. Some viewers asked if it was possible not to use 3rd part libraries like Scapy to do this?
The answer is Yes, we would actually have to do everything Scapy did i.e. read packets from mon0 and then interpret it accordingly. In this video, I will do exactly that with as few lines as I possibly can :)
I've also created a blog post with this which contains the source code for download:
http://hackoftheday.securitytube.net/2013/04/wi-fi-ssid-sniffer-in-12-lines-of.html
If you'd like to learn how to use Python for Pentesting, please do have a look at our course taken by students by 73+ countries as of this writing:
http://securitytube-training.com/certifications/securitytube-python-scripting-expert/
Please do leave your comments behind!
Tags: hod , python , ssid , sniffer , raw sockets ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
BTW guys this is superb for getting the simple hack idea or learning a ton in a very short amount of time.
I am going to be looking at cracking the wep key with one packet.
@Vivek,if you decide to do this in C, good luck! You should give us the time comparison of what it takes in python and then to C for this lol :D.
I for some reason was expecting this link to be in the video notes.
http://hackoftheday.securitytube.net/
cheers!
Thanks!
I've already done a ton a sniffer / injector programming years back. There are also many videos I have put on ST on the same. Was planning to do a blog post on this though :)
I was looking through them a little while ago. It would be defiantly be worth the look. After all, Isn't a ton of stuff like this written anyway in C like Aircrack-ng and Wireshark.
@Vivek , You are doing a really job contributing to the World's knowledge with all the videos and training. Have been following your videos on Raw sniffer Ethernet , WLAN security Megaprimer etc. and was willing to make a Wireless sniffer and injector in C. This is definitely a kickstart for those who donot want to rely on third party libraries and love to code in low level. [though python abstracts all the low level :D ].
I would love it if you make a the same tutorial in C . :)
Best of Luck.