Loading...
Loading...
Starts and controls the reaper MITM proxy to capture, inspect, search, and replay HTTP/HTTPS traffic between clients and servers. Capabilities include starting/stopping the proxy scoped to specific domains, viewing captured request/response logs, searching traffic by method/path/status/host, and inspecting full raw HTTP entries for security analysis. Use when the user asks to "start the proxy", "capture traffic", "intercept requests", "inspect HTTP traffic", "search captured requests", or "view request/response".
npx skill4agent add ghostsecurity/skills ghost-proxycurl -sfL https://raw.githubusercontent.com/ghostsecurity/reaper/main/scripts/install.sh | bashreaper~/.ghost/bin/reaper~/.ghost/binPATH| Command | Purpose |
|---|---|
| Start proxy (foreground) |
| Start proxy (daemon) |
| Show recent captured entries |
| Search captured traffic |
| Show full request + response |
| Show raw HTTP request only |
| Show raw HTTP response only |
| Stop the daemon |
--domains--hosts# Intercept all traffic to example.com and its subdomains
reaper start --domains example.com
# Multiple domains
reaper start --domains example.com,api.internal.co
# Exact hostname matching
reaper start --hosts api.example.com
# Both domain suffix and exact host matching
reaper start --domains example.com --hosts special.internal.co
# Custom port (default: 8443)
reaper start --domains example.com --port 9090
# Run as background daemon
reaper start --domains example.com -d--domainsexample.comexample.comapi.example.comsub.api.example.com--hostsapi.example.comapi.example.comlocalhost:8443# curl
curl -x http://localhost:8443 -k https://api.example.com/endpoint
# Environment variables (works with many tools)
export http_proxy=http://localhost:8443
export https_proxy=http://localhost:8443
# Python requests
import requests
requests.get("https://api.example.com/endpoint",
proxies={"http": "http://localhost:8443", "https": "http://localhost:8443"},
verify=False)-kverify=False# Show last 50 entries (default)
reaper logs
# Show last 200 entries
reaper logs -n 200IDMETHODHOSTPATHSTATUSMSREQRES# By HTTP method
reaper search --method POST
# By host (supports * wildcard)
reaper search --host *.api.example.com
# By domain suffix
reaper search --domains example.com
# By path prefix (supports * wildcard)
reaper search --path /api/v3/transfer
# By status code
reaper search --status 200
# Combined filters
reaper search --method POST --path /api/v3/* --status 200 -n 50# Full request and response (raw HTTP)
reaper get 42
# Request only
reaper req 42
# Response only
reaper res 42reaper stopvalidatereaper logsreaper get <id>~/.reaper/reaper.dbreaper.sockreaper.pid