Files
apex-twin/tests
lotherk 2935b75fa6 apex-twin 1.2.0: vhost discovery, path brute force, access-log audit
Red (tools_red.c):
- vhost_discovery: Host-header fuzzing against one in-scope IP. Baseline
  status/bytes/title, then each built-in or caller-supplied name; a status
  change, a >24-byte difference or a different <title> is a hit and its
  response is saved as evidence. Plain HTTP only; TLS SNI would need a
  resolver override. 100 ms between names, 100 names max.
- http_brute: hidden-path probing from the built-in list, a comma list, or a
  wordlist file (one path per line, # comments). Hits 200/201/204/301/302/307/
  308/401/403; 100 ms apart, 40 paths default, 200 max; the first five 200/201
  bodies become evidence.

Blue (tools_blue.c):
- web_log_audit: nginx/apache access log. 2xx/3xx/4xx/5xx split, top source
  IPs, scanner user agents (sqlmap, nikto, nmap, gobuster, nuclei, hydra, ...),
  SQLi/traversal/XSS patterns after percent-decoding the URI (one entry per
  pattern) and IPs with a 4xx/5xx burst. Path limited to /var/log and the
  state dir.

Tests: Host-routing fixture (admin/api/www), path-routing fixture with words
and a wordlist file, and a synthetic access log with encoded SQLi, traversal,
scanner UAs and a 4xx burst. 456 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.2.0.
2026-11-21 11:14:56 +00:00
..