Capture with Terminal#

Record a CLI tool or script by working in a shell that GraphDagger opens with the proxy variables already set.

Use Terminal to capture traffic from a CLI tool, a curl command, a script, or anything else that runs in a shell. GraphDagger launches the shell with the proxy environment variables already set. Any tool that respects those variables routes through the proxy.

Start a Terminal capture#

  1. Pick Terminal in the capture-source dropdown.
  2. Pick the shell type from the dropdown next to it: Default, Bash, Zsh, or PowerShell. Default uses the operating system's default shell.
  3. Select Record. GraphDagger opens a fresh terminal window with the proxy environment variables exported.

Open more terminal windows#

While a Terminal recording runs, an Open button with a terminal icon appears in the toolbar. Select it to open another terminal window with the same proxy variables exported. A long-running tool and an ad-hoc command can then share one recording.

Which tools are captured#

GraphDagger captures anything in the spawned shell that respects HTTP_PROXY and HTTPS_PROXY. It does not capture tools that bypass those variables, for example raw socket clients with hardcoded routes.

Grant automation permission on macOS#

On macOS, GraphDagger needs automation permissions to open a terminal automatically. The first time you start a Terminal recording, the system asks you to grant access. If you decline, GraphDagger reports the failure in the toolbar.