In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
How to use Python to make wifi key, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
The most anxious thing for contemporary young people is that they don't have a mobile phone in their pocket and have no Internet. I don't touch my phone for a while, I feel uncomfortable and anxious! I'm afraid it's more anxious to have no net. I have a headache. I just moved to a new house these days, and the Internet hasn't been done yet. I was so anxious during the two days of the weekend, and then I thought, without wifi, it can still be a problem in front of me, the great god of Python. No one doesn't have the Internet. I was born in Python without an Internet bar. I come to rub the net, unnoticed by the net.
Python, which claims to do everything except giving birth, teaches you how to use python to make wifi keys.
The development environment is ready to:
Pywifi module (important)
Computer with wireless network card
Linux system
Weak password dictionary
First of all, we need to know any wifi connection records on this computer, this step is very important, because to initialize all the data in wifi, everything after that will not be possible if not initialized.
Then this code is a bit creepy if it runs under the windows system, because there is no WLAN_SECURITY_ATTRIBUTES encapsulation when calling WifiAPI, so here I run directly under the Linux system.
Three modules have been imported:
Configure the scanner
The main purpose of the scanner is to scan the hot spots around, and the setting time is about 15 seconds, which can be set by yourself, but considering the distance of the hot spot signal, it doesn't make sense to scan for a long time, and it doesn't make sense to crack the hot spot with signal difference successfully.
Then scan the surrounding hot spots:
Then put the scanned process data into the library, so as to prevent repeated scanning hotspots, and the display is more intuitive after entering the library.
Then prepare the 11 weak passwords of this test, that is, the prepared wifi password, in fact, this has a password library on the Internet, just copy the text to this weak password script.
Then there is the result of running out:
WIFIID: the ID number of hot spots, that is, the number of hot spots, plus 1 for each run
SSID OR BSSID: name or mac address of the hotspot
N: connection status of the hotspot
Time: current time spent
Signal: signal strength of hot spots. The smaller the value, the better.
KEYNUM: test the ID of the password. The password will be + 1 for each run.
KEY: current test password
In fact, when you see this page, the wifi password has already come out, which is the corresponding value of the KEY. Just find the corresponding wifi and enter the password link.
This is the answer to the question about how to use Python to make wifi keys. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.