Skip to content

A port scanner that scans a range of ports on a specified host to identify open and closed ports.

Notifications You must be signed in to change notification settings

MuxN4/port-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Port Scanner

Scans a range of ports on a specified host to identify open and closed ports, supports multi-threading for faster scanning.

Features

  • Scan a range of ports on a specified host
  • Multi-threaded for faster scanning
  • User-friendly output format
  • Adjustable number of threads

Installation

  1. Clone the repository or download the files.
  2. Navigate to the project directory.
cd port_scanner

Usage

To run the port scanner, use the following command:

python port_scanner.py <host> <start_port> <end_port> [--threads <num_threads>]

Arguments

  • host: The host to scan (e.g., 127.0.0.1).
  • start_port: The starting port number (e.g., 20).
  • end_port: The ending port number (e.g., 80).
  • --threads: (Optional) The number of threads to use (default is 10).

Example

python port_scanner.py 127.0.0.1 20 80 --threads 50

This command scans ports 20 to 80 on the host 127.0.0.1 using 50 threads.

About

A port scanner that scans a range of ports on a specified host to identify open and closed ports.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages