replay_flow
Resend a captured HTTP request with optional regex modifications and redirect control, enabling effective IDOR vulnerability testing.
Instructions
Resend a captured HTTP request with optional modifications (like Burp Repeater).
PREREQUISITE: Get flow_id from get_traffic_summary or search_traffic.
Session variable substitution: Any {{varname}} in URL, headers, or body is automatically replaced with the value saved by extract_session_variable. Use this for token rotation.
Regex replacements: Modify parts of the request using regex find-and-replace. Example: replacements=[{"regex": "user_id=1", "replacement": "user_id=2"}]
TYPICAL IDOR WORKFLOW:
search_traffic(query="/api/users/") → get flow_id
extract_session_variable(flow_id, regex="Bearer ([\w.-]+)", name="jwt")
replay_flow(flow_id, replacements=[{"regex": "/users/1", "replacement": "/users/2"}])
Args: flow_id: The captured flow to replay replacements: List of {"regex": "pattern", "replacement": "value"} objects for partial modification follow_redirects: Follow HTTP 3xx redirects (default true). Set false to inspect redirect targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | ||
| replacements | No | ||
| follow_redirects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |