Skip to content

Repository files navigation

HackIT Framwork Security Toolkit🔐

The Apex Modern Ethical Hacking & Advanced Autonomous Intelligence Framework

banner


VersionLicense: MITStatusEthical Tool

Python VersionGo VersionCC++RustLuaRubyC#

HackIT is not just a tool; it is an entirely autonomous, multi-disciplinary, and polyglot penetration testing ecosystem. It orchestrates complex reconnaissance, vulnerability identification, precision exploitation, and automated reporting through a highly advanced Artificial Intelligence core.

img


Demo Gif

demo


📑 Comprehensive Table of Contents

  1. Executive Summary & Introduction
  2. The "Why HackIT?" Paradigm
  3. The Polyglot Multi-Language Ecosystem Deep Dive
  4. Autonomous Intelligence Lifecycle & Workflow
  5. The Apex Mermaid Architectural Flowchart
  6. Absolute Directory Structure & Complete Tool Spilling
  7. Exhaustive Module Breakdown & Technical Specifications
  8. AI Threat Scoring & Decision Matrix Mechanism
  9. Ethical, Legal & Rules of Engagement
  10. Comprehensive Installation & Getting Started
  11. Strict Contributing Guidelines & Standards
  12. Strategic Roadmap & Future Horizons
  13. Acknowledgments
  14. Connect With The Creator

1. Executive Summary & Introduction

What is HackIT?

HackIT is an enterprise-grade, autonomous offensive security framework. Built to bridge the immense gap between slow, manual penetration testing and chaotic, noisy automated scanners. HackIT mimics the exact cognitive processes of a senior penetration tester—from stealthy reconnaissance to precise payload delivery—all without human intervention.

The Philosophy

"Security through Unrelenting, Intelligent Automation."
In modern cybersecurity, the attack surface is too massive for manual enumeration. Traditional frameworks rely on single-threaded execution or bloated, monolithic codebases written in a single language. HackIT shatters this limitation by adopting a micro-engine architecture. It leverages the exact right programming language for the specific task at hand—Go for networking speed, Python for AI parsing, C for low-level memory manipulation, and Rust for memory-safe parsers.


2. The "Why HackIT?" Paradigm

When comparing HackIT against industry standards like Metasploit, Nuclei, or conventional bash scripting suites, HackIT provides distinct, architectural advantages:

  • True Autonomy: Unlike Metasploit which requires manual payload selection and configuration, HackIT's autonomous_hunter actively reads the target's environment, calculates the CVSS threat score, and fires the correct payload automatically.
  • Polyglot Execution: By utilizing Go for port scanning and Python for web exploitation, HackIT achieves 100x the speed of pure-Python frameworks while maintaining rapid scriptability.
  • Zero-Dependency Native Modules: HackIT's Go modules are compiled directly into native .exe or ELF binaries, meaning they run entirely independent of the host's underlying packages or libraries.
  • Self-Documenting: Upon completion of a campaign, the AI orchestrator dynamically generates stunning, interactive Mermaid.js flowcharts detailing the exact Attack Path taken.

3. The Polyglot Multi-Language Ecosystem Deep Dive

HackIT's sheer power stems from its strict adherence to using the absolute best tool (language) for each specific cybersecurity domain. Below is the true architectural topology of the ecosystem, accurately reflecting the latest real-time native engine integrations:

 +-------------------------------------------+
| HACKIT MASTER CLI (Python 3) |
| (main.py, NLP Logic, User Interface) |
+-------------------------------------------+
|
+-------------------------------------------+
| NATIVE GO AUTONOMOUS ORCHESTRATOR |
| (autonomous_hunter.go, Goroutine Routing) |
+-------------------------------------------+
/ | | \ \
+---------+ +---------+ +---------+ +---------+ +-----------+
| GO NATIVE | | C/C++ | | RUST | | LUA | | C# .NET |
| ENGINES | | PAYLOADS| | ENGINE | | SCRIPTS | | WIRELESS |
+---------+ +---------+ +---------+ +---------+ +-----------+
(WAF, SSL, (Raw Pkt, (High-Spd (Nmap NSE (WiFi Audit,
Fuzzer, Sub) OS Det, AV) Bruteforce) Probes) Deauth, MITM)

3.1 Python: The AI Brain & Master CLI

The entry point of the framework is built entirely on Python (main.py).

  • Role: Handles the command-line interface, parses user arguments, executes Natural Language Processing (NLP) against target heuristics, and acts as the brain that ultimately triggers the underlying Go Orchestrator.

3.2 Go (Golang): The Autonomous Orchestrator & Muscle

Go sits at the exact center of the execution framework. It is the central nervous system handling all heavy data routing.

  • Role: Massively concurrent networking and high-speed I/O. The autonomous_hunter.go binary spins up thousands of Goroutines to directly execute its 4 native engines (WAF Detection, SSL Auditing, Subdomain Takeover, and Deep Directory Fuzzing).
  • Location: Resides entirely within hackit/agent/go/ and compiled down to ai_engine.exe.

3.3 C & C++: Low-Level Memory & Raw Packet Engine

When interacting directly with the operating system kernel, C/C++ takes over.

  • Role: Crafting completely raw packets at the socket level, precise Operating System detection (OS Det) via TCP/IP stack fingerprinting, API unhooking, and memory injection payloads (bypassing AV/EDR).
  • Location: Scripts found within payloads/ directory and compiled dynamically.

3.4 Rust: The Bruteforce & Cryptography Engine

Rust is integrated to handle incredibly sensitive tasks where speed and memory safety are paramount.

  • Role: High-speed, memory-safe cryptographic brute-forcers (hash cracking) and Deep Packet Inspection (DPI).
  • Benefit: Ensures that massive dictionary attacks or parsing malformed honeypot responses do not cause Buffer Overflows within HackIT itself.

3.5 Lua: Lightweight NSE-Style Probes

HackIT integrates lightweight scripting for rapid service discovery.

  • Role: Crafting bespoke nse_scripts/ that mimic Nmap's core engine to identify obscure IoT devices, SCADA protocols, or zero-day service banners rapidly without compiling new native code.

3.6 C#: Wireless Attack & Packet Injection Engine

HackIT leverages C# (.NET) for high-performance wireless (802.11) auditing on Windows platforms where raw socket access via C/C++ is restricted.

  • Role: Native Windows wireless packet injection, deauthentication attacks, PMKID harvesting, WPA3 handshake cracking, spectrum scanning, and advanced MITM engine.
  • Location:hackit/wireless/csharp_core/ (core library) and hackit/wireless/hackitwireless-cs/ (full attack suite with solution file).
  • Benefit: C# provides first-class access to the Windows Native WiFi API (wlanapi.dll), making it the only viable language for driver-level wireless packet injection on Windows without requiring WSL2.

4. Autonomous Intelligence Lifecycle & Workflow

The heartbeat of HackIT is the AI Autonomous Hunter. It follows a rigorous, militaristic order of operations:

  1. Reconnaissance (The Wide Net): The Python orchestrator calls the Go Subdomain tool. Go fetches records from crt.sh and RapidDNS in 2 seconds.
  2. Host Discovery (The Sieve): Go resolves CNAMEs to IPs, checking for Dangling DNS (Takeovers).
  3. Deep Port Scanning (The Probe): Go TCP-Connect scanner hits the IPs. It doesn't just check if port 80 is open; it sends a dummy GET / HTTP/1.1 to rip the banner.
  4. Vulnerability Audit (The Interrogation): Python reads the Go JSON output. If it sees "LiteSpeed", it cross-references its local CVE database. Go triggers the WAF detector to see if Cloudflare blocks malicious payloads.
  5. Exploitation (The Strike): Python writes customized payloads based on the specific WAF bypass required and fires them.
  6. Reporting (The Documentation): The AI generates a Markdown file embedding a dynamic Mermaid.js flowchart of the exact attack vector that succeeded.

5. The Apex Mermaid Architectural Flowchart

Below is the complete execution pipeline from user command through every engine in the HackIT polyglot ecosystem, designed as an intuitive decision tree:

