A simple utility that can discover all LAN/WLAN devices in specified IP range
./devdiscover.py --ip-start=[first_ip] --ip-end=[second_ip] [--show-macs] [--show-names] [--verbose] --wait-response=[seconds] --iface=[interface]
| Argument name | Description | Is necessary? |
|---|---|---|
| --ip-start=[ip] | Start bound of IP range | * |
| --ip-end=[ip] | End bound of IP range | * |
| --show-macs | Show MAC addresses? | |
| --show-names | Show names of devices? | |
| --verbose | Show all scanned IP addresses | |
| --wait-response=[seconds] | How much time should I wait for response? | * |
| --iface=[interface] | Which interface should I use to scan IP addresses? | * |
Samples of using (instead of ./devdiscover.py you can type devdiscover if copied the file to /usr/bin/devdiscover)
- ./devdiscover.py --ip-start=192.168.1.1 --ip-end=192.168.1.255 --show-names --wait-response=0.3 --iface=wlan0
- ./devdiscover.py --ip-start=10.0.0.1 --ip-end=10.0.0.255 --show-macs --show-names --wait-response=0.2 --verbose --iface=eth0
- ./devdiscover.py --ip-start=192.168.0.23 --ip-end=192.168.0.106 --show-macs --verbose --wait-response=0.5 --iface=wlan1
- Install these packages using your package manager:
python3, dnsutils, samba, figlet, git - Install colorama via pip:
pip3 install colorama or pip install colorama - Clone this repository:
git clone https://github.com/thm-unix/devdiscover/ - cd devdiscover
- Make 'devdiscover.py' executable:
chmod +x ./devdiscover.py
(optional): if you want to, you can copy this file to /usr/bin/devdiscover and run it from anywhere just by typing devdiscover:
sudo cp devdiscover.py /usr/bin/devdiscover


