Skip to content

thecyberworld/porthub

Repository files navigation

port-scanner

A fast port scanner written in python with a focus on reliability and simplicity.

Prerequisites

🛠️ Installation Steps

  1. Clone this project.
    git clone https://github.com/thecyberworld/port-scanner.git
  2. Navigate to the project.
    cd port-scanner

Usage

Syntax Examples
1. python3 scanner.py --host <ip> python3 scanner.py --host 192.168.0.1
2. python3 scanner.py --host <ip> <verbose> python3 scanner.py --host 192.168.0.1 -v
3. python3 scanner.py --host <ip> -p <port_start>-<port_end> python3 scanner.py --host 192.168.0.1 -p 150-1333
4. python3 scanner.py --host <ip> -p <port_start>-<port_end> <verbose> python3 scanner.py --host 192.168.0.1 -p 150-1333 -v

Port specific:

  • Syntax: python3 scanner.py --host <ip> -p <port_start>-<port_end>

  • Example: python3 scanner.py --host 192.168.1.1 -p 0-200

Verbose mode:

  • Syntax: python3 scanner.py --host <ip> -p <port_start>-<port_end> <verbose>

  • Example: python3 scanner.py --host 192.168.1.1 -p 0-200 -v


If you are new to Git and GitHub then must check out git-github-practice repository first and contribute to it before you contributing to other open-source projects.

👨‍💻 Contributing

  • Contributions make the open source community such an amazing place to learn, inspire, and create.
  • Any contributions you make are truly appreciated.
  • Check out our contribution guidelines for more information.

🛡️ License

port-scanner is licensed under the MIT License - see the LICENSE file for details.

🙏 Support

This project needs a ⭐️ from you. Don't forget to leave a star ⭐️