Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Module to get info about wireless networks? (py3)

Hey, anyone know of a Python module that can get the ESSID's, channels, ect. of the networks nearby?
You can use a pypi package named wifi.
Code
pip install wifi

You can then use it this way:
Code
from wifi import Cell

cells = Cell.all('wlan0')

Each Cell object has various attributes such as SSID, signal, quality, etc. I will let you explore it by reading the documentation and dir()

🤝
When I want network info, I turn to kismet or airodump. For aircrack-ng suite, there is the pyrcrack package. As I said before, had hit and miss results with it. For kismet, there repos such as https://github.com/PaulMcMillan/kismetclient

You could also simply have aircrack installed and do os.system('airodump {0}'.format('wlan0')) or os.system(iwlist wlan0 scan)

🤝 🤝


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by dalton1337Nov 12, 2020 04:38 AM 1 140 Nov 12, 2020 04:38 AM
Last Post: tsuki
[Python] by chrizatorDec 20, 2017 04:33 PM 1 267 Dec 20, 2017 04:33 PM
Last Post: Not Your Average Orange
[C#] by naeem_meJun 4, 2014 11:23 AM 2 423 Jun 4, 2014 11:23 AM
Last Post: naeem_me