Skip to content

OAAmine/A-simple-port-scanner-using-Python-and-sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Simple Port Scanner

This is a simple port scanner implemented in Python. It scans a specified IP address for open ports within a given range.

How it Works

The port scanner iterates over a specified range of ports and attempts to establish a TCP connection to each port on the target IP address. If the connection is successful, the port is considered open, and it is added to the list of open ports.

Usage

  1. Run the script in a Python environment.
  2. Enter the IP address you want to scan when prompted.
  3. Enter the port range in the format min_port-max_port when prompted.
  4. The script will output a list of open ports on the specified IP address.

Disclaimer

This code is provided for educational purposes only. Please use responsibly and respect applicable laws and regulations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages