Skip to content

Files

Latest commit

5b6ef59 Β· Sep 30, 2021

History

History

Network Scanner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 30, 2021
Sep 30, 2021

Network-Scanner

A Python script that scans a network for connected devices.

Setup

Download this repository and run it locally,

python3 network_scanner.py -t ip_address
or
python3 network_scanner.py --target ip_address

where ip_address is the IP Address of the target machine. Example: 10.0.2.1

The script also accepts a range of ip addresses to be scanned for. For that in the ip_address field you need to provide the range. Example: 10.0.2.1/24 This tells the script that start scanning from 10.0.2.1 to 10.0.2.254

Output

Output of the Script for a single target IP Address

root@kali:~/Desktop/Network Scanner# python3 network_scanner.py -t 10.0.2.3
-----------------------------------
IP Address	MAC Address
-----------------------------------
10.0.2.3	  08:00:27:24:58:5a

OR

root@kali:~/Desktop/Network Scanner# python3 network_scanner.py --target 10.0.2.3
-----------------------------------
IP Address	MAC Address
-----------------------------------
10.0.2.3	  08:00:27:24:58:5a

Output of the Script for a range of target IP Address

root@kali:~/Desktop/Network Scanner# python3 network_scanner.py --target 10.0.2.1/24
-----------------------------------
IP Address	MAC Address
-----------------------------------
10.0.2.1	  52:54:00:12:35:00
10.0.2.2	  52:54:00:12:35:00
10.0.2.15	  08:00:27:e6:e5:59
10.0.2.3	  08:00:27:24:58:5a