SSID Finder
It's good to know how you play with a lower level of Ruby socket and see how powerful it's. As I've experienced, it's a matter of your knowledge about the protocol you're about to play with. I've tried to achieve this mission using Packetfu
gem, but it's not protocol aware, yet. So I fired-up my Wireshark(filter: wlan.fc.type_subtype == 0x08
) and start inspecting the wireless beacon structure and checked how to go even deeper with Ruby socket to lower level socket not just playing with TCP and UDP sockets.
The main task was
Go very low level socket(Layer 2)
Receive every single packet no matter what protocol is it
Receive packets as raw to process it as far as I learn from wireshark
I went through all mentioned references below and also I had a look at /usr/include/linux/if_ether.h
which gave me an idea about ETH_P_ALL
meaning and more. In addition, man socket
was really helpful to me.
Note: The Network card interface must be set in monitoring mode, to do so (using airmon-ng)
References - very useful!
Last updated