Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MHadiS/port-scanner
A port scanner made with python socket
https://github.com/MHadiS/port-scanner
Last synced: 3 months ago
JSON representation
A port scanner made with python socket
- Host: GitHub
- URL: https://github.com/MHadiS/port-scanner
- Owner: MHadiS
- Created: 2022-01-07T00:01:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-07T00:39:22.000Z (almost 3 years ago)
- Last Synced: 2024-06-28T07:37:08.530Z (5 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Port scanner
A port scanner made with python's socket.
# How to use
Run the scanner.py with this command.
#### windows
`python scanner.py [HOST] [PORT]`
#### linux and mac
`python3 scanner.py [HOST] [PORT]`
# How it work
This port scanner wrote with python and socket.
first it check the given port. if the port was opened, tells you it's opened.
else it check the ports in important_ports list and tells you which port is opened and closed`important_ports = [20,21,22,23,25,50,51,53,67,68,69,80,110,119,123,135,143,161,162,194,389,443,989,990,3389,443]`