What the Interceptor Does

The Interceptor operates as a local man-in-the-middle proxy. All traffic from your browser flows through PhantomYerra before reaching the target. You can pause any request, inspect it, modify it, and then forward or drop it. This is the foundation of manual web application testing — it gives you full visibility and control over every byte that leaves the browser.

Step 1: Proxy Setup

PhantomYerra runs a local proxy on 127.0.0.1:8080 by default. You need to configure your browser to route traffic through this proxy.

Default Proxy Settings

SettingValue
Proxy Address127.0.0.1
HTTP Port8080
SOCKS Port8081 (optional)
ProtocolHTTP/HTTPS/WebSocket
Custom Port: If port 8080 is already in use, change the proxy port in Settings → Interceptor → Proxy Port. PhantomYerra will validate the port is available before binding.

Browser Configuration

Option A: Use PhantomYerra's Built-in Browser

PhantomYerra includes an embedded Chromium browser pre-configured with the proxy and CA certificate. Click Interceptor → Open Browser to launch it. No manual configuration needed.

Option B: Configure Firefox

  1. 1

    Open Network Settings

    Navigate to Settings → General → Network Settings → Settings...

  2. 2

    Set Manual Proxy

    Select Manual proxy configuration. Set HTTP Proxy to 127.0.0.1, Port 8080. Check Also use this proxy for HTTPS.

  3. 3

    Set No Proxy For

    Leave the "No proxy for" field empty, or add addresses you want to exclude from interception (e.g., localhost, 127.0.0.1 if testing a local app).

Option C: Configure Chrome

  1. 1

    Launch with Proxy Flag

    Close all Chrome windows. Launch Chrome from the command line:

    chrome.exe --proxy-server="http://127.0.0.1:8080"

    Or use PhantomYerra's Launch Chrome with Proxy button, which does this automatically.

  2. 2

    System Proxy (Alternative)

    On Windows: Settings → Network & Internet → Proxy → Manual proxy setup. Set address 127.0.0.1, port 8080.

Step 2: CA Certificate Installation

To intercept HTTPS traffic, your browser must trust PhantomYerra's Certificate Authority (CA). Without this, the browser will show certificate warnings for every HTTPS site.

Export the Certificate

Click Interceptor → Export CA Certificate. PhantomYerra saves the CA certificate as phantomyerra-ca.pem to your chosen directory.

Install in Firefox

  1. 1

    Import Certificate

    Go to Settings → Privacy & Security → Certificates → View Certificates → Authorities → Import. Select the exported phantomyerra-ca.pem file.

  2. 2

    Trust Settings

    Check Trust this CA to identify websites. Click OK.

Install in Chrome / Edge (Windows)

  1. 1

    Open Certificate Manager

    Press Win+R, type certmgr.msc, press Enter.

  2. 2

    Import to Trusted Root

    Navigate to Trusted Root Certification Authorities → Certificates. Right-click → All Tasks → Import. Select the phantomyerra-ca.pem file and complete the wizard.

Install on Linux

sudo cp phantomyerra-ca.pem /usr/local/share/ca-certificates/phantomyerra-ca.crt sudo update-ca-certificates
Auto-Install: Click Interceptor → Install CA Certificate and PhantomYerra will attempt to install the certificate automatically on your operating system. You may need to approve an administrator prompt.

Step 3: Intercepting and Modifying Requests

Enabling Interception

Toggle the Intercept switch to ON. When enabled, requests matching your scope and breakpoint rules will pause and appear in the Interceptor panel for manual review.

The Interceptor Panel

When a request is intercepted, you see:

Actions on an Intercepted Request

ActionShortcutDescription
ForwardFSend the (possibly modified) request to the server.
DropDDiscard the request. The browser receives no response (connection reset).
Forward AllShift+FForward this and all currently queued requests without pausing.
Send to RepeaterCtrl+RCopy the request to the Repeater for manual testing.
Send to IntruderCtrl+ICopy the request to the Intruder for fuzzing.
Capture EvidenceCtrl+EHash and timestamp the request/response pair as evidence.

Modifying a Request

With a request paused in the Interceptor, you can edit any field:

# Original intercepted request POST /api/transfer HTTP/1.1 Host: banking-app.com Cookie: session=eyJhbGciOi... Content-Type: application/json {"from_account": "12345", "to_account": "67890", "amount": 100} # Modified before forwarding — testing IDOR {"from_account": "99999", "to_account": "67890", "amount": 100} # Changed from_account to another user's account ID

Breakpoints

Breakpoints let you selectively intercept only the requests you care about, rather than pausing on every single request. Configure breakpoints from Interceptor → Breakpoints.

Breakpoint Types

TypeMatch OnExample
URL PatternRequest URL (regex)/api/admin.* — intercept all admin API calls
MethodHTTP methodPOST, PUT, DELETE — intercept all state-changing requests
Header MatchHeader name:valueAuthorization: Bearer.* — intercept requests with auth tokens
Body ContainsRequest body contentpassword — intercept any request containing "password" in the body
Status CodeResponse status (response breakpoint)401, 403 — pause when server returns unauthorized/forbidden
MIME TypeResponse content typeapplication/json — only intercept JSON responses

Combining Breakpoints

Multiple breakpoints combine with AND/OR logic. For example: intercept only POST requests to /api/transfer that contain amount in the body.

WebSocket Interception

Modern web applications often use WebSockets for real-time communication. PhantomYerra intercepts WebSocket connections and displays individual frames.

# WebSocket frame log example [14:32:01] CLIENT → {"action":"getBalance","accountId":"12345"} [14:32:01] SERVER ← {"balance":5000.00,"currency":"USD"} [14:32:05] CLIENT → {"action":"getBalance","accountId":"99999"} <— MODIFIED (IDOR test) [14:32:05] SERVER ← {"balance":125000.00,"currency":"USD"} <— DIFFERENT USER'S DATA

HTTP History

All traffic flowing through the Interceptor is logged in the HTTP History panel, whether or not interception is enabled. This gives you a complete record of every request and response.

History Features

Match & Replace Rules

Define persistent rules that automatically modify requests or responses flowing through the proxy. Useful for session manipulation, header injection, and response tampering tests.

TargetMatchReplaceUse Case
Request HeaderX-Forwarded-For: .*X-Forwarded-For: 127.0.0.1IP restriction bypass testing
Request Body"role":"user""role":"admin"Privilege escalation testing
Response HeaderX-Frame-Options: DENY(remove)Clickjacking testing with header removed
Response BodyisAdmin":falseisAdmin":trueClient-side authorization bypass

Scope Configuration

Define which hosts and paths are in scope for interception. Out-of-scope traffic passes through the proxy without being logged or intercepted.

Scope Rules

Project scope sync: If you defined a target scope in the Scan Wizard, the Interceptor automatically inherits that scope. You can refine it further in the Interceptor settings.

Keyboard Shortcuts

ShortcutAction
FForward intercepted request
DDrop intercepted request
Shift+FForward all queued requests
Ctrl+RSend to Repeater
Ctrl+ISend to Intruder
Ctrl+ECapture as evidence
Ctrl+TToggle interception on/off
Ctrl+LClear HTTP history
Ctrl+FSearch in current request/response
Ctrl+BAdd breakpoint from current request
Tip: Use Ctrl+T to quickly toggle interception. When you only need to observe traffic without modifying it, turn interception off — all traffic still appears in the HTTP History.