Skip to content

harry-upton/network-device-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

network-device-scanner

Scans network and checks if a mac address is connected.

Set the IP range to scan and the mac address of the device you are looking for. The "deviceConnected" function will return true if the device is currently on the network. The function can be called regularly in a loop, if it returns true some other code can be executed.

  • The script requires root permissions. If on linux: sudo python3 network_scanner.py
  • IP address range is given using CIDR notation. An explanation.
  • Inspired by this article and using code from this repository.

Dependencies

  • Scapy, install from your distro's repository: e.g. sudo apt-get install python-scapy or sudo pacman -S python-scapy for Debian/Ubuntu and Arch respectively.

About

Scans network and checks if a mac address is connected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages