Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Network Scanner & Monitor

A command-line tool that scans your local network for connected devices, checks open ports, and continuously monitors when devices connect or disconnect — with full history saved to a local database.

Features

  • Auto-detects your current subnet (works on any Wi-Fi network)
  • Multi-threaded ping sweep (scans 254 addresses in seconds)
  • Hostname resolution (DNS + NetBIOS fallback)
  • Common port scanning (SSH, HTTP, HTTPS, RDP, SMB, etc.)
  • Continuous monitoring mode — scans every 5 minutes automatically
  • Persistent connect/disconnect history via SQLite

Tech stack

  • Python 3 (standard library only — no external dependencies)
  • SQLite for storage

Setup

powershell git clone <your-repo-url> cd network-scanner python -m venv venv venv\Scripts\activate python scanner.py ​

Usage

Run the script and leave it running — it scans every 5 minutes and logs every device connect/disconnect event with a timestamp.

Press Ctrl+C to stop monitoring.

Known limitations

  • Phones and IoT devices often don't respond to hostname lookups (NetBIOS is Windows-specific), so some devices show as "Unknown"
  • Detection precision is limited by the scan interval — a device that disconnects and reconnects between two scans won't be caught

About

Python CLI tool Network scanner easy scan wifi to verify who's connected and who's not ,also available IPs

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages