Expand description
HTTP/HTTPS Proxy server implementation using MITM with LLM control
This module implements a sophisticated proxy server with:
- Full MITM capabilities with certificate generation/loading
- Pass-through mode for HTTPS (no decryption, allow/block only)
- LLM-controlled filtering and modification of requests/responses
- Regex-based filtering for selective interception
Modules§
- actions
- HTTP Proxy protocol actions implementation
- cert_
cache - Certificate cache for MITM proxy
- filter
- Proxy filtering and modification system
- tls_
mitm - TLS MITM (Man-in-the-Middle) orchestration for HTTPS proxy
Structs§
- Proxy
Server - HTTP/HTTPS Proxy server that intercepts and forwards requests via LLM
Constants§
- CA_
COMMON_ NAME - The common name of the CA NetGet generates. A file at
ca_export_pathwhose single certificate carries it is an earlier NetGet export. - MAX_
REQUEST_ BYTES - Largest client request head the proxy will read before giving up on it.
Functions§
- write_
ca_ export - Write the CA certificate to
ca_export_pathwithout destroying anything else.