scans bluetooth wifi and lan network
- Python 100%
| .gitignore | ||
| device_scan.py | ||
| example.gitignore | ||
| README.md | ||
vibecoded network scanner
!! An AI (LLM) was used for this project
optional dependencies
--tui : python3-rich
usage: device_scan.py [-h] [--no-bluetooth] [--no-wifi] [--no-network] [--net-only] [--bt-only] [--wifi-only] [--timeout TIMEOUT]
[--json-out PATH] [--list-methods] [--tui] [--repeat-delay SEC] [--repeat-count N] [--indent INDENT] [--ports PORTS]
Scan for nearby devices via Bluetooth, Wi-Fi, and the local network.
options:
-h, --help show this help message and exit
--no-bluetooth skip Bluetooth scan
--no-wifi skip Wi-Fi scan
--no-network skip local-network scan
--net-only only run the network scan
--bt-only only run the Bluetooth scan
--wifi-only only run the Wi-Fi scan
--timeout TIMEOUT per-method timeout in seconds
--json-out PATH also write full results to PATH as JSON
--list-methods show which methods/tools would be used and exit
--tui launch the rich live TUI (requires the 'rich' package)
--repeat-delay SEC repeat scans every SEC seconds (TUI mode only; 0 = run once)
--repeat-count N stop after N scan cycles (TUI mode only; 0 = unlimited)
--indent INDENT JSON indent width
--ports PORTS port range example : 1-65535
Tip: run with sudo for raw ARP/ICMP and BLE scans.