Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to find Hidden WiFi with Python

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article shows you how to use Python to discover hidden WiFi. The content is concise and easy to understand. It will definitely make your eyes shine. I hope you can gain something through the detailed introduction of this article.

I. preface

Today I share with you the use of Python to discover hidden wifi.

II. background introduction

With the progress of life, the deepening of experience, people pay more and more attention to wireless network security, and the awareness of prevention is getting stronger and stronger. Some people say that if I hide the wireless network, it will definitely be safe. Others will definitely not be able to crack my wifi. Today, this article will take you to understand the existence of wifi at the signal emission level.

III. environment configuration

Ubuntu operating system, python version 3.6, pycharm editor and external wireless adapter.

IV. Principle brief

Our router in the normal state, will continue to send out signals to tell the terminal its existence, these signals generally contain wifi name, MAC address, channel, transmission rate and other information, with ubuntu airodump tool to grab a packet, as shown in the figure below.

However, if you hide the wifi, it is only equivalent to hiding the wifi name in these signals, and other information is still sent normally, such as the wifi in the first line of the above figure, ESSID column is displayed as, indicating that the wifi is hidden.

However, there is a case where the information sent by the router will still carry hidden wifi, that is, when there is a terminal connected to the wifi, there will be an interaction process between the two, in order to verify each other's information or bring out the wifi name, then we can take this as a breakthrough, use Python's scapy function to grab the packet and catch a hidden wifi name.

v. specific implementation

1. Monitoring nearby wireless signals

Open network card listening mode with airmon-ng tool

The following operations can only be performed if listening mode is turned on. Then use the airodump-ng tool to search for nearby wireless signals.

After testing, this step must be performed first, otherwise the python program cannot receive wireless signals, and the following results will appear.

2. Use python's scapy module to receive nearby wireless signals

iface is the name of the network card after the monitoring mode is turned on, p.show() will display the received wireless signal, as shown in the following figure:

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

At this time we can wait for a terminal to connect to the hidden wifi, once connected, our program will print out the wifi name, try it quickly!

vi. conclusion

Careful friends may know that Xiaobian previously published an article using Python to discover hidden pinhole cameras in hotels. Based on the router in the normal state, will continue to send out the principle of the signal, using ubuntu operating system, python version 3.6, pycharm editor and external wireless network card, to achieve hidden wifi capture, with everyone in the signal emission level to understand the existence of wifi, with practical examples to tell you hidden wifi can also be discovered Oh!

The above content is how to use Python to discover hidden WiFi. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report