🔍 Python Port Scanner with Flask
This is a simple web-based port scanner that allows you to scan:
- Specific ports on a target IP address
- All devices on a subnet (ping sweep)
Built using:
- 🐍 Python
- 🌐 Flask
- 🖥 HTML/CSS/JavaScript
- Scan ports on a given IP
- Discover live devices on a subnet
- Web interface with a modal form
- Threaded scanning for speed
git clone https://github.com/AnxoRodri20/PortScanner.git
cd PortScannerpython3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install flaskpython app.pyThen open your browser at http://127.0.0.1:5000
From the UI:
- Click Scan Network
- Enter a subnet (e.g.
192.168.1.0/24) - The app will ping all hosts and show which are alive
From the UI:
- Enter the target IP address
- Set the start and end port range
- Click Scan Ports
- The app will show a list of open ports on the given host
This tool is intended for educational purposes only.
Please do not scan networks you do not own or have permission to scan.
Developed by AnxoRodri20