Skip to content

The above code is a Python script that implements a fast port scanner. It uses the argparse library to handle command-line arguments, the socket library to connect to the target host, and the threading library to run multiple threads for scanning.

Notifications You must be signed in to change notification settings

ArupSEK/Network-open-port-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Port Scanner This is a python-based fast port scanner that uses threads to scan a specified host's open ports. The script takes command-line arguments such as starting port, ending port, number of threads, verbose output, and version. The output shows the open ports found and the time taken to scan.

Usage css Copy code python port_scanner.py [OPTIONS] IPv4 Options -s, --start: starting port (default 1) -e, --end: ending port (default 1023) -t, --threads: number of threads to use (default 500) -V, --verbose: verbose output (default False) -v, --version: display version Example Copy code python port_scanner.py -s 20 -e 65535 -t 500 -V 192.168.0.1 Requirements pyfiglet termcolor argparse socket threading time datetime

Regenerate response

About

The above code is a Python script that implements a fast port scanner. It uses the argparse library to handle command-line arguments, the socket library to connect to the target host, and the threading library to run multiple threads for scanning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages