Skip to content

secastles/netscanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netscanner

A simple python script to:

  • Automate scanning of local network with nmap
  • Store found hosts/mac addresses in a SQLite database
  • Send email notification when new hosts are found

Prerequisites

nmap and python-nmap

Configuration

Rename settings_example.py to settings.py.

Must be run using sudo in order to provide necessary rights to nmap.

Example running from console (verbose logging on by default): sudo python3 netscanner.py

Example running in cron (every 15 minutes):

sudo crontab -e

*/15 * * * * /home/netscanner/venv/bin/python3 /home/netscanner/netscanner.py

SQLite database is created and stored in same folder as the script.

About

Simply python script to automate nmap.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages