Files
ju li 1c1825f8f0 Duplicate HTML Fix
stageHandler function was missing a return statement at line 780, causing the server to serve duplicate HTML blocks when using the websites feature, causing things to render twice, and breaking embedded scripts like WAS stagers.

Signed-off-by: ju li <julietoolie@proton.me>
2026-05-05 15:40:48 -04:00
..
2026-02-05 11:38:37 -08:00
2023-11-16 18:17:04 -07:00
2026-02-06 13:54:07 -08:00
2023-06-20 11:56:47 -07:00
2026-05-05 15:40:48 -04:00
2026-03-04 14:21:07 -08:00
2025-10-04 11:49:32 -07:00
2022-09-19 11:44:30 -07:00
2026-03-15 11:51:09 -07:00

server/c2

Overview

Command-and-control service wiring exposed by the server. Manages transport listeners, job dispatch, and staging pipelines. Key routines cover C2 profile, DNS, HTTP, and jobs within the c2 subsystem.

Go Files

  • c2_test.go (tests) Tests core C2 orchestration behaviors.
  • c2profile.go Manages C2 profile metadata and binding to listeners.
  • dns.go Implements DNS listener management and query handling.
  • dns_test.go (tests) Validates DNS C2 behavior.
  • http.go Manages HTTP/HTTPS listener lifecycle and request routing.
  • http_test.go (tests) Tests HTTP C2 operations.
  • jobs.go Tracks running C2 jobs and listener status reporting.
  • mtls.go Configures mTLS listeners and certificate usage.
  • tcp-stager.go Provides TCP stager listener logic for payload delivery.
  • wireguard.go Handles WireGuard listener setup and management.