scans bluetooth wifi and lan network
Find a file
2026-10-15 08:04:25 +02:00
.gitignore gitignore 2026-09-21 11:55:30 +02:00
device_scan.py correction oubliée #9 2026-10-15 08:04:25 +02:00
example.gitignore Better device scan (network), port range parameter (WIP), fixed nmap parser 2026-09-21 11:51:52 +02:00
README.md Update README.md 2026-09-21 11:56:35 +02:00

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.