Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gill-singh-a/network-scanner

A Python Program that scans the Network giving a list of IP Addresses and MAC Addresses of the devices connected to that Network.
https://github.com/gill-singh-a/network-scanner

lan network network-protocols network-scanner networking python scanner scapy wifi

Last synced: about 1 month ago
JSON representation

A Python Program that scans the Network giving a list of IP Addresses and MAC Addresses of the devices connected to that Network.

Awesome Lists containing this project

README

        

# Network Scanner
A Python Program that scans the Network giving a list of IP Addresses and MAC Addresses of the devices connected to that Network.

## Requirements
Languange Used = Python3

Modules/Packages used:
* os
* datetime
* pickle
* scapy
* optparse
* time
* colorama

## Input
The network_scanner.py takes the following arguments through the command that is used to run the Python Program:
* '-T', "--target" : target/targets to scan (seperated by ',')
* '-t', "--timeout" : timeout for response (default = 1 seconds)
* '-l', "--load" : Load Targets from a file
* '-r', "--read" : File to read a Previous Scan Result
* '-w', "--write" : Dump the output to a File

## Working
The program crafts a packet by stacking Ethernet Frame over the ARP Request and sends it to the broadcast address of the Network so that every device would receive that packet.

It would wait for the time that was given in the arguments.

After that delay, it would make a list of all the Devices that responded to the sent packet containing their IP Addresses and MAC Addresses and display that list on the screen. And then display the number of clients discovered and time taken to complete the scan.

### Note
This may not detect all the devices connected on the network.

It depends upon the response of the device that receives the packet send by our program to the broadcast address of the Network.