Cybersecurity-Projects/PROJECTS/beginner/simple-port-scanner
CarterPerez-dev a7cae3aa0f Phase 1.1: Organize PROJECTS by difficulty level
- Create beginner/, intermediate/, advanced/ folders in PROJECTS/
- Move all existing projects to appropriate difficulty folders
- Update all README.md links to reflect new structure
- Update contributor links
- Fix pyrightconfig.json trailing comma

Projects organized:
Beginner (6): simple-port-scanner, keylogger, caesar-cipher, dns-lookup, metadata-scrubber-tool, simple-vulnerability-scanner
Intermediate (2): api-security-scanner, docker-security-audit
Advanced (4): api-rate-limiter, encrypted-p2p-chat, bug-bounty-platform, Aenebris
2026-01-29 02:41:15 -05:00
..
src Phase 1.1: Organize PROJECTS by difficulty level 2026-01-29 02:41:15 -05:00
CMakeLists.txt Phase 1.1: Organize PROJECTS by difficulty level 2026-01-29 02:41:15 -05:00
README.md Phase 1.1: Organize PROJECTS by difficulty level 2026-01-29 02:41:15 -05:00
main.cpp Phase 1.1: Organize PROJECTS by difficulty level 2026-01-29 02:41:15 -05:00

README.md

Simple Port Scanner (C++)

An asynchronous TCP port scanner implemented in C++ using boost::asio

Features

  • Configurable port ranges (e.g. 1-1024, 1-65535)
  • Adjustable concurrency level
  • Connection timeouts
  • Clean and readable CLI output

Educational Value

  • Asynchronous IO using boost::asio
  • TCP socket programming
  • Concurrency control
  • Basic network reconnaissance techniques

Build

Requirements

  • C++20
  • Boost library
  • CMake >= 3.16

Build Instructions

mkdir build && cd build
cmake ..
make

Usage

./port_scanner -i 127.0.0.1 -p 1-1024 -t 100 -e 2