Skip to content

Elysia1104/Port-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Port-Scanner

In the initial phase of any penetration test (Ethical Hacking), a "Network Scan" is performed to identify the attack surface. This project is a custom-built TCP Port Scanner developed in Python. It allows a user to "probe" a target IP address or website to see which communication channels (ports) are open, closed, or filtered. Technical Implementation

Error Handling:

Utilized try-except blocks to handle non-existent domains gracefully, preventing the script from crashing during a large-scale scan.

#String Formatting: Used Python F-strings (f"{sub}.{domain}") for efficient and readable URL construction.

#Zero-Noise Scanning: Designed to only output successful "Hits," making the data easy for a security analyst to read.

#Socket Integration: Demonstrates advanced use of the socket library for infrastructure mapping rather than simple connection testing.

Screenshot 2026-03-21 153621 Screenshot 2026-03-21 153613 Screenshot 2026-03-21 151609 Screenshot 2026-03-21 151634

About

In the initial phase of any penetration test (Ethical Hacking), a "Network Scan" is performed to identify the attack surface. This project is a custom-built TCP Port Scanner developed in Python. It allows a user to "probe" a target IP address or website to see which communication channels (ports) are open, closed, or filtered.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages