Skip to content

This project implements a multi-threaded port scanner that identifies open ports on a specified server and attempts to grab the service banner from those ports. The scanner is capable of scanning a wide range of ports efficiently by using a semaphore to limit the number of concurrent threads. It supports customizable port ranges and timeouts.

License

Notifications You must be signed in to change notification settings

vshloda/port-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Port Scanner with Banner Grabbing

Description

This project implements a multi-threaded port scanner that identifies open ports on a specified server and attempts to grab the service banner from those ports. The scanner is capable of scanning a wide range of ports efficiently by using a semaphore to limit the number of concurrent threads. It supports customizable port ranges and timeouts.

Features

  • Multi-threaded scanning for faster performance
  • Ability to grab service banners from open ports
  • Configurable port ranges and timeouts
  • Handles common socket errors gracefully

Requirements

  • Python 3.x

Installation

  1. Clone the repository:

    git clone https://github.com/vshloda/port-scanner.git
    cd port-scanner
    

Usage

1.	Open the port_scanner.py file and update the target_ip variable to the IP address of the server you want to scan.
2.	Define the port range in the port_range variable (default is 1 to 10000).
3.	Run the script:
python port_scanner.py

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

About

This project implements a multi-threaded port scanner that identifies open ports on a specified server and attempts to grab the service banner from those ports. The scanner is capable of scanning a wide range of ports efficiently by using a semaphore to limit the number of concurrent threads. It supports customizable port ranges and timeouts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages