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.
- 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.
To use the tool, follow these steps:
-
Clone the Repository:
git clone https://github.com/harshit-namdev/Port-Scanner-By-Harshit.git
cd Port-Scanner-By-Harshit
-
Install Dependencies: Install the necessary Python packages:
pip install -r requirements.txt
The project requires the
termcolor
package for colorful output. -
Run the Tool: Start scanning by providing the target IP addresses and number of ports:
port-scanner-by-harshit.py
-
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
- Single Target:
-
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
-
Python 3.x
-
termcolor
package for colored outputs: -
pip install termcolor
Contributions are welcome! Feel free to open issues or submit pull requests. 😊
- Harshit Namdev – Developer and Cybersecurity Enthusiast