Network scanner
A small project that I wrote on the fly for (IT351) Computer Networks University Course to identify and label the devices in my networks and open ports.
Technical Points
- Built using
python3
and formain.py
file that usedsocket
library for TCP Scanning which used three-way handshake (ACK-SYN)main-scapy.main
file that usedscapy
library for ARP Scanning which sends broadcast ARP message
- Built GUI with
PyQt5
library
How to use
Getting started
- clone or download the project and
cd
into the project folder - install dependencies
pip install -r requirements.txt
How to run
- run:
python main.py
,python main-scapy.py
or from IDE like PyCharm - input network to scan: e.g.
192.168.1.1
Scanning could take a little while (around 20sec - 2min is normal). In addition, it may have to be run several times to get all devices.
Demo or What you will get
- For running
main.py
file which scanning network using built in librarysocket
- For running
main-scapy.py
file which scanning network using libraryscapy
Contributing
This is a very small project that arose out of a quick need. So I keep it as simple as possible. If you are motivated to improve it, you can simply fork the project and make a pull request with your changes.
Show your support
Give a