Skip to content

WxZANA/Python-TCP-Port-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Python Port Scanner by WxZANA

Overview

This project is a simple TCP port scanner written in Python. It scans a target IP address across a user-defined port range and reports which ports are open.

The purpose of this project was to better understand how port scanning works at a low level using Python sockets.

Features

  • Scans a target IP address
  • Accepts a custom start and end port
  • Detects open TCP ports
  • Prints a summary of results
  • Uses socket timeouts to improve scanning speed

Technologies Used

  • Python 3
  • socket
  • sys

How It Works

The script attempts to make a TCP connection to each port in the selected range using Python's socket library.

If the connection succeeds, that port is considered open.

This is a basic form of port enumeration and helps demonstrate a core concept in network reconnaissance.

File Structure

python-port-scanner/
├── main.py
├── README.md
└── requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages