Automate: Bulk Request Testing
Automate is Caido's powerhouse for large-scale security testing. While Replay lets you manually modify and resend individual requests, Automate allows you to send hundreds or thousands of requests programmatically, with systematic modifications. This is essential for brute-forcing, fuzzing, parameter enumeration, and discovering vulnerabilities that only appear under specific conditions.
To follow the screenshots in this task: Use the Velora Travel application at http://caido.local with your browser proxied through Caido. The interface and examples below use the promo code validation endpoint from Velora Travel's API.
When to Use Automate
Automate excels at tasks that would be tedious or impossible to do manually:
- Credential Brute-Forcing: Test username/password combinations from wordlists
- Fuzzing: Send malicious payloads to find injection vulnerabilities (SQLi, XSS, etc.)
- Parameter Enumeration: Discover hidden parameters or valid IDs
- Directory/File Discovery: Find hidden endpoints or files
- Race Conditions: Send identical requests rapidly to test for timing vulnerabilities
Understanding the Interface
The Automate interface consists of several key areas that work together to configure and execute your attack campaigns.
Session Management
- + New Session: Create a new Automate session from scratch
- Session Tabs: Each tab represents an Automate session - configuration tabs are paired with their results tabs
- Ongoing Tasks: View and manage currently running Automate campaigns
Request Configuration
- URL Bar: The target URL for your requests
- Strategy Dropdown: Select how placeholders are populated (Sequential, All, Parallel, Matrix)
- Run Button: Execute the Automate campaign
- Request Pane: View and edit the raw request with placeholders highlighted
Placeholder Controls
- Clear: Remove all placeholders from the request
- - (Minus): Remove the selected placeholder
- + (Plus): Add the highlighted text as a new placeholder
Configuration Tabs
- Payload: Configure payload types and values for each placeholder
- Preprocessors: Transform payloads before sending (encoding, prefixes, etc.)
- Settings: Control request behaviour (delays, workers, retries, redirects)
Sending Requests to Automate
You can send requests to Automate from multiple places in Caido:
- From HTTP History: Right-click a request → Send to Automate (or
Ctrl+M)
- From Replay: Right-click in the request pane → Send to Automate (or
Ctrl+M)
- From Sitemap: Right-click a request → Send to Automate
- New Session: Click
+ New Session to create a request from scratch
Creating Placeholders
Placeholders mark the parts of your request that will be replaced with payload values. To create a placeholder:
- Step 1: In the Request pane, click and drag to highlight the value you want to replace
- Step 2: Click the
+ button (or use the + Add Placeholder button)
- The highlighted text becomes a placeholder, shown with a distinct background colour
You can create multiple placeholders in a single request. Each placeholder is assigned a number (Payload #1, Payload #2, etc.) and can have its own payload configuration.
Payload Types
The Payload tab lets you configure what values will replace each placeholder. Click on a placeholder's row to configure its payload.
Hosted File
Use a wordlist file that you've previously uploaded to your Caido instance. This is the most common option for large-scale testing.
- Select
Hosted File from the Type dropdown
- Choose a file from the
Selected file dropdown
- Each line in the file becomes a payload value
TIP
Upload wordlists in the Files interface (under Workspace in the sidebar) before starting your Automate session. Popular wordlists like SecLists are perfect for directory brute-forcing, credential testing, and fuzzing.
Simple List
Enter payload values directly in Caido. Perfect for small, custom lists.
- Select
Simple List from the Type dropdown
- Type each payload on a new line in the input field
- Optionally, click
Load from file... to import from your local system
WARNING
Do not use Simple List with large wordlists. For better performance with large files, upload your wordlists using the Files interface and use Hosted File payloads instead.
Numbers
Generate sequential numerical payloads. Useful for IDOR testing or enumerating IDs.
- Select
Numbers from the Type dropdown
- Configure:
- Start: The first number (e.g., 0)
- End: The last number (e.g., 100)
- Step: Increment between numbers (default: 1)
- Minimum digits (zero padded): Pad numbers with leading zeros (e.g., 001, 002)
Null
Send the same request multiple times without modifying the placeholder value. Useful for:
- Testing race conditions
- Stress testing
- Checking for inconsistent responses
- Select
Null from the Type dropdown
- Specify the
Number of payloads to generate
The Files Interface
Before using Hosted File payloads, you need to upload your wordlists. Access the Files interface from the Workspace section in the sidebar.
Uploading Wordlists
- Step 1: Navigate to Files in the Workspace section
- Step 2: Click the
Upload button
- Step 3: Select your wordlist file(s)
- Step 4: Wait for the Status to show "Ready"
The Files interface displays:
| Column |
Description |
| Status |
Upload status ("Ready" when available for use) |
| Name |
Filename of the wordlist |
| Path |
Storage location on the Caido instance |
| Size |
File size |
| Created At |
Upload timestamp |
| Updated At |
Last modification timestamp |
Attack Strategies
When you have multiple placeholders, the Strategy determines how payload values are combined. Select a strategy from the dropdown next to the URL bar.
Single Payload Set Strategies
These strategies use one payload set across all placeholders:
Sequential (Sniper)
Replaces one placeholder at a time while keeping others at their original values. If you have 2 placeholders and 3 payloads, you get 6 requests total.
Example with placeholders for username and password, payload list: [admin, root, test]
| Request |
Result |
| 1 |
username=admin&password=originalValue |
| 2 |
username=originalValue&password=admin |
| 3 |
username=root&password=originalValue |
| 4 |
username=originalValue&password=root |
| 5 |
username=test&password=originalValue |
| 6 |
username=originalValue&password=test |
All (Battering Ram)
Replaces ALL placeholders with the same payload value simultaneously.
Example with same setup:
| Request |
Result |
| 1 |
username=admin&password=admin |
| 2 |
username=root&password=root |
| 3 |
username=test&password=test |
Multi-Payload Set Strategies
These strategies allow different payload sets for each placeholder:
Parallel (Pitchfork)
Combines payloads from different sets in parallel (1st from each, 2nd from each, etc.). All payload sets must have the same number of elements.
Example with usernames: [admin, root, test] and passwords: [pass1, pass2, pass3]
| Request |
Result |
| 1 |
username=admin&password=pass1 |
| 2 |
username=root&password=pass2 |
| 3 |
username=test&password=pass3 |
Matrix (Cluster Bomb)
Tests ALL combinations of payloads across sets. This creates the most requests but provides the most thorough coverage.
Example with same setup:
| Request |
Result |
| 1 |
username=admin&password=pass1 |
| 2 |
username=admin&password=pass2 |
| 3 |
username=admin&password=pass3 |
| 4 |
username=root&password=pass1 |
| 5 |
username=root&password=pass2 |
| 6 |
username=root&password=pass3 |
| 7 |
username=test&password=pass1 |
| 8 |
username=test&password=pass2 |
| 9 |
username=test&password=pass3 |
NOTE
Be careful with the Matrix strategy! With large payload sets, the number of requests grows exponentially. A Matrix attack with two 1000-element lists creates 1,000,000 requests!
Preprocessors
Preprocessors transform payload values before they're inserted into requests. Access them from the Preprocessors tab.
Preprocessor Types
| Type |
Description |
| Workflow |
Apply a Convert Workflow to transform payloads (e.g., Base64 encode, hash) |
| URL Encode |
URL-encode special characters in payloads. Configure which characters to encode via the Charset field |
| Prefix |
Add a string before each payload value |
| Suffix |
Add a string after each payload value |
Adding a Preprocessor
- Step 1: Click on a payload in the Payload # dropdown (if you have multiple placeholders)
- Step 2: Select the preprocessor type from the Workflow dropdown
- Step 3: Configure the preprocessor (select workflow, enter prefix/suffix, etc.)
- Step 4: Click
Add to apply
Ordering Preprocessors
Multiple preprocessors are applied in order from top to bottom. Use the up/down arrows to reorder them in the Active preprocessors list.
TIP
Order matters! If you're testing SQL injection with URL encoding, apply URL Encode after any payload transformations to ensure special characters are properly encoded.
Settings
The Settings tab provides fine-grained control over how Automate sends requests.
Normalization
| Setting |
Description |
| Close Connection |
Close the connection after each request (prevents connection reuse) |
| Update Content-Length |
Automatically recalculate and update the Content-Length header based on payload size |
Redirections
Control how Automate handles HTTP redirects (3xx responses):
| Option |
Description |
| Always |
Follow all redirects |
| In-scope |
Only follow redirects to in-scope domains |
| Never |
Never follow redirects (capture the redirect response) |
| Same-site |
Only follow redirects to the same site |
| Max redirects |
Maximum number of redirects to follow (prevents infinite loops) |
Concurrency
These settings help you avoid triggering rate-limiting or overwhelming the target server:
| Setting |
Description |
| Delay (ms) between requests |
Pause between each request (in milliseconds). Increase to avoid rate-limiting |
| # of workers |
Number of parallel request threads. Higher = faster but more aggressive |
Error Handling
| Setting |
Description |
| Delay (ms) before retry |
Wait time before retrying a failed request |
| Max retries |
Maximum retry attempts for failed requests (set to 1+ if requests fail unexpectedly) |
NOTE
If Automate requests aren't receiving responses, try setting Max retries to 1 or higher. Network issues or server timeouts can cause requests to fail silently.
Running and Analysing Results
Once your campaign is configured, click the Run button to start.
Results Tab
A new tab appears next to your configuration tab, displaying a traffic table with all sent requests. The table shows:
- ID: Request sequence number
- Payload: The payload value used
- Status: HTTP response status code
- Length: Response size
- Time: Response time
Identifying Interesting Results
Look for anomalies in the results that might indicate vulnerabilities:
- Different status codes: A 200 among 404s, or a 500 among 200s
- Different response sizes: Significantly larger or smaller responses
- Different response times: Much slower responses might indicate SQL injection
- Redirect responses: 302/301 might indicate successful authentication
Use HTTPQL filtering in the results tab to quickly find interesting responses.
Challenge
The Velora Travel application has a promo code system. A secret promo code unlocks a special reward (the flag).
What to do: Use Replay to send a POST request to http://caido.local/api/promo/validate with a JSON body like {"code": "1234"} and the Content-Type: application/json header (you also need your Authorization: Bearer <token> header from your logged-in session). Once you get a response, send that request to Automate. Add a placeholder where the promo code value goes, then configure a Numbers payload (the secret code is a 4-digit number) and run the campaign. One of the responses will contain the flag when the correct code is tried.
Use Automate to discover the hidden promo code and retrieve the flag.