Advanced Port Scanner is a flexible and efficient Python tool designed for scanning a range of ports on a target system. It allows users to identify open and closed ports, check for hidden services, and customize the scanning process with different settings.
This tool is primarily intended for ethical penetration testing and security auditing. Always ensure that you have authorization before conducting any scanning activities on a network or system.
- Customizable Port Range: Scan specific ranges of ports to suit your needs.
- Timeout Control: Set a custom timeout to optimize the scanning process.
- Detailed Output: View detailed results, including open, closed ports, and any errors.
- Flexible CLI: Simple and powerful command-line interface for quick configuration.
- Error Handling: Displays error messages when ports are unreachable or other issues arise.
- Python 3.x: Ensure that Python 3 is installed on your system.
First, clone the repository to your local machine:
bash
git clone https://github.com/your-username/Advanced-Port-Scanner.git
cd Advanced-Port-Scanner
- Run the Port Scanner To run the port scanner, use the following command format:
Basic Scan:
python advanced_port_scanner.py <target-ip-or-hostname>
Custom Port Range: Scan specific ports by specifying the start and end ports:
python advanced_port_scanner.py <target-ip-or-hostname> -sp 1000 -ep 2000
Custom Timeout: Set a custom timeout value in seconds to control how long the scanner waits for a connection before timing out:
python advanced_port_scanner.py <target-ip-or-hostname> -t 1 -sp 1000 -ep 5000
π οΈ Example Usage
python advanced_port_scanner.py ad.samsclass.info
python advanced_port_scanner.py ad.samsclass.info -sp 1000 -ep 2000
python advanced_port_scanner.py ad.samsclass.info -t 1 -sp 1 -ep 100
π Disclaimer This tool is intended for ethical hacking and penetration testing. You must have explicit permission to scan any network or system. Unauthorized scanning may be illegal and is strictly prohibited. Always use this tool responsibly.
π§βπ» Contributing Contributions are welcome! If you have ideas for new features or improvements, feel free to open an issue or submit a pull request.
How to Contribute: -Fork the repository. -Create a new branch (git checkout -b feature-branch). -Make your changes. -Commit your changes (git commit -m 'Add new feature'). -Push to the branch (git push origin feature-branch). -Open a pull request.
π§ Contact For questions or feedback, feel free to reach out to me via soufzeg99@gmail.com .