Skip to content

harshit-namdev/Port-Scanner-By-Harshit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5dd1281 Β· Oct 10, 2024

History

8 Commits
Oct 10, 2024
Oct 10, 2024
Oct 10, 2024

Repository files navigation

Colorful Port Scanner By Harshit Namdev 🌐🎨

This project is a simple yet powerful Port Scanner built with Python. The tool's standout feature is its colorful output, which makes it visually appealing and easy to understand for users. πŸŽ‰ It can scan multiple IP addresses simultaneously, checking if specified ports are open or closed, with color-coded results for quick analysis.

Features ✨

  • Colorful Output: Open ports are displayed in red, closed ports in yellow, and process information is highlighted in blue and magenta.
  • Scan Multiple IPs Simultaneously: You can scan multiple IP addresses at once by separating them with commas.
  • Simple and User-friendly: The tool is beginner-friendly and easy to use with a clean and intuitive interface.

Usage πŸš€

To use the tool, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/harshit-namdev/Port-Scanner-By-Harshit.git
    cd Port-Scanner-By-Harshit
  2. Install Dependencies: Install the necessary Python packages:

    pip install -r requirements.txt

    The project requires the termcolor package for colorful output.

  3. Run the Tool: Start scanning by providing the target IP addresses and number of ports:

    port-scanner-by-harshit.py
  4. Example Usage:

    • Single Target:
      [#] Enter your target/s IP address/s (use "," to differentiate between them): 192.168.1.1
      [#] Enter the Number of ports you want to scan: 100
      
    • Multiple Targets:
      [#] Enter your target/s IP address/s (use "," to differentiate between them): 192.168.1.1,192.168.1.2
      [#] Enter the Number of ports you want to scan: 100
      
  5. Example Output:

    [#] Enter your target/s IP address/s (use "," to differentiate between them): 192.168.1.1,192.168.1.2
    192.168.1.1
    192.168.1.2
    [#] Enter the Number of ports you want to scan: 100
    100
    
    [+++] Scanning Multiple Targets
    
    Starting Scan For : 192.168.1.1
    [*] Port 22 is open
    [*] Port 80 is closed
    
    Starting Scan For : 192.168.1.2
    [*] Port 22 is closed
    [*] Port 80 is closed
    

Installation Requirements πŸ› οΈ

  • Python 3.x

  • termcolor package for colored outputs:

  • pip install termcolor

Contributing 🀝

Contributions are welcome! Feel free to open issues or submit pull requests. 😊

Author πŸ‘¨β€πŸ’»

  • Harshit Namdev – Developer and Cybersecurity Enthusiast

Releases

No releases published

Packages

No packages published

Languages