Skip to content
All projects

Security

Recon Console.

Nmap-style network reconnaissance engine with hand-crafted packets, a CLI and a live web console

View project

Overview

Recon Console is a network reconnaissance engine written from scratch. IPv4, TCP, UDP and ICMP packets are built and decoded by hand on the Python standard library, with no Scapy or nmap, and one engine drives both a command-line tool and a live web console.

What I built

  • A hand-written packet engine: header building and parsing, Internet checksums, TCP/UDP pseudo-headers and IP fragmentation.
  • Nine scan types (connect, SYN, FIN, NULL, XMAS, ACK, Window, Maimon and UDP) plus host discovery that still finds hosts when ICMP is filtered.
  • Service and version detection, OS fingerprinting from the TCP/IP stack or service banners, and offline CVE matching.
  • A Flask web console that streams progress, logs and findings over Server-Sent Events and diffs each scan against the previous one.
  • Reports in CSV, JSON, XML, Markdown and HTML, escaped so a hostile banner can't inject into a report.
  • An authorization gate: only loopback and private ranges are scanned unless the user explicitly confirms they're authorized.

Outcome

Every step of a scan is readable Python, down to the bytes on the wire. 34 offline tests cover checksums, packet parsing, CVE matching, the authorization gate and report escaping.

Stack

Python (standard library), Flask, Server-Sent Events, Docker