A simple utility to discover all LAN/WLAN devices in IP range.

Дневник UNIX'оида bb9fb9a5aa Screenshots in README 3 tahun lalu
LICENSE e40c05d7c0 Initial commit 3 tahun lalu
README.md bb9fb9a5aa Screenshots in README 3 tahun lalu
devdiscover.py ee5fc2c99b devdiscover v.0.1 3 tahun lalu
scr1.png 66e7ed1cfc Screenshots 3 tahun lalu
scr2.png 66e7ed1cfc Screenshots 3 tahun lalu
scr3.png 66e7ed1cfc Screenshots 3 tahun lalu

README.md

devdiscover

A simple utility that can discover all LAN/WLAN devices in specified IP range

Usage

./devdiscover.py --ip-start=[first_ip] --ip-end=[second_ip] [--show-macs] [--show-names] [--verbose] --wait-response=[seconds] --iface=[interface]

Argument nameDescriptionIs necessary?
--ip-start=[ip]Start bound of IP range*
--ip-end=[ip]End bound of IP range*
--show-macsShow MAC addresses?
--show-namesShow names of devices?
--verboseShow 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

Installation

  1. Install these packages using your package manager:
    python3, dnsutils, samba, figlet, git
  2. Install colorama via pip:
    pip3 install colorama or pip install colorama
  3. Clone this repository:
    git clone https://github.com/thm-unix/devdiscover/
  4. cd devdiscover
  5. 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

Screenshots