Cybersecurity-Projects/PROJECTS/beginner/simple-port-scanner
CarterPerez-dev 218305e722 add and create all learn/ folders for beginner projects 2026-01-31 15:13:31 -05:00
..
learn add and create all learn/ folders for beginner projects 2026-01-31 15:13:31 -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