Reference

Capability Matrix

gori has three entry points over shared project data and engine modules: the interactive TUI, the headless gori run CLI, and the MCP server. Sharing an engine means the same request policy and analysis apply wherever a workflow is exposed. Not every UI gesture is a CLI command or an MCP tool, though.

Protocols and operations

Where support is partial, the cell names the boundary. Replay and fuzz are gori-originated requests and pass through the same outbound gate on every surface. The Sandbox stops both. An explicit exclude rule stops a fuzz sweep but not a hand-made replay, as on the proxy path. Only the up-front scope check differs by surface: MCP refuses an out-of-scope target, gori run does once the project has a scope, and the TUI does not ask.

Protocol Capture Intercept Replay Fuzz
HTTP/1.1 Full request and response flows Requests and finite responses; upgrades, SSE, and close-delimited responses stream through Yes Yes
HTTP/2 Per-stream flows plus raw frame log Per stream; a declared body up to 1 MiB can be edited, otherwise the hold is head-only Yes, over a real h2 connection Yes
WebSocket over HTTP/1.1 Handshake and message transcript Messages when the filter explicitly contains proto:ws; a frame can be injected into a socket the proxy still relays Yes, message scripts or a live session kept open Yes, handshake and message positions
WebSocket over HTTP/2 (RFC 8441) Handshake, h2 frames, and message transcript Handshake only; messages are not held or injected Yes, message scripts (no live session); the socket is reopened with the capture's own extended CONNECT Yes, handshake and message positions
gRPC over HTTP/2 Framed messages, trailers, and protobuf projections Unary/small declared bodies can be edited; streaming bodies are head-only Yes; unary calls can be schema-aware Yes; schema-known unary fields or raw request positions
Server-Sent Events The response is captured and projected as events, live while the stream is open The request can be held; the streaming response cannot As an HTTP request As an HTTP request
HTTP/3 No No No No

The Proxy & History guide explains the buffering, WebSocket, gRPC, and HTTP/3 details. "Full" capture is still subject to the configured body-storage cap. Traffic continues byte-exact after the cap, and the flow reports both captured and wire sizes.

Entry points

Capability TUI (gori) Headless (gori run) MCP (gori mcp)
Start a capture proxy Yes gori run capture No
Own the live intercept queue Yes No; headless capture never holds messages No
Inspect or decide a live intercept item Directly gori run intercept, while a capturing TUI publishes the queue Intercept tools, while a capturing TUI publishes the queue
Inject a frame into a live proxied WebSocket History's Inject frame… gori run intercept inject, while a capturing TUI holds the socket ws_inject, while a capturing TUI holds the socket
Keep a WebSocket session open and talk on it Repeater's Live session (keep open) gori run repeater ws ws_session_open / ws_session_send
Read History, Sitemap, Probe findings, Issues, and Notes Yes Yes Yes
Replay and active-send requests Yes Yes Yes
Run Fuzzer, Miner, Discover, Sequencer, and Authorize engines Yes Yes Yes
Export issue reports Markdown / SARIF issues --format markdown|sarif list_issues{format:"markdown"|"sarif"} (paged, capped)
Export request code and CSRF PoCs Copy as menu show --format curl|python|fetch|go|httpie|csrf get_flow{format:…} (capped; socket handshake only)
UI navigation, pane focus, themes, and hotkey editing Yes Not applicable Not applicable

The command and tool inventories live in the CLI reference and MCP guide. MCP starts without a listener and normally attaches to an existing project. --read-only removes mutation and live-request tools.

Current boundaries

  • Body and short-circuit rules are decided per HTTP/2 connection. No rule kind forces a host off HTTP/2 any more, but whether a connection runs body and stub rules is decided when it opens. A body or stub rule enabled on a host that had none takes effect on the client's next connection. A body rule rewrites a unary gRPC call and lets streaming gRPC and SSE stream.
  • RFC 8441 messages cannot be intercepted or rewritten live. gori captures a WebSocket over HTTP/2 and reopens it in Repeater/Fuzzer, but per-message Intercept and Match & Replace on messages are HTTP/1.1 only. Both would have to reframe a DATA payload to a different length, which deadlocks against the peer's flow-control window. Replay dials h2, waits for the origin's SETTINGS_ENABLE_CONNECT_PROTOCOL, and treats the 2xx (not a 101) as the socket opening. An origin that does not advertise the setting gets a refusal that names it, not an empty transcript. To move a browser's sockets to the HTTP/1.1 path, turn on network.strip_extended_connect.
  • Dictionary-compressed bodies are not decoded. A response under Content-Encoding: dcb or dcz (RFC 9842) needs a dictionary the client cached, so gori keeps it raw and its decode note names the cause. network.strip_available_dictionary stops proxied clients asking for one.
  • HTTP/3 is outside the proxy. network.strip_alt_svc can remove response fields advertising h3, but cannot intercept QUIC or a route learned from DNS.
  • An upstream https:// spelling is legacy, not TLS to the proxy. Bare host:port, http://…, and https://… currently all mean a plaintext HTTP CONNECT proxy in network.upstream_proxy and a project pin (only in HTTPS_PROXY and its siblings does https:// mean TLS to the proxy). Origin HTTPS still runs inside that tunnel. http+tls://… is the spelling that wraps the hop to the proxy itself in TLS. socks5:// and socks5h:// select SOCKS.
  • TLS fingerprint presets are approximations. They control the value-level ClientHello fields OpenSSL exposes, but not extension order or GREASE placement, so they do not promise a byte-exact browser JA3/JA4 match.

These are capability limits, not permission to send around the active-traffic gate. Keep every target inside the engagement you are authorised to test.