flowchart TD
classDef startNode fill:#e74c3c,stroke:#c0392b,stroke-width:2px,color:#fff
classDef decLeft fill:#1e8449,stroke:#145a32,stroke-width:2px,color:#fff
classDef stepLeft fill:#d35400,stroke:#a04000,stroke-width:2px,color:#fff
classDef decRight fill:#9acd32,stroke:#6b8e23,stroke-width:2px,color:#fff
classDef stepRight fill:#8a2be2,stroke:#4b0082,stroke-width:2px,color:#fff
Start(["HackIT CLI (main.py)"]):::startNode
Dec1{"Go: WAF Detected?"}:::decLeft
DecA{"Passive OSINT Scope?"}:::decRight
Start-->|Active Attack|Dec1
Start-->|Passive Only|DecA
Step1["Python: Activate Proxy Jitter"]:::stepLeft
Dec2{"Go: Web Ports Open?"}:::decLeft
Dec1-->|YES|Step1
Dec1-->|NO|Dec2
Step1-->Dec2
Dec3{"Python: CMS Detected?"}:::decLeft
Dec4{"Go: FTP SSH Open?"}:::decLeft
Dec2-->|YES|Dec3
Dec2-->|NO|Dec4
Step4["Go: Native Deep Fuzzer"]:::stepLeft
Step3["Python: Auto SQLi XSS"]:::stepLeft
Dec3-->|YES|Step4
Dec3-->|NO|Step3
Step2["Rust: Protocol Bruteforce"]:::stepLeft
Dec5{"C: Raw Port Scan?"}:::decLeft
Dec6{"C++: Deep Fingerprint?"}:::decLeft
Dec7{"Go: Swarm AI Agents?"}:::decLeft
Dec4-->|YES|Step2
Dec4-->|NO|Dec5
Step2-->Dec5
Step4-->Dec5
Step3-->Dec5
Dec5-->|YES|Step5
Dec5-->|NO|Dec6
Step5["C: syn_scanner / os_fingerprint<br/>c_evasion / udp_scanner"]:::stepLeft
Step5-->Dec6
Dec6-->|YES|Step6
Dec6-->|NO|Dec7
Step6["C++: advanced_scanner / os_detect<br/>tls_scanner / vuln_matcher"]:::stepLeft
Step6-->Dec7
Dec7-->|YES|Step7
Dec7-->|NO|DecZ
Step7["Go: 15 Swarm AI Agents<br/>Planning → Recon → Discovery →<br/>Fingerprint → Enumeration →<br/>Vuln Analysis → Risk Scoring"]:::stepLeft
Step7-->DecZ
StepB["C++: ARP Spoofing +<br/>Subnet Ping Sweep"]:::stepRight
DecB{"Go: Subdomains Found?"}:::decRight
DecC{"C#: Wireless Target?"}:::decRight
DecD{"Lua: Run NSE Probes?"}:::decRight
DecE{"Ruby: Metasploit RPC?"}:::decRight
DecA-->|YES|DecB
DecA-->|NO|StepB
StepB-->DecC
StepA["Go: Subdomain Takeover"]:::stepRight
DecG{"Scrape Github DB?"}:::decRight
DecB-->|YES|StepA
DecB-->|NO|DecG
StepA-->DecG
StepH["Extract AWS Keys"]:::stepRight
StepI["Log OSINT Data"]:::stepRight
DecG-->|YES|StepH
DecG-->|NO|StepI
StepH-->DecC
StepI-->DecC
DecC-->|YES|StepJ
DecC-->|NO|DecD
StepJ["C#: WiFi Scanner / PacketCapture<br/>DeauthEngine / BeaconFlood<br/>PMKID Harvest / WPA3 Crack<br/>MITM Engine / SpectrumScan"]:::stepRight
StepJ-->DecD
DecD-->|YES|StepK
DecD-->|NO|DecE
StepK["Lua: 250 NSE Scripts<br/>Service Discovery / Brute-Force<br/>Vulnerability Probes"]:::stepRight
StepK-->DecE
DecE-->|YES|StepL
DecE-->|NO|DecZ
StepL["Ruby: Metasploit RPC Bridge<br/>tactical_bridge.go"]:::stepRight
StepL-->DecZ
DecZ{"Generate Report?"}:::decRight
StepM["Generate Final Report<br/>reporter.go / output.go"]:::stepRight
StepN["XML / CSV / Markdown Export"]:::stepRight
StepO["AI Mermaid Attack Flowchart"]:::stepRight
StepP["WebUI React Dashboard"]:::stepRight
DecZ-->|YES|StepM
StepM-->StepN
StepN-->StepO
StepN-->StepP
Loading

5.1 Dedicated C# Wireless Attack Architecture Flowchart

Below is the standalone C# wireless attack engine flowchart, detailing the full 802.11 auditing pipeline:

flowchart TD
classDef entry fill:#239120,stroke:#1a6b1a,stroke-width:3px,color:#fff
classDef wifi fill:#0066cc,stroke:#004499,stroke-width:2px,color:#fff
classDef attack fill:#cc3300,stroke:#992200,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
Start(["C# Wireless Engine"]):::entry
Init["csharp_core Init<br/>WifiScanner + PacketCapture"]:::wifi
Adapters["hackitwireless-cs<br/>AdvancedAdapterDetector"]:::wifi
Channel["ChannelManager<br/>Channel Hopping 1-14"]:::wifi
Start-->Init
Init-->Adapters
Adapters-->Channel
Beacon["BeaconFlood<br/>Fake AP Flood"]:::attack
Deauth["DeauthEngine<br/>Client Disassociation"]:::attack
Handshake["HandshakeCapture<br/>4-Way Handshake Sniff"]:::attack
PMKID["PmkidHarvester<br/>PMKID Extraction"]:::attack
WPA3["Wpa3Cracker<br/>SAE/WPA3 Crack"]:::attack
MITM["AdvancedMitmEngine<br/>Rogue AP + Traffic Relay"]:::attack
Spectrum["SpectrumScanner<br/>Channel Utilization"]:::attack
Channel-->Beacon
Channel-->Deauth
Deauth-->Handshake
Handshake-->PMKID
PMKID-->WPA3
Deauth-->MITM
Channel-->Spectrum
Report["Attack Report JSON"]:::output
WebUI["WebBridge.cs<br/>Live Dashboard"]:::output
Beacon-->WebUI
MITM-->Report
WPA3-->Report
Spectrum-->WebUI
Report-->WebUI
Loading

6. Absolute Directory Structure & Complete Tool Spilling

The HackIT framework is not a single script. It is an arsenal. Below is the absolute, unredacted, and exhaustively documented folder structure. Every directory serves a distinct, lethal purpose.

HackIT/
├── 🤖 hackit/ [CORE FRAMEWORK DIRECTORY]
│ ├── 🧠 agent/ # The AI Brain and Autonomous Logic
│ │ └── 🐹 go/ # Native Go Micro-Engines (The Muscle)
│ │ ├── native/ │ │ │ ├── fuzzer.go # Ultra-fast sensitive endpoint fuzzer (bypass rate-limits)
│ │ │ ├── portscan.go # Goroutine TCP worker pool (scans 65k ports in seconds)
│ │ │ ├── ssl_tls.go # SSL cert expiration, TLS downgrade, Self-signed checks
│ │ │ ├── subdomain.go# Passive OSINT via crt.sh/RapidDNS (Zero API key needed)
│ │ │ ├── takeover.go # CNAME dangling record analysis (AWS, Github, Heroku)
│ │ │ └── waf.go # Cloudflare/Akamai fingerprinting via dummy payloads
│ │ ├── autonomous_hunter.go # Go orchestrator bridge (Executes native functions)
│ │ └── ai_engine.exe # Compiled Autonomous Agent Binary
│ ├── 💥 cve/ # Automated CVE Scanners (e.g., Log4j, Spring4Shell verify)
│ ├── 📂 dir_finder/ # Python-based legacy directory brute-forcers (for complex auth)
│ ├── 🛡️ header_audit/ # Evaluates missing CSP, HSTS, X-Frame-Options headers
│ ├── 📜 js/ # Static analysis of JavaScript files for AWS keys, API tokens
│ ├── 🕸️ network_scanner/ # Local LAN attacks: ARP spoofing, subnet sweeps, MITM
│ ├── 🐘 nse_scripts/ # Custom Lua scripts for the Nmap Scripting Engine
│ ├── 🌍 osint/ # Deep intelligence gathering (Whois, Shodan, Github scraping)
│ ├── ⚙️ params/ # Hidden HTTP parameter discovery (Arjun/ParamSpider clones)
│ ├── 🚪 port_scanner/ # Python legacy port scanners (for environments lacking Go)
│ ├── 🔄 redirect/ # Scanners for Open Redirect vulnerabilities (SSRF stepping stone)
│ ├── 📜 scripts/ # Bash/Python setup scripts, environment validators
│ ├── 💉 sqli/ # Advanced SQL Injection: Time-based, Error-based, Boolean Blind
│ ├── 🔒 ssl_tool/ # Deep cipher suite analysis and Heartbleed checks
│ ├── 🌐 subdomain/ # Legacy active DNS brute-forcers using large wordlists
│ ├── 🕵️ tech_hunter/ # Web stack mapping (Detects PHP, LiteSpeed, Nginx, React)
│ ├── 🖥️ webUI/ # Source code for the local React/Vue reporting dashboard
│ ├── 💣 web_fuzzer/ # Neural payload fuzzers for REST APIs, SOAP, and GraphQL
│ ├── 📡 wireless/ # 802.11 WiFi Auditing: Deauth packets, PMKID capture scripts
│ ├── 🛑 xss/ # XSS Payload injectors (Reflected, Stored, DOM manipulation)
│ ├── anonymity.py # Proxy routing, Tor (SOCKS5) integration, MAC spoofing
│ ├── cli.py # Highly robust argparse Command-Line Interface router
│ ├── config.py # Global YAML configurations, timeouts, and API key manager
│ ├── console.py # Interactive Hacker Console (Provides the internal Shell)
│ ├── logger.py # Centralized logging, color-coded terminal output formatting
│ ├── main.py # The master entry point of the framework (Start here)
│ ├── nse_engine.py # Python interface to execute and parse Lua Nmap scripts
│ └── ui.py # Terminal User Interface (TUI), Ascii Art, loading animations
├── 📝 wordlists/ # 100GB+ curated dictionaries (Subdomains, Passwords, Directories)
├── 📊 AI_Report_*.md # Automatically generated intelligence reports (Markdown + Mermaid)
├── ⚙️ setup.py # Standard Python setuptools installer
├── 📄 requirements.txt # Massive list of Python dependencies (Requests, Scapy, etc.)
├── 📄 LICENSE # MIT Licensing Information
└── 📖 README.md # This exact, exhaustive documentation file

7. Exhaustive Module Breakdown & Technical Specifications

To understand the immense scope of HackIT, we must dive into the specific tactical executions of its modules.

7.1 Deep Reconnaissance & OSINT

  • native/subdomain.go: Bypasses active brute-forcing entirely. It connects to Certificate Transparency logs (crt.sh) and passive DNS databases (RapidDNS) concurrently. It can pull 10,000 subdomains in under 5 seconds without triggering a single IDS alarm on the target.
  • js/ Analysis: Once a web application is discovered, this module pulls all .js files. It uses regular expressions to hunt for hardcoded Bearer tokens, AKIA (AWS) keys, and hidden developer endpoints.
  • osint/: Aggregates data from Shodan (via API), Github commits (hunting for leaked passwords in repository history), and WHOIS databases.

7.2 Vulnerability Identification & Mapping

  • native/waf.go: A critical step. Before the framework sends aggressive payloads, it sends a benign payload (?id=1) and a malicious one (?id=1' OR 1=1). By comparing the HTTP response codes (e.g., a sudden 403 Forbidden or 406 Not Acceptable), it fingerprints the WAF (Cloudflare, Akamai, Imperva).
  • tech_hunter/: Analyzes HTTP Headers (Server:, X-Powered-By:), HTML meta tags, and cookies (PHPSESSID, JSESSIONID) to definitively map the target's technology stack.
  • native/ssl_tls.go: Performs a deep TLS handshake. If a server is forcing TLS 1.0, it flags it for potential POODLE/BEAST attacks.

7.3 Active Exploitation & CVE Verification

  • sqli/ & xss/: Instead of blind fuzzing, the AI uses the tech_hunter/ data. If the target is running MySQL, it only sends MySQL-specific SQLi payloads. It employs Time-Based blind logic (e.g., SLEEP(5)) to verify vulnerabilities without relying on error messages.
  • native/takeover.go: Scans all subdomains for CNAME records pointing to third-party services. If a subdomain points to elasticbeanstalk.com but returns a "Not Found" error, the framework flags it for an immediate Subdomain Takeover.
  • cve/: A continuously updated library of high-impact PoCs. If tech_hunter sees Apache Struts, it fires the corresponding CVE script automatically.

7.4 Post-Exploitation & Data Exfiltration

  • payloads/ (C/C++): Generates obfuscated reverse shells. If the target is Windows, it compiles a C++ payload that unhooks user-land APIs (like NTDLL) to bypass EDR software before executing the reverse TCP connection.
  • network_scanner/: Once inside a network, this module performs ARP spoofing and local subnet ping sweeps to pivot to domain controllers or internal databases.

7.5 Complete Tools & Engines Reference

This section catalogs every significant source file in the HackIT framework — its language, exact location, and one-line purpose. All tools are organized by the engine that owns them.

7.5.1 Python — AI Brain & Master Orchestrator

flowchart TD
classDef py fill:#3776AB,stroke:#2a5f8a,stroke-width:2px,color:#fff
classDef bridge fill:#ff9900,stroke:#cc7700,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
Main["main.py<br/>Master Entry Point"]:::py
CLI["cli.py<br/>Argparse Subcommand Router"]:::py
Console["console.py<br/>Interactive Shell"]:::py
Config["config.py<br/>YAML + API Keys"]:::py
Logger["logger.py<br/>Color Logging"]:::py
UI["ui.py<br/>TUI / ASCII Art"]:::py
Anon["anonymity.py<br/>Tor / SOCKS5 / Proxy"]:::py
NSE["nse_engine.py<br/>Lua Script Loader"]:::bridge
GoBr["go_bridge.py<br/>Go IPC JSON"]:::bridge
Plug["plugin_loader.py<br/>Lua/Ruby/Plugin Host"]:::bridge
Intel["intelligence.py<br/>CVE Mapping DB"]:::py
Targ["targets.py<br/>CIDR + Host Resolve"]:::py
Build["build_all.py<br/>Auto-Compile All Engines"]:::py
Core["core.py<br/>TCP Connect Scanner"]:::py
EBanner["engine_banner.py<br/>300+ Banner Signatures"]:::py
Multi["multi_scan.py<br/>Multi-Process Scan"]:::py
ReportOut["JSON / Console Output"]:::output
Main-->CLI
Main-->Console
Main-->Config
Main-->Logger
Main-->UI
CLI-->Anon
CLI-->NSE
CLI-->GoBr
CLI-->Plug
CLI-->Intel
CLI-->Targ
CLI-->Build
CLI-->Core
CLI-->Multi
Multi-->EBanner
Core-->EBanner
EBanner-->ReportOut
GoBr-->ReportOut
NSE-->ReportOut
Loading
FileLocationDescription
main.pyhackit/main.pyMaster CLI entry point — parses args, invokes the orchestrator
cli.pyhackit/cli.pyArgparse router for all subcommands (agent, scan, autopilot)
console.pyhackit/console.pyInteractive Hacker Console — provides the internal Shell
config.pyhackit/config.pyGlobal YAML config, timeouts, API key manager
logger.pyhackit/logger.pyCentralized color-coded terminal logging
ui.pyhackit/ui.pyTUI, ASCII art, loading animations
anonymity.pyhackit/anonymity.pyProxy routing, Tor SOCKS5, MAC spoofing
nse_engine.pyhackit/nse_engine.pyPython bridge to execute & parse Lua NSE scripts
go_bridge.pyhackit/port_scanner/go_bridge.pyInvokes Go engine binary, parses JSON output
__init__.pyhackit/port_scanner/__init__.pyPackage init + CLI entry for PortStorm scanner
core.pyhackit/port_scanner/core.pyPortScanner class — threaded TCP connect + service detection
plugin_loader.pyhackit/port_scanner/plugin_loader.pyExternal plugin loader (Lua, Ruby, scripts) via subprocess
build_all.pyhackit/port_scanner/build_all.pyBuild automation — compiles C/C++/Rust/Go engines
intelligence.pyhackit/port_scanner/intelligence.pyCVE mapping & vulnerability intelligence
targets.pyhackit/port_scanner/targets.pyTarget parser — hostnames, CIDR, port lists
python_probes.pyhackit/port_scanner/python_probes.pyProbe definition validator & sample plugins
engine_banner.pyhackit/port_scanner/python/engine_banner.pyAsync/sync banner grabber — 300+ protocol signatures + OS fingerprint
multi_scan.pyhackit/port_scanner/python/multi_scan.pyMultiprocessing parallel port scanner

7.5.2 Go (Golang) — The Muscle & Concurrency Engine

flowchart TD
classDef go fill:#00ADD8,stroke:#008bb5,stroke-width:2px,color:#fff
classDef native fill:#0099cc,stroke:#0077a3,stroke-width:1px,color:#fff
classDef bridge fill:#ff9900,stroke:#cc7700,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
GoMain["main.go<br/>Flag Parser + Dispatcher"]:::go
Engine["engine.go<br/>Scan Orchestrator"]:::go
Scanner["scanner.go<br/>TCP Connect + TLS Grab"]:::go
SynScan["syn_scan.go<br/>Raw SYN Stealth"]:::go
Ports["ports.go<br/>Port↔Service Map"]:::go
Targets["targets.go<br/>Host/CIDR Resolve"]:::go
Service["service.go<br/>Banner→Product Match"]:::go
Stealth["stealth.go<br/>Port Shuffle"]:::go
Evasion["evasion.go<br/>Decoy/Frag/Rate-Limit"]:::go
Raw["raw.go<br/>ICMP + RST Detect"]:::go
Reporter["reporter.go<br/>JSON + Severity + CVE"]:::output
Output["output.go<br/>XML/CSV/Markdown"]:::output
Worker["worker_pool.go<br/>Concurrent Pool"]:::go
Intel["intel.go<br/>Shodan/OTX Enrich"]:::bridge
OSDetect["os_detect.go<br/>TTL/Window OS FP"]:::go
Scripts["scripts.go<br/>NSE-Style Probes"]:::go
LuaEng["lua_engine.go<br/>Embedded Lua Host"]:::bridge
Timing["timing.go<br/>T0–T5 Templates"]:::go
SigDB["signature_db.go<br/>400+ Signatures"]:::go
IANA["iana_services.go<br/>900+ Port Mappings"]:::go
Bridge["bridge_linux.go<br/>C/C++/Rust Launcher"]:::bridge
RustWrap["rust_wrapper.go<br/>FFI Rust DLL"]:::bridge
TactBridge["tactical_bridge.go<br/>Ruby Engine Bridge"]:::bridge
GoMain-->Engine
Engine-->Scanner
Engine-->SynScan
Engine-->Targets
Engine-->Service
Engine-->Stealth
Engine-->Evasion
Engine-->Raw
Engine-->OSDetect
Engine-->Scripts
Engine-->LuaEng
Engine-->Timing
Engine-->Worker
Engine-->Intel
Scanner-->Ports
Scanner-->SigDB
Scanner-->IANA
Service-->SigDB
Engine-->Bridge
Engine-->RustWrap
Engine-->TactBridge
Bridge-->Reporter
Scanner-->Reporter
SynScan-->Reporter
OSDetect-->Reporter
Intel-->Reporter
Reporter-->Output
subgraph AI_Agent["AI Agent Engine"]
AImain["main.go<br/>MCP + LLM Router"]:::native
Orch["orchestrator.go<br/>Multi-Provider"]:::native
Analyzer["analyzer.go<br/>Vuln Gap Analysis"]:::native
Hunter["autonomous_hunter.go<br/>Iterative Deep Scan"]:::native
DataIng["data_ingestion.go<br/>JSON Parser"]:::native
History["history.go<br/>Convo Persist"]:::native
Cmds["commands.go<br/>Slash Commands"]:::native
ReportEng["report_engine.go<br/>Markdown/HTML"]:::native
KB["knowledge_base.go<br/>Tactics KB"]:::native
Flowchart["vuln_flowchart.go<br/>Attack Vectors"]:::native
Exploits["advanced_exploits.go<br/>Banner→Exploit"]:::native
end
subgraph Native_Modules["Native Modules"]
SubGo["subdomain.go<br/>crt.sh + RapidDNS"]:::native
TakeGo["takeover.go<br/>CNAME Takeover"]:::native
PortGo["portscan.go<br/>TCP Pool"]:::native
SSLTLS["ssl_tls.go<br/>TLS Cert Audit"]:::native
TechGo["tech_mapper.go<br/>CMS Detect"]:::native
FuzzGo["fuzzer.go<br/>Path Brute"]:::native
WAF["waf.go<br/>WAF Fingerprint"]:::native
end
subgraph Swarm_Agents["Swarm Agents"]
Swarm["swarm/main.go<br/>20-Node DAG"]:::native
S1["Planning"]:::native
S2["Recon"]:::native
S3["Discovery"]:::native
S4["Fingerprint"]:::native
S5["Enumeration"]:::native
S6["Vuln Analysis"]:::native
S7["Correlation"]:::native
S8["Risk Scoring"]:::native
S9["Reporting"]:::native
S15["Dashboard"]:::native
Swarm-->S1-->S2-->S3-->S4-->S5-->S6-->S7-->S8-->S9
S8-->S15
end
Engine-->AI_Agent
Engine-->Native_Modules
Engine-->Swarm_Agents
AImain-->ReportEng
ReportEng-->Output
SubGo-->TakeGo
TechGo-->PortGo
PortGo-->SSLTLS-->FuzzGo-->WAF
S9-->Output
S15-->Output
Loading

Port Scanner Engine (30 files in hackit/port_scanner/go/)

FileDescription
main.goCLI entry — flag parsing, orchestrator loop, JSON final payload
engine.goHigh-level scan orchestrator — coordinates ports, timing, workers
scanner.goTCP connect scanner — TLS handshake, banner grab, service detection
syn_scan.goSYN scan (raw socket, requires privileges)
ports.goCommon ports database — maps port numbers → service names
targets.goTarget resolution — hostnames, CIDR, ranges, exclusion lists
service.goService version detection — regex banner-to-product matching
stealth.goPort shuffling utility for stealth scan ordering
evasion.goEvasion config — decoys, fragment delays, rate limiting
raw.goRaw socket utilities — ICMP ping, TCP RST detection
reporter.goJSON/console report generator — severity + CVE cross-refs
output.goOutput formatter — JSON, XML, CSV, Markdown
worker_pool.goConcurrent worker pool — rate limiting + adaptive slots
intel.goThreat intelligence enrichment — Shodan, AlienVault OTX
os_detect.goTCP/IP OS fingerprinting — TTL, window size, banner analysis
scripts.goNSE-style script engine — runs probe scripts against open ports
lua_engine.goEmbedded Lua scripting host for custom scan probes
timing.goTiming templates T0–T5 — scan speed, delays, parallelism
signature_db.go400+ nmap-level service signature patterns
iana_services.goComplete IANA service-name ↔ port-number mapping (900+ entries)
bridge_linux.goLinux bridge — launches C/C++/Rust binaries, captures output
rust_wrapper.goWindows cgo/FFI wrapper for Rust engine DLL
multi_bridge.goWindows bridge — runs external engines
tactical_bridge.goBridge to Ruby engine for complex protocol analysis
probe_adapter.goWindows cgo adapter — Go ↔ Rust shared library
multi_bridge.goWindows bridge run external engines
rust_wrapper.goWindows-specific FFI/cgo wrapper for the Rust engine DLL

AI Agent Engine (12 files in hackit/agent/go/)

FileDescription
main.goAI Hunter CLI — MCP server, slash commands, LLM provider router
models.goData models — AI request/response structures
orchestrator.goMulti-provider AI routing & failover
analyzer.goVulnerability analyzer — identifies gaps in scan artifacts
autonomous_hunter.goAutonomous bug hunter — iterative deep scans via AI context
data_ingestion.goParses raw port-scan JSON into structured Go types
history.goPersistent conversation history for context-aware AI
commands.goSlash-command map — halo, summary, report, exploit
report_engine.goStructured markdown/HTML pentest report generator
knowledge_base.goAI tactics KB — maps services/ports to hunting strategies
vuln_flowchart.goAttack vector model — discovery → exploitation paths
advanced_exploits.goService banner → targeted attack vector generator

Native Modules (hackit/agent/go/native/)

FileDescription
subdomain.goSubdomain enumeration — DNS brute-force + passive OSINT
takeover.goSubdomain takeover — fingerprints unclaimed cloud services
portscan.goConcurrent TCP port scanner with service detection
ssl_tls.goSSL/TLS cert extraction — issuer, subject, expiry, SANs
tech_mapper.goWeb tech stack — CMS, JS frameworks, CDN
fuzzer.goWeb path/directory fuzzer — concurrent request engine
waf.goWAF detection — identifies firewall vendors from response signatures

Swarm AI Agents (25 files in hackit/agent/go/swarm/)

AgentFileRole
main.goSwarm CLI — initializes 20-node DAG, runs all agents
core/state.goShared SwarmState context across all agents
Planningplanning/agent.goUnderstands scope, goals, rules of engagement
Reconrecon/agent.goCollects domains, subdomains, DNS, ASN, WHOIS
Discoverydiscovery/agent.goProbes attack surface — ports, live hosts
Fingerprintfingerprint/agent.goDetects OS, web server, framework, CMS, DB, WAF
Enumerationenumeration/agent.goBrute-forces paths, APIs, admin panels
Vuln Analysisvuln_analysis/agent.goCross-references findings against CVEs
Correlationcorrelation/agent.goConnects isolated findings → attack chains
Evidenceevidence/agent.goStores proofs — logs, HTTP req/res, screenshots
Risk Scoringrisk_scoring/agent.goCVSS 4.0 calculation + business impact prioritization
Reportingreporting/agent.goCompiles final JSON + Markdown reports
Memorymemory/agent.goTracks historical changes, persists knowledge (SQLite)
Learninglearning/agent.goIdentifies patterns, optimizes future scan rules
Knowledge Graphknowledge_graph/agent.goMaps relational web of assets & vulnerabilities
Threat Modelingthreat_modeling/agent.goSTRIDE / MITRE ATT&CK structural analysis
Security Advisorsecurity_advisor/agent.goProduces actionable technical mitigations
Monitoringmonitoring/agent.goContinuous background asset inventory monitoring
Dashboarddashboard/agent.goBridges swarm data to WebUI frontend
Log Analysislog_analysis/agent.goParses raw tool logs for hidden anomalies
Asset Intelasset_intel/agent.goLiving inventory of all known corporate assets
Zero-Dayzeroday/agent.goScans source/JS for dangerous sinks & 0-day flaws
Attack Chainattack_chain/agent.goModels multi-stage attacks from low-severity findings
Business Logicbusiness_logic/agent.goMulti-step custom business logic scenario execution
Reasoningreasoning/agent.goMaps RBAC, models logic for IDOR/BFL detection
Evasionevasion/agent.goMonitors rate-limits, rotates UA/proxies, WAF bypasses
Exploitationexploitation/agent.goPayload generation + reproducibility testing
PoC Generatorpoc_generator/agent.goProduces runnable Python/Bash/Curl exploit scripts
Bounty Intelbounty_intel/agent.goPrioritizes findings by real-world bug bounty impact
MCP Integrationmcp_integration/agent.goBridges swarm with external security tools

7.5.3 C — Low-Level Memory & Raw Packet Engine

flowchart TD
classDef c fill:#00599C,stroke:#004080,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
Syn["syn_scanner.c<br/>11 Raw Scan Modes<br/>SYN/FIN/XMAS/NULL/ACK/Window/<br/>Maimon/Protocol/Idle/Anon/Connect"]:::c
Evasion["c_evasion.c<br/>Ghost Protocol + Chaos<br/>Decoy IP + Frag + Badsum"]:::c
OS["os_fingerprint.c<br/>80+ TCP/IP Stack Signatures"]:::c
UDP["udp_scanner.c<br/>UDP Probe + ICMP Unreach"]:::c
Mass["mass_tcp_scanner.c<br/>Masscan-Style Rate Pacing"]:::c
Async["epoll_scanner.c<br/>Async 100K+ Port I/O"]:::c
Adv["advanced_scanner.c<br/>Raw Socket + TTL FP"]:::c
Stealth["stealth_evasion.c<br/>Packet Frag + Decoy Gen"]:::c
NetOracle["network_oracle.c<br/>WHOIS + Registrar Parse"]:::c
OSBasic["os_detect.c<br/>Basic TTL/Window FP"]:::c
Basic["scanner.c<br/>Multi-Platform TCP Connect"]:::c
ReportOut["JSON RESULT Lines"]:::output
Syn-->ReportOut
Evasion-->ReportOut
OS-->ReportOut
UDP-->ReportOut
Mass-->ReportOut
Async-->ReportOut
Adv-->ReportOut
Stealth-->Evasion
NetOracle-->ReportOut
OSBasic-->ReportOut
Basic-->ReportOut
Loading
FileLocationDescription
scanner.cport_scanner/c/scanner.cMulti-platform TCP connect scanner — DNS resolution, port ranges
syn_scanner.cport_scanner/c/syn_scanner.cRaw SYN stealth scanner — 11 scan modes (SYN, FIN, XMAS, NULL, ACK, Window, Maimon, Protocol, Idle, Anon-Self, Connect), decoys, chaos, src_port, TTL, delay, rate limiting
advanced_scanner.cport_scanner/c/advanced_scanner.cUltra-high-performance raw socket scanner — ICMP ping, TTL fingerprint
mass_tcp_scanner.cport_scanner/c/mass_tcp_scanner.cMasscan-style high-speed scanner — configurable rate, adaptive pacing
os_detect.cport_scanner/c/os_detect.cTCP-based OS fingerprint — TTL/window-size heuristics
os_fingerprint.cport_scanner/c/os_fingerprint.cMulti-probe OS fingerprint engine — TCP/IP stack signature matching (80+ signatures)
udp_scanner.cport_scanner/c/udp_scanner.cUDP port scanner — protocol-specific probes + ICMP unreach detection
stealth_evasion.cport_scanner/c/stealth_evasion.cFirewall bypass — packet fragmentation, decoy IP generation
c_evasion.cport_scanner/c/c_evasion.cRaw-packet evasion engine — IP/TCP header manipulation, spoofed src, Ghost Protocol, Chaos, badsum
epoll_scanner.cport_scanner/c/epoll_scanner.cAsync I/O scanner — epoll/kqueue/IOCP for 100K+ port scans
network_oracle.cport_scanner/c/network_oracle.cDeep network intelligence — WHOIS parsing, registrar analysis

7.5.4 C++ — Deep Service & OS Fingerprinting

flowchart TD
classDef cpp fill:#00599C,stroke:#004080,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
Adv["advanced_scanner.cpp<br/>180+ Service + 40+ OS + 65 CVE"]:::cpp
OSDet["os_detect.cpp<br/>72 OS Signatures<br/>TCP_INFO + Raw SYN"]:::cpp
TLS["tls_scanner.cpp<br/>SSL/TLS Cipher + Cert Audit"]:::cpp
Vuln["vuln_matcher.cpp<br/>CVE Cross-Reference Engine"]:::cpp
Service["service_scanner.cpp<br/>Banner→Version Regex"]:::cpp
Deep["deep_auditor.cpp<br/>Protocol State Analysis"]:::cpp
Surf["surface_analyzer.cpp<br/>Risk Scores + Remediation"]:::cpp
VulnScan["vulnerability_scanner.cpp<br/>Exploit Signature Match"]:::cpp
Audit["service_audit.cpp<br/>Config Weakness Detect"]:::cpp
ReportOut["JSON Result + Risk Score"]:::output
Service-->Adv
Adv-->Vuln
Adv-->OSDet
OSDet-->TLS
Adv-->Deep
Deep-->Surf
Vuln-->VulnScan
VulnScan-->Audit
Adv-->ReportOut
OSDet-->ReportOut
TLS-->ReportOut
Vuln-->ReportOut
Surf-->ReportOut
Loading
FileLocationDescription
advanced_scanner.cppport_scanner/cpp/advanced_scanner.cppDeep service fingerprint — 180+ version patterns, 40+ OS sigs, ~65 CVEs, risk scoring
service_scanner.cppport_scanner/cpp/service_scanner.cppService & version discovery — banner grabbing + regex version extraction
os_detect.cppport_scanner/cpp/os_detect.cppReal TCP/IP OS fingerprint — raw SYN probes, TTL/banner analysis, 72 OS signatures via getsockopt(TCP_INFO)
deep_auditor.cppport_scanner/cpp/deep_auditor.cppDeep protocol auditor — intensive state analysis, multi-vector service mapping
surface_analyzer.cppport_scanner/cpp/surface_analyzer.cppAttack surface analyzer — risk scores, severity distribution, remediation
vulnerability_scanner.cppport_scanner/cpp/vulnerability_scanner.cppVulnerability scanner — exploit signature matching, protocol state auditing
vuln_matcher.cppport_scanner/cpp/vuln_matcher.cppCVE cross-referencer — matches service product/version against CVE database
tls_scanner.cppport_scanner/cpp/tls_scanner.cppTLS/SSL cert extractor + cipher suite scanner
service_audit.cppport_scanner/cpp/service_audit.cppService auditing engine — configuration weakness detection

7.5.5 Rust — Memory-Safe High-Speed Engine

flowchart TD
classDef rust fill:#000000,stroke:#333333,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
subgraph Standalone["Standalone Scanner"]
Main["main.rs<br/>Async TCP Connect"]:::rust
Hyper["hyper_scan.rs<br/>Concurrent Pool + Banner"]:::rust
Syn["syn_scanner.rs<br/>Raw IP/TCP SYN"]:::rust
OS["os_detect.rs<br/>TTL/Window/MSS FP"]:::rust
end
subgraph FFI_Lib["Go Sub-Engine FFI Library"]
Lib["lib.rs<br/>1300+ lines FFI Export"]:::rust
Core["core_engine.rs<br/>C-FFI Mass Scan"]:::rust
Scanner["scanner_core.rs<br/>Scan Type Enum<br/>SYN/FIN/XMAS/NULL/ACK"]:::rust
Fast["fast_scanner.rs<br/>Async Banner + 100 FP"]:::rust
Masscan["masscan.rs<br/>Streaming Ultra-Fast"]:::rust
Deep["deep_scan.rs<br/>Multi-Vector Vuln"]:::rust
ProbeEng["probe_engine.rs<br/>Structured Probes"]:::rust
ProbeRun["probe_runner.rs<br/>TCP/UDP Executor"]:::rust
FFIProbe["ffi_probe.rs<br/>C/Go Probe Handle"]:::rust
Evasion["evasion.rs<br/>Ghost Protocol FFI"]:::rust
OSFP["os_fingerprint.rs<br/>FFI TCP OS Detect"]:::rust
ExploitDB["exploit_db.rs<br/>Regex CVE Matching"]:::rust
Secret["secret_mapper.rs<br/>Leaked Key Detection"]:::rust
AdvMod["advanced_modules.rs<br/>Firewall Bypass"]:::rust
end
subgraph Binaries["Standalone Binaries"]
WebFP["web_fingerprint.rs<br/>CMS/WAF Detection"]:::rust
Kernel["kernel_detect.rs<br/>TCP/IP Kernel Match"]:::rust
DNS["dns_detect.rs<br/>A/MX/TXT/NS/CNAME"]:::rust
end
ReportOut["JSON Result"]:::output
Main-->ReportOut
Hyper-->ReportOut
Syn-->ReportOut
OS-->ReportOut
Lib-->Fast
Lib-->Masscan
Lib-->Deep
Fast-->ReportOut
Masscan-->ReportOut
Deep-->ReportOut
WebFP-->ReportOut
Kernel-->ReportOut
DNS-->ReportOut
Loading

Standalone scanner (port_scanner/rust/src/)

FileDescription
main.rsAsync Rust port scanner — TCP connect, banner grab, OS detect
hyper_scan.rsAsync hyper-scan — concurrent connection pooling, banner collection
syn_scanner.rsRaw SYN scanner — IP/TCP headers via raw sockets for stealth
os_detect.rsTCP/IP OS fingerprint — TTL, window, MSS analysis

Go sub-engine (port_scanner/go/rust_engine/src/) — FFI-exported to Go bridge

FileDescription
lib.rsLibrary root — exposes all modules via FFI to Go (1300+ lines)
core_engine.rsCore engine — C-FFI mass scanning + result reporting
scanner_core.rsScan type enum — SYN/FIN/XMAS/NULL/ACK/Maimon/Window
fast_scanner.rsAsync TCP banner grabber — 100+ fingerprint patterns, FFI export
masscan.rsMasscan-style ultra-fast scanner — real-time streaming
deep_scan.rsDeep vulnerability orchestrator — multi-vector probing + exploit chaining
probe_engine.rsProbe definition engine — serialization of structured probes
probe_loader.rsFilesystem probe loader
probe_runner.rsTCP/UDP probe executor — timeout + response parsing
ffi_probe.rsFFI-safe probe handle — C/Go interop
evasion.rsGhost Protocol evasion — fragmentation, decoys, randomized delays
os_fingerprint.rsFFI-exported OS fingerprinting
exploit_db.rsExploit signature DB — regex CVE matching + payload management
secret_mapper.rsSecret intelligence mapper — leaked keys, metadata in banners
advanced_modules.rsFirewall detection + bypass method identification

Standalone binaries (port_scanner/go/rust_engine/src/bin/)

FileDescription
hyper_scan.rsAsync hyper-scan binary (identical to rust/src/hyper_scan.rs)
syn_scanner.rsRaw SYN scanner binary
web_fingerprint.rsWeb tech fingerprint — CMS, frameworks, WAF via HTTP analysis
kernel_detect.rsRemote kernel detection — TCP/IP stack parameter matching
dns_detect.rsDNS record enumeration — A, AAAA, MX, TXT, NS, CNAME, SOA
os_detect.rsTCP/IP OS fingerprint binary

7.5.6 Lua — NSE-Style Scripting Engine

flowchart TD
classDef lua fill:#2C2D72,stroke:#1e1f4f,stroke-width:2px,color:#fff
classDef py fill:#3776AB,stroke:#2a5f8a,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
PyEngine["nse_engine.py<br/>Python NSE Loader"]:::py
NSE["250 .nse Scripts<br/>Service Discovery<br/>Brute-Force<br/>Vuln Probes"]:::lua
Validate["lua -e 'loadfile()'<br/>Syntax Validation"]:::lua
OpenPort["Open Port Detected<br/>→ Dispatch Script"]:::py
Result["Banner / Vuln / Credential Output"]:::output
OpenPort-->PyEngine
PyEngine-->NSE
NSE-->Validate
Validate-->Result
Loading
LocationDescription
hackit/nse_scripts/250 custom .nse scripts — service discovery, brute-force, vulnerability probes
hackit/nse_engine.pyPython engine — loads, validates, and executes .nse scripts against open ports

7.5.7 C# — Wireless Attack & Packet Injection Engine

flowchart TD
classDef csharp fill:#239120,stroke:#1b6e18,stroke-width:2px,color:#fff
classDef output fill:#666666,stroke:#444444,stroke-width:2px,color:#fff
subgraph Core["Core Library (csharp_core)"]
Program["Program.cs<br/>Console Entry Point"]:::csharp
Attack["AttackEngine.cs<br/>Attack Orchestrator"]:::csharp
Web["WebBridge.cs<br/>HTTP Live Dashboard"]:::csharp
Packet["PacketCapture.cs<br/>802.11 Frame Capture"]:::csharp
Wifi["WifiScanner.cs<br/>SSID/BSSID Scan"]:::csharp
end
subgraph Suite["Attack Suite (hackitwireless-cs)"]
Adapter["AdvancedAdapterDetector.cs<br/>Monitor Mode + Driver Check"]:::csharp
Channel["ChannelManager.cs<br/>2.4+5 GHz Hopping"]:::csharp
Beacon["BeaconFlood.cs<br/>1000+ Fake AP SSIDs"]:::csharp
Deauth["DeauthEngine.cs<br/>Client Disassociation Flood"]:::csharp
Handshake["HandshakeCapture.cs<br/>EAPOL 4-Way Sniff"]:::csharp
PMKID["PmkidHarvester.cs<br/>RSN IE + PMKID Extract"]:::csharp
WPA3["Wpa3Cracker.cs<br/>SAE Handshake Crack"]:::csharp
MITM["AdvancedMitmEngine.cs<br/>Rogue AP Traffic Relay"]:::csharp
Spectrum["SpectrumScanner.cs<br/>Channel Utilization"]:::csharp
AdvAttack["AdvancedWirelessAttackEngine.cs<br/>Multi-Vector Scheduler"]:::csharp
end
Report["JSON Attack Report"]:::output
Dash["WebBridge Dashboard"]:::output
Program-->Wifi
Program-->Packet
Wifi-->Attack
Packet-->Attack
Attack-->Adapter
Adapter-->Channel
Channel-->Beacon
Channel-->Deauth
Deauth-->Handshake
Handshake-->PMKID
PMKID-->WPA3
Deauth-->MITM
Channel-->Spectrum
Attack-->AdvAttack
AdvAttack-->Beacon
AdvAttack-->Deauth
AdvAttack-->MITM
Beacon-->Dash
WPA3-->Report
MITM-->Report
Spectrum-->Dash
Web-->Dash
Report-->Dash
Loading

Core Library (hackit/wireless/csharp_core/)

FileDescription
Program.csConsole entry point — initializes WiFi scanner + packet capture
AttackEngine.csCentral attack orchestrator — coordinates deauth, beacon, MITM operations
WebBridge.csReal-time web dashboard bridge — streams scan data via HTTP
PacketCapture.cs802.11 frame capture — monitors channel traffic, filters management frames
WifiScanner.csWiFi adapter enumeration — SSID scan, BSSID resolution, signal strength
csharp_core.csproj.NET project file — targets .NET 6.0+

Full Attack Suite (hackit/wireless/hackitwireless-cs/)

FileDescription
HackItWireless.slnVisual Studio solution file
HackItWireless.csproj.NET project file
AdvancedAdapterDetector.csDeep adapter capability detection — monitor mode, packet injection support, driver version
AdvancedWirelessAttackEngine.csMulti-vector attack orchestrator — coordinates channel hopping + attack scheduling
PmkidHarvester.csPMKID extraction from 4-way handshakes — RSN IE parsing, key derivation
ChannelManager.csIntelligent channel hopping — 2.4 GHz + 5 GHz band switching, channel utilization stats
Wpa3Cracker.csWPA3 SAE handshake cracker — password derivation from captured handshake
AdvancedMitmEngine.csRogue AP relay — captures victim traffic, forwards to legitimate AP, decrypts on-the-fly
SpectrumScanner.csChannel utilization analysis — noise floor, signal density, channel ranking
BeaconFlood.csMass fake AP beacon generation — 1000+ fake SSIDs for network obfuscation
DeauthEngine.csDeauthentication frame flood — targeted client disassociation with configurable rate
HandshakeCapture.csWPA 4-way handshake sniffer — waits for EAPOL frames, extracts nonces + MIC

8. AI Threat Scoring & Decision Matrix Mechanism

How does HackIT know what to do next? The Python orchestrator (autonomous_hunter.py) utilizes a dynamic Threat Scoring Matrix.

  1. Ingestion: Native Go modules dump findings into memory via JSON.
  2. Contextual Evaluation: The AI evaluates the finding. An exposed /.git/ directory on an internal development IP is scored as a High impact. The same /.git/ on a public-facing domain is scored as Critical.
  3. Execution Branching: Based on the score, the state-machine branches. If WAF is detected, the AI routes all subsequent payloads through the anonymity.py module to add jitter and header obfuscation, preventing IP bans.
  4. False Positive Reduction: If a vulnerability is found (e.g., an XSS reflection), the AI will fire a secondary, distinct payload to confirm execution, practically eliminating false positives in the final report.

9. Ethical, Legal & Rules of Engagement

🛑 CRITICAL LEGAL WARNING: STRICT LIABILITY
HackIT is a weaponized intelligence framework capable of causing severe disruption to networks, compromising sensitive databases, and bypassing enterprise security controls.

RULES OF ENGAGEMENT:

  1. Authorization: You may ONLY execute HackIT against domains, IP addresses, and networks for which you hold a legally binding, signed Statement of Work (SOW) or explicit written permission from the system owner.
  2. Liability: The creator (Hanif Abdurrohim), contributors, and the GitHub platform assume absolutely ZERO liability for any damages, data loss, service outages, or legal ramifications resulting from the use of this software.
  3. Ethical Use: This tool is designed to secure systems by proving their vulnerabilities. Using it for extortion, unauthorized access, state-sponsored cyber-warfare, or malice is a severe violation of federal and international cyber laws.

By cloning this repository, you explicitly agree to bear full legal and financial responsibility for every packet generated by this framework.


10. Comprehensive Installation & Getting Started

Because HackIT relies on a highly advanced polyglot architecture, the installation process requires setting up multiple compiling environments. Do not skip any steps, or the AI orchestrator will fail to trigger specific payloads.

10.1 General Prerequisites (All Platforms)

Before proceeding with OS-specific instructions, ensure your system has Git installed to clone the repository.

git clone https://github.com/dextryayers/HackIT.git
cd HackIT

10.2 🐧 Linux Installation (Debian/Ubuntu/Kali)

Linux is the native and highly recommended environment for HackIT.

Step 1: Install Core Compilers & Network Dependencies

sudo apt update && sudo apt upgrade -y
sudo apt install -y python3 python3-pip python3-venv build-essential gcc g++ libpcap-dev nmap ruby-full

Step 2: Install Go (Golang) & Rust

# Install Go natively
wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source$HOME/.cargo/env

Step 3: Setup Python Virtual Environment

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Step 4: Compile the Native Go Engines

cd hackit/agent/go/
go mod tidy
go build -o ai_engine
chmod +x ai_engine
cd ../../../

10.3 🍎 macOS Installation (Intel & Apple Silicon M1/M2/M3)

macOS users should utilize Homebrew for a seamless installation.

Step 1: Install Homebrew (If not installed)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step 2: Install Compilers & Dependencies

brew update
brew install python go rust nmap ruby gcc libpcap

Step 3: Setup Python Virtual Environment

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Step 4: Compile the Native Go Engines

cd hackit/agent/go/
go mod tidy
go build -o ai_engine_mac
chmod +x ai_engine_mac
cd ../../../

10.4 🪟 Windows Installation (Native & WSL2)

For Windows users, using WSL2 (Windows Subsystem for Linux - Ubuntu) is strictly recommended due to raw packet crafting (Scapy) limitations on Windows kernels. However, if you must run it natively on Windows 10/11, follow these steps:

Step 1: Install Prerequisites via Chocolatey (Run PowerShell as Administrator)

Set-ExecutionPolicy Bypass -Scope Process-Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install python golang rust nmap ruby mingw -y

Step 2: Setup Python Virtual Environment (Command Prompt)

python -m venv .venv
.venv\Scripts\activate
pip install --upgrade pip
pip install -r requirements.txt

Step 3: Compile the Native Go Engines

cd hackit\agent\go\
go mod tidy
go build -o ai_engine.exe
cd ..\..\..\

(Note for Windows Native users: Metasploit RPC and libpcap-based networking modules may face compatibility issues. Use WSL2 for 100% feature parity).

10.5 Final Verification & Launching the Framework

Once all compilers are installed, dependencies are met, and the native Go engine is compiled, return to the root directory (HackIT/) and launch the master console to verify the installation:

# Ensure your Python virtual environment is active
python main.py

To immediately launch a fully autonomous scan against an authorized target:

python main.py agent autopilot <target.com>

10.6 Multi-Engine Build & Compilation (All Languages)

Because HackIT ships engines in C, C++, Rust, Go, and Lua, each engine must be compiled separately. Below are the exact build commands for every engine in the framework. All compiled binaries are placed in hackit/port_scanner/bin/.

10.6.1 C Engine Build

Source:hackit/port_scanner/c/

cd hackit/port_scanner/c/
# Raw SYN scanner (11 scan modes) — requires libpcap
gcc -O3 -lpcap -o ../bin/syn_scanner syn_scanner.c
# Evasion engine (Ghost Protocol, Chaos, decoy, frag, badsum)
gcc -O3 -o ../bin/c_evasion c_evasion.c -lpcap
# OS fingerprint engine (80+ signatures)
gcc -O3 -o ../bin/os_fingerprint os_fingerprint.c
# UDP scanner
gcc -O3 -o ../bin/udp_scanner udp_scanner.c
# Advanced scanner
gcc -O3 -lpcap -o ../bin/advanced_scanner advanced_scanner.c
# Mass TCP scanner
gcc -O3 -lpthread -o ../bin/mass_tcp_scanner mass_tcp_scanner.c
# Async epoll scanner
gcc -O3 -o ../bin/epoll_scanner epoll_scanner.c -lpthread
# Basic scanners
gcc -O3 -o ../bin/scanner scanner.c
gcc -O3 -o ../bin/os_detect os_detect.c
gcc -O3 -o ../bin/stealth_evasion stealth_evasion.c
gcc -O3 -o ../bin/network_oracle network_oracle.c
cd ../../../

All C binaries require -lpcap for raw socket + packet capture support. The syn_scanner and c_evasion binaries require root privileges (or CAP_NET_RAW, CAP_NET_ADMIN) to craft raw IP/TCP packets.

10.6.2 C++ Engine Build

Source:hackit/port_scanner/cpp/

cd hackit/port_scanner/cpp/
# Deep service fingerprint + OS detection scanner
g++ -std=c++17 -O3 -lpthread -o ../bin/advanced_scanner advanced_scanner.cpp
# Real TCP/IP OS fingerprint (72 signatures, TCP_INFO)
g++ -std=c++17 -O3 -o ../bin/cpp_os_detect os_detect.cpp
# Service scanner
g++ -std=c++17 -O3 -o ../bin/service_scanner service_scanner.cpp
# TLS/SSL scanner
g++ -std=c++17 -O3 -lssl -lcrypto -o ../bin/tls_scanner tls_scanner.cpp
# Vulnerability matcher
g++ -std=c++17 -O3 -o ../bin/vuln_matcher vuln_matcher.cpp
# Other C++ tools
g++ -std=c++17 -O3 -o ../bin/deep_auditor deep_auditor.cpp
g++ -std=c++17 -O3 -o ../bin/surface_analyzer surface_analyzer.cpp
g++ -std=c++17 -O3 -o ../bin/vulnerability_scanner vulnerability_scanner.cpp
g++ -std=c++17 -O3 -o ../bin/service_audit service_audit.cpp
cd ../../../

Note: tls_scanner.cpp requires -lssl -lcrypto (OpenSSL dev libraries). Install with sudo apt install libssl-dev on Debian/Ubuntu.

10.6.3 Rust Engine Build

Standalone scanner:

cd hackit/port_scanner/rust/
cargo build --release
# Binaries placed in: target/release/
cp target/release/port_scanner ../bin/rust_port_scanner
cp target/release/hyper_scan ../bin/hyper_scan
cp target/release/syn_scanner ../bin/rust_syn_scanner
cp target/release/os_detect ../bin/os_detect

Go sub-engine (FFI shared library):

cd hackit/port_scanner/go/rust_engine/
cargo build --release
# Produces: target/release/librust_port_scanner.so
cp target/release/librust_port_scanner.so ../../bin/
cd ../../../../

The Rust FFI library (librust_port_scanner.so) is loaded at runtime by the Go bridge (rust_wrapper.go / probe_adapter.go) for high-speed banner grabbing and OS fingerprinting. To verify it loads correctly:

ldd hackit/port_scanner/bin/librust_port_scanner.so

10.6.4 Go Port Scanner Build

Source:hackit/port_scanner/go/

cd hackit/port_scanner/go/
CGO_ENABLED=1 go mod tidy
CGO_ENABLED=1 go build -o ../bin/port_scanner
cd ../../../

CGO_ENABLED=1 is required to enable C/C++ interop (for bridge_linux.go which calls syn_scanner, c_evasion, and other C/C++ binaries via os/exec). The resulting binary (port_scanner) is ~12 MB and contains all 14 scan modes, service detection, OS fingerprinting, and reporting.

10.6.5 Lua NSE Validation

Source:hackit/nse_scripts/ (250 .nse scripts)

# Validate all NSE scripts with Lua 5.4cd hackit/nse_scripts/
forfin*.nse;do
lua -e "loadfile('$f')"||echo"FAIL: $f"donecd ../../

Requires Lua 5.4. Install with:

# Debian/Ubuntu
sudo apt install lua5.4
# Build from source (if apt package too old)
curl -L -R -O https://www.lua.org/ftp/lua-5.4.7.tar.gz
tar zxf lua-5.4.7.tar.gz
cd lua-5.4.7
make linux
sudo make install
cd ..

For system-wide availability, symlink lua:

sudo ln -sf /usr/local/bin/lua /usr/bin/lua

10.6.6 AI Agent Go Engine Build

Source:hackit/agent/go/

cd hackit/agent/go/
go mod tidy
go build -o ai_engine
chmod +x ai_engine
cd ../../../

This builds the autonomous AI hunter binary that orchestrates all 20 swarm agents, LLM provider routing, and the MCP server.

10.6.7 C# Engine Build

Source:hackit/wireless/

C# projects require the .NET SDK. Install it first:

# Debian/Ubuntu
wget https://dot.net/v1/dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh --channel 8.0
export PATH="$HOME/.dotnet:$PATH"# Verify installation
dotnet --version

Build core library (csharp_core/):

cd hackit/wireless/csharp_core/
dotnet restore
dotnet build -c Release
dotnet publish -c Release -o ../../port_scanner/bin/
cd ../../../

Build full attack suite (hackitwireless-cs/ — Windows only):

# Windows PowerShell (Administrator)
cd hackit\wireless\hackitwireless-cs\
dotnet restore HackItWireless.sln
dotnet build -c Release
dotnet publish -c Release -o ..\..\port_scanner\bin\
cd ..\..\..\

The C# binaries provide native wireless packet injection on Windows via wlanapi.dll. On Linux, the C# wireless engine can be cross-compiled but requires mono or .NET runtime to execute:

# Cross-compile for Linux (from any platform)cd hackit/wireless/csharp_core/
dotnet publish -c Release --runtime linux-x64 -o ../../port_scanner/bin/
cd ../../../

10.6.8 One-Command Build (Automation Script)

Instead of running each engine build manually, use the automated build script:

python hackit/port_scanner/build_all.py

This compiles all C, C++, Rust, Go, C#, and Lua engines in sequence and copies the resulting binaries to hackit/port_scanner/bin/. Run this after every git pull to ensure your local binaries are up to date with the latest source changes.

10.6.9 Compiled Binary Inventory

After a full build, the hackit/port_scanner/bin/ directory contains these native executables (~23 MB total):

BinaryOriginSize
port_scannerGo engine12.6 MB
librust_port_scanner.soRust FFI lib4.4 MB
web_fingerprintRust binary2.9 MB
hyper_scanRust binary1.1 MB
kernel_detectRust binary682 KB
dns_detectRust binary598 KB
os_detectRust binary605 KB
advanced_scannerC++ binary467 KB
rust_syn_scannerRust binary537 KB
syn_scannerC binary125 KB
cpp_os_detectC++ binary120 KB
vuln_matcherC++ binary68 KB
tls_scannerC++ binary35 KB
mass_tcp_scannerC binary22 KB
os_fingerprintC binary22 KB
c_evasionC binary17 KB
udp_scannerC binary17 KB

11. Strict Contributing Guidelines & Standards

HackIT is an open-source behemoth. We welcome contributions from offensive security engineers and developers globally. To maintain the integrity of the framework, adhere to the following strict guidelines:

  1. Pull Requests (PRs): All PRs must target the development branch, not main.
  2. Code Formatting:
    • Python: Must pass flake8 and be formatted with black. Adhere to strict PEP8.
    • Go: Must pass go vet and be formatted with gofmt.
    • Rust: Formatted with cargo fmt.
  3. Architectural Rules: Do NOT add heavy third-party dependencies unless absolutely necessary. If a task can be done via standard libraries (e.g., Python's socket or Go's net/http), do it natively.
  4. Malware / Backdoor Policy: Any PR found containing obfuscated backdoors, hardcoded IP call-homes, or destructive unapproved commands (e.g., rm -rf /) will result in an immediate and permanent ban from the repository.

12. Strategic Roadmap & Future Horizons

HackIT is a living framework. Our roadmap dictates the evolution of the software over the next 24 months.

Phase 1: Polyglot Stabilization (Current Phase)

  • Successfully transitioning all legacy Python reconnaissance modules into ultra-fast Native Go binaries.
  • Finalizing the JSON IPC (Inter-Process Communication) between Go and Python.

Phase 2: Enterprise Dashboard & GUI

  • Developing a stunning, local web-based graphical user interface (GUI) inside the webUI/ directory using React.js and TailwindCSS.
  • Visualizing the Mermaid attack flowcharts in real-time as the AI hacks.

Phase 3: Cloud-Native Attack Vectors

  • Deep integration of modules targeting AWS IAM misconfigurations, GCP bucket enumeration, and Azure Active Directory (Entra ID) brute-forcing.

Phase 4: Local LLM Integration (Ollama)

  • Moving beyond static AI decision matrices by integrating local, privacy-preserving LLMs (like LLaMA 3).
  • The framework will pass complex, obfuscated JavaScript files to the local LLM to dynamically reverse-engineer API endpoints on the fly.

Phase 5: Kernel-Level Evasion (Rust/C++)

  • Massive expansion of the post-exploitation modules using Rust to write memory-safe rootkits that bypass modern EDR solutions via direct syscalls.

13. Acknowledgments

A project of this magnitude is never built in a vacuum. I extend my profound gratitude to:

  • The legendary creators of tools like Nmap, Metasploit, and ProjectDiscovery (Nuclei, Subfinder) whose architectural methodologies deeply inspired HackIT's Native Go engines.
  • The vibrant, open-source cybersecurity community.
  • Every penetration tester, bug bounty hunter, and security researcher who refuses to accept the status quo of automated scanning.

14. Connect With The Creator

Built with unrelenting passion, thousands of hours of coding, and a deep love for the art of offensive security. Let's connect, collaborate, and secure the future.


If HackIT has empowered your security assessments, helped you secure a bug bounty, or furthered your educational journey, please consider giving the repository a massive ⭐!

Copyright © 2026 Hanif Abdurrohim. Released under the MIT License.


⭐ Repository Star History (The Growth)

Star History Chart

END OF DOCUMENTATION

About

HackIT Penetrasi Testing - Framework Ultimate Hexa-Engine Security Suite (C/C++/Rust/Go/Py/Rb/Lua). High-performance Stealth Scanning, SQLi/XSS Auditing, & Network Intelligence

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages