Overview
Theburpsuite_scan.bat script launches Burp Suite Professional with the Carbonator extension to perform automated vulnerability scans. Carbonator enables headless scanning and spider automation.
Carbonator Extension
Carbonator is a Burp Suite extension that provides:- Headless scanning capabilities
- Automated spider and scan
- Command-line driven operation
Parameters
| Parameter | Position | Description |
|---|---|---|
burpsuite | 1 | Path to Burp Suite executable (.jar or .exe) |
scheme | 2 | URL scheme (http or https) |
fqdn | 3 | Fully qualified domain name or IP address |
port | 4 | Target port number |
folder | 5 | Target folder/path on the server |
Usage
Using JAR File
Using EXE File
Script Behavior
JAR Execution
When the burpsuite parameter ends with.jar:
- Launches Java with 2GB heap memory (
-Xmx2g) - Passes scheme, FQDN, port, and folder as arguments to Carbonator
EXE Execution
When the burpsuite parameter ends with.exe:
- Launches the executable directly
- Passes the same arguments
Example Scan Scenarios
HTTPS Web Application
https://webapp.company.com:443/admin
HTTP Application on Custom Port
http://192.168.1.100:8080/api/v1
Root Path Scan
https://example.com:443/
Prerequisites
- Burp Suite Professional with valid license (Carbonator requires Pro)
- Java Runtime Environment (JRE) for .jar execution
- Carbonator extension installed in Burp Suite
- Sufficient memory (script allocates 2GB heap)
Installing Carbonator
- Download Carbonator from https://www.integrissecurity.com/index.php?resources=Carbonator
- In Burp Suite, go to Extender > Extensions
- Click Add and select the Carbonator .jar file
- Configure Carbonator settings for automated scanning
Configuration Notes
Memory Allocation
The script uses-Xmx2g to allocate 2GB of heap memory. For larger scans, modify this value:
Headless Mode (Commented Out)
The script includes a commented-out headless mode option:Limitations
Troubleshooting
Java Not Found
If Java is not in the system PATH:Insufficient Memory
If scans fail with OutOfMemoryError:- Increase heap size:
-Xmx4gor-Xmx8g - Close other applications to free system memory
Carbonator Not Running
Ensure Carbonator is:- Installed in Burp Suite Extender
- Enabled and not showing errors
- Configured with appropriate scan settings