Repository navigation
Cogitator v0.7.0
First public release.
What's included
Proxy Core
- TLS MITM intercepting proxy on
127.0.0.1:8080 - On-the-fly certificate signing via local CA (
cogitator_ca.pem) - HTTP/2 support with ALPN negotiation
- HTTP CONNECT tunneling
- Per-domain
TlsAcceptorcache Export-CAcommand with browser/OS trust store instructions
Interception
- Frozen mode — pause live requests with Forward / Drop / Modify decisions
- Inline header and body editor with
Ctrl+Scommit - WebSocket interception (RFC 6455) — bidirectional frame proxying, Forward / Drop / Replace per frame
- WebSocket frame history with opcode, direction, and payload preview
History
- 10,000-record FIFO ring buffer of all intercepted exchanges
- 1 MB body cap with truncation tag
- Filter by host, method, status range, and tag
record_responsefills in response side once origin replies
Repeater
- Multi-tab manual HTTP/1.1 request replay
Send-To-Repeater <id>from history- Brotli/gzip decompression on resend (strips
Accept-Encodingbefore forwarding) Ctrl+Enterto send,Ctrl+N/W/Htab management
Active Scanner
ScanChecktrait with semaphore-bounded concurrency- SQL injection — error-based signatures (MySQL, Postgres, MSSQL, SQLite, Oracle)
- XSS — reflected and stored detection with unique per-probe markers
- Path traversal — per path-segment and per query-parameter substitution
Scan-Site <domain>andScan-Request <id>commandsScan-Diff— compares latest scan snapshot against previous run
Intruder
- Attack modes: Sniper, Battering Ram, Pitchfork, Cluster Bomb
- Lazy wordlist loading
§PAYLOAD§marker substitution in request templatesFuzz <url> <wordlist>andIntruder-Load <file>commands
Spider
- BFS crawler with configurable depth (
Spider-Depth <domain> <N>) - robots.txt caching and respect
- HTML link and form extraction
- History integration — discovered requests logged automatically
- Anomaly highlighting in Spider view
truncate_middle()for long URLs in TUI
Scope System
- Include/exclude rules via regex (
Scope-Add,Scope-Exclude) - Ordered evaluation — any exclude match disqualifies the URL
- NDJSON persistence (
Scope-List,Scope-Clear)
Sessions
- Cookie jar snapshot and restore (
Session-Save,Session-Load,Session-List)
Workspace
- Full session state serialization to
.cogitatorfile Workspace-Save,Workspace-Load,Workspace-New- Scan snapshot accumulation for
Scan-Diff
Web & Crypto Analysis
- Full site audit: headers, redirects, tech fingerprinting (
Analyze-Site) - JSON export (
Analyze-Site-Json) - Email security audit: SPF, DKIM, DMARC (
Analyze-Email) - TLS/cookie audit with A–F grading, HSTS analysis, JWT detection in cookies (
crypto_forensic) - CVE lookup via
cve.circl.lu
Network & Process
- Active socket listing with reverse DNS resolution and TTL cache (
GC) - Process list, suspicious CPU detection, process kill (
GP,Find-Suspicious,Exterminate <PID>) - Network interface listing (
Get-NIF)
Plugin System
cogitator-plugin-apicrate with versioned ABIexport_plugin!macro for registration- Built-in plugin registration via
inventory - External
.soplugin loading vialibloading
Infrastructure
- Structured JSON logging via
tracing(cogitator.log) - All magic numbers centralized in
config.rs - Shared
reqwest::Clientconstructed once at startup SiteAnalyzertrait for dependency injection in proxy pipelinetokioasync runtime withblock_in_placefor TUI/proxy coexistence- System notifications via
notify-rust
Requirements
- Rust 1.80+ (2024 edition)
- Linux / macOS / Windows