Skip to content

Zee-Code31/java-security-port-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Java Multi-Threaded Port Scanner & Banner Grabber

A concurrent network reconnaissance utility written in pure Java. This tool is designed to identify open ports on a target host and perform "banner grabbing" to retrieve service details, a foundational step in vulnerability assessment and ethical hacking.

Key Features

  • Multi-Threaded Execution: Utilizes Java's ExecutorService to manage a pool of concurrent threads, optimizing scan speed across multiple ports.
  • Network Sockets: Uses native java.net.Socket connectivity with custom timeouts to cleanly handle open, closed, or filtered ports.
  • Banner Grabbing: Attempts to read information streams from open sockets to identify software versions running on active ports.

Project Structure

java-security-port-scanner/ ├── src/ │ └── PortScanner.java # Main application logic and thread pool coordination └── README.md

Requirements & Setup

  • Language: Java 8 or higher
  • Environment: Any IDE (IntelliJ, Eclipse, VS Code) or terminal execution setup.

How to Run

  1. Open src/PortScanner.java in your workspace.
  2. Adjust the TARGET_HOST variable if you wish to scan a specific local service.
  3. Compile and execute the main method.

Disclaimer: This project is intended strictly for educational and defensive security purposes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages