a CLI Wi-Fi scanner tool for Windows
Project description
lswifi: a CLI-centric Wi-Fi scanning tool for Windows
lswifi
is a CLI-centric Wi-Fi scanning tool for Windows that provides more information about nearby Wi-Fi networks than built-in tools (e.g. netsh show wlan networks
). Examples include Received Signal Strength Indicator (RSSI), showing security AKMs and ciphers, parsing 802.11 feature set, and more. With capable Wi-Fi adapters, lswifi can detect and show networks in 2.4 GHz, 5 GHz, and 6 GHz bands.
Installation
> python -m pip install lswifi
Usage
Output nearby Wi-Fi networks:
> lswifi
Output nearby Wi-Fi networks that have a detected signal of -60 dBm
or stronger:
> lswifi -t -60
Output only networks that match my_ssid
:
> lswifi -include my_ssid
Output verbose information (including Information Elements) for BSSID 00:00:00:00:00:00
:
> lswifi -ies 00:00:00:00:00:00
Print help information:
> lswifi -h
Upgrading
Here is how to upgrade lswifi
using pip3
when there is a new version available:
PS C:\Users\josh> where.exe pip3
C:\Users\josh\AppData\Local\Programs\Python\Python310\Scripts\pip3.exe
PS C:\Users\josh> pip3 install --upgrade lswifi
Check the version installed:
PS C:\Users\josh> lswifi -v
FAQs
- What OSes and Python versions are required to run
lswifi
?- Windows 10+ and Python 3.7 are the minimum versions I'm willing to support (subject to change).
- Can you get add information from radio tap headers?
- Currently there is not a way to get radio tap headers from Native Wifi wlanapi.h.
- Do I need to install
lswifi
in a virtual environment (venv)?- Optional and not necessary.
lswifi
currently has zero third party dependencies.
- Optional and not necessary.
- When I run
lswifi
from my Windows terminal I get an error that says'lswifi' is not recognized as an internal or external command operable program or batch file.
?- Make sure the Scripts directory is included in the PATH environment variable and
lswifi.exe
exists in said folder. - Here is an example for how to find the Scripts directory:
- Make sure the Scripts directory is included in the PATH environment variable and
C:\Users\josh>python
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os,sys
>>> os.path.join(sys.prefix, 'Scripts')
'C:\\Users\\josh\\AppData\\Local\\Programs\\Python\\Python310\\Scripts'
Contributing
Want to contribute? Thanks! Please take a few moments to read this.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lswifi-0.1.28.tar.gz
.
File metadata
- Download URL: lswifi-0.1.28.tar.gz
- Upload date:
- Size: 62.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4df60b86a1180b360e8fcc6246ac438c4d8bafe3d2d2bb2e8363043f3da8ad34 |
|
MD5 | ceb8fae5569832244b28d6daf436dc78 |
|
BLAKE2b-256 | a898867fda80816845ee7723eabf8a4af7e61c2bc2145c367970e22224e11b4b |
File details
Details for the file lswifi-0.1.28-py3-none-any.whl
.
File metadata
- Download URL: lswifi-0.1.28-py3-none-any.whl
- Upload date:
- Size: 67.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bfc82194b32e64b3c46b9c440fdf1df1d0e0c4bef7d4ccfad1771e13fe5dc98 |
|
MD5 | 69535625cda2d7b49be60428ae33d78a |
|
BLAKE2b-256 | c4b917003216098baeccc06f15772fc6623ec945e00f5f617e59911d74dc7302 |