Hands with Python teach you how to find hidden wifi

/1 Introduction/

  Careful partner may know little, small publishing an article before using Python found the hotel hidden pinhole camera, not had time to get on a small partner does not matter, you can poke a look at this article: Use Pyhton with your analysis of hotel pinhole camera . Python today to share with you to find hidden wifi.


/ 2 Background /

  With the progress of life, experience deepened, people emphasis on wireless network security is growing, awareness is also growing, some people say, I put a hidden wireless network, it will certainly be safe, others certainly no way hack my wifi, today this article will take you to find out the level of signal transmission in the presence of wifi, wifi also tell you hide can be found with practical examples.


/ 3 environment configuration /

  ubuntu operating system, python3.6 version, pycharm editor and external wireless card.


/ 4 principles outlined /

  Our routers in a normal state, constantly sent out a signal to tell the terminal of its presence, which signal generally comprises wifi name, MAC address, channel, transmission rate information, catch packets with the ubuntu airodump tool, As shown below.

640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1

  But if you hide wifi, so only the equivalent of these signals in the wifi name to hide, while other information is sent out normally, wifi first line as shown above, ESSID column appears as <length: 0>, on behalf of the wifi hidden.

  But there is one case the information sent by the router will still carry hidden wifi, that is, when a terminal is connected to the wifi, there will be interaction between the two, in order to verify the information with each other or it would have wifi name out, then we can this is a breakthrough, with scapy capture the python function, caught a hidden wifi name.


/ 5 embodied /

  1. Monitoring the vicinity of a wireless signal

  Open the card listening mode with airmon-ng tool

640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1

  Only open listening mode to perform the following operations. Then search for nearby wireless signals airodump-ng tool.

640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1

  After testing, you must first perform this step, otherwise the python program can not receive radio signals, will appear the following results

640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1

  2. The radio signal received near the python module scapy

640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1

  the name of the NIC iface open listening mode, p.show () received radio signals, are displayed as shown below:

640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1

  We just need to determine whether the received signal MAC address, MAC address is hidden wifi whether we want to find the name, and then print out its name.

  This time we can wait for a terminal connected to the hidden wifi, once connected, will put our program will print out the name of the wifi, quickly hands to try it!


/ 6 Conclusion /

  Careful junior partner may know, we posted a small series before using Python found the hotel hidden pinhole camera. Based on the principle of the router in a normal state, it will continue to send out signals out using ubuntu operating system, python3.6 version, pycharm editor and external wireless card, realize the hidden wifi crawl with us in the level of signal transmission learn about the existence of wifi, wifi also tell you hide can be found with practical examples Oh!

  Welcome everyone to actively try to consume boring time at home . This article relates to the code on github uploaded to address, background Reply "hidden wifi " words to get the code .


Guess you like

Origin blog.51cto.com/13389043/2476366