https://github.com/sajadtroy/openport
OpenPort is a lightweight and easy-to-use port scanner written in Python. It scans the specified target IP address for open ports and displays the results. The tool supports scanning a range of ports and is designed to help you discover potential open services on a remote machine.
https://github.com/sajadtroy/openport
hacking-tool ip ip-address ip-scanner open-ports openport openports openportsscanner port port-scanner port-scanners scanner
Last synced: 6 months ago
JSON representation
OpenPort is a lightweight and easy-to-use port scanner written in Python. It scans the specified target IP address for open ports and displays the results. The tool supports scanning a range of ports and is designed to help you discover potential open services on a remote machine.
- Host: GitHub
- URL: https://github.com/sajadtroy/openport
- Owner: SajadTroy
- License: mit
- Created: 2024-11-29T08:56:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-29T09:11:17.000Z (about 1 year ago)
- Last Synced: 2025-06-22T23:07:15.065Z (7 months ago)
- Topics: hacking-tool, ip, ip-address, ip-scanner, open-ports, openport, openports, openportsscanner, port, port-scanner, port-scanners, scanner
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenPort - A Simple Open Port Scanner
OpenPort is a lightweight and easy-to-use port scanner written in Python. It scans the specified target IP address for open ports and displays the results. The tool supports scanning a range of ports and is designed to help you discover potential open services on a remote machine.
## Features
- Scan a specified range of ports (default is 1 to 1024).
- Display open ports on the target IP.
- Simple command-line interface with clear output.
- The logo and credits are displayed on startup.
- Developed by [mrsajadpp](https://github.com/mrsajadpp).
## Installation
### Requirements
- Python 3.x
- `socket` and `argparse` libraries (these are included in the standard Python library).
### Steps to Run
1. Clone the repository to your local machine:
```bash
git clone https://github.com/mrsajadpp/openport.git
cd openport
```
2. Run the script using Python:
```bash
python openport.py --start-port --end-port
```
Example:
```bash
python openport.py 192.168.1.1 --start-port 1 --end-port 1024
```
This will scan the IP `192.168.1.1` for open ports in the range from 1 to 1024.
## Usage
### Command-line Arguments
- `TARGET_IP` (required): The target IP address you want to scan.
- `--start-port`: The starting port for the scan (default is 1).
- `--end-port`: The ending port for the scan (default is 1024).
Example:
```bash
python openport.py 192.168.1.1 --start-port 100 --end-port 200
```
This will scan ports 100 to 200 on the IP address `192.168.1.1`.
## Credit
This tool was developed by [mrsajadpp](https://github.com/mrsajadpp).
GitHub Repository: [https://github.com/mrsajadpp/openport.git](https://github.com/mrsajadpp/openport.git)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.