Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gill-singh-a/network-scanner
- Owner: Gill-Singh-A
- Created: 2023-04-12T18:45:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-12T18:46:31.000Z (over 1 year ago)
- Last Synced: 2024-05-11T05:49:28.598Z (8 months ago)
- Topics: lan, network, network-protocols, network-scanner, networking, python, scanner, scapy, wifi
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.