Skip to content

parth0xu/Port-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Python Port Scanner

A Python-based Port Scanner that scans all 65,535 ports of a target IP and lists only truly open ports along with their service names. Ideal for cybersecurity enthusiasts, ethical hackers, and penetration testers.


πŸš€ Features

βœ… Scans all 65,535 ports efficiently
βœ… Displays only open ports (no false positives)
βœ… Shows service names (e.g., SSH, HTTP, FTP)
βœ… Simple, lightweight, and accurate
βœ… Ideal for cybersecurity internships & projects


πŸ“Œ Installation

Make sure you have Python 3.x installed. Then, install dependencies:

pip install pyfiglet or pip install pyfiglet --break-system-packages
sudo chmod +x port.py

## Run as root user
sudo python3 port.py

πŸ”§ How It Works
The script loops through all 65,535 ports and attempts to connect.

If a port is open, it displays the port number and service name.

Closed ports are ignored, making the scan clean and accurate.

πŸ› οΈ Technologies Used
Python 3

Sockets (socket library)

ASCII Art (pyfiglet)

πŸš€ Future Enhancements
πŸ”Ή Multithreading for faster scanning
πŸ”Ή Save scan results to a file
πŸ”Ή Support for UDP scanning

🀝 Contributing
Want to improve this project? Feel free to fork and submit pull requests!

πŸ“œ License
This project is licensed under the MIT License.

πŸ’‘ Why Add This to Your Resume?
βœ” Demonstrates Python & Networking Skills
βœ” Practical Cybersecurity Project
βœ” Great for Ethical Hacking & Penetration Testing

πŸ“© Contact
Made with ❀️ by Parth Dabgar
πŸ“§ Email: dabgarparth12@gmail.com

About

Python tool that scans all 65,535 TCP ports and identifies open services. Built for network reconnaissance practice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages