Skip to content

A basic Python port scanner. It's a simple learning project to understand how port scanning works.

Notifications You must be signed in to change notification settings

mf-rl/SimplePortScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Simple Port Scanner

A basic Python port scanner. It's a simple learning project to understand how port scanning works.

What It Does

Scans a target host to find which TCP ports are open.

Requirements

Just Python 3.6+ (no external libraries needed)

How to Use

Basic command:

python port_scanner.py localhost

Scan a specific range:

python port_scanner.py localhost -s 1 -e 1000

Available options:

  • -s - start port (default: 1)
  • -e - end port (default: 1024)
  • -t - timeout in seconds (default: 1.0)
  • -v - verbose mode (shows closed ports too)

Note

This is a learning exercise. Only scan systems you own or have permission to test.

About

A basic Python port scanner. It's a simple learning project to understand how port scanning works.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages