Automated Netsparker scanning script with concurrent scan management and profile-based configuration.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/simplevulnerabilitymanager/svm/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Thenetsparker_scan.bat script launches Netsparker in automated mode using pre-configured scanning profiles. It manages concurrent scans to prevent resource exhaustion.
Parameters
| Parameter | Position | Description |
|---|---|---|
Proyecto | 1 | Project name (must match a Netsparker profile name) |
Netsparker | 2 | Path to Netsparker.exe executable |
URL | 3 | Target URL to scan |
Documentacion | 4 | Output directory for HTML reports |
Timestamp | 5 | Timestamp for file naming |
NRO | 6 | Scan number (used for staggered start delay) |
Usage
Script Behavior
Staggered Start
The script delays execution based on the NRO parameter:- NRO=1 → 20 second delay
- NRO=2 → 40 second delay
- NRO=5 → 100 second delay
Concurrent Scan Limiting
The script limits concurrent Netsparker instances to maximum 2:- Script waits 60 seconds
- Rechecks process count
- Repeats until a slot is available
Netsparker Command
Once a slot is available, the script launches:/auto- Automated scan mode (no GUI interaction)/profile "PROJECT_NAME"- Use the specified scanning profile/url URL- Target URL to scan/report "PATH.html"- Output HTML report location
Scanning Profiles
Profile Requirement
Creating Profiles in Netsparker
- Open Netsparker GUI
- Configure scan settings (authentication, crawling, policies)
- Save as a named profile
- Use that exact name as the
Proyectoparameter
Profile Components
Profiles can include:- Authentication credentials
- Crawling scope and depth
- Scan policies and checks
- Form filling rules
- Custom headers and cookies
- Performance settings
Output Files
Generated report format:Example Usage Scenarios
Single Scan
Multiple URLs with Staggered Start
Scan 3 URLs with 20-second intervals:Different Profiles for Different Apps
Prerequisites
- Netsparker Standard or Enterprise with valid license
- Scanning profile must be pre-configured with the exact name used in
Proyecto - Sufficient disk space in
Documentaciondirectory for HTML reports - Windows system with administrative privileges (for process listing)
Temporary Files
The script creates a temporary file to track scan counts:Limitations
Troubleshooting
Profile Not Found Error
If Netsparker reports “Profile not found”:- Open Netsparker GUI
- Check File > Manage Scanning Profiles
- Verify the profile name matches exactly (case-sensitive)
- Create the profile if it doesn’t exist
Scan Hangs Waiting for Slot
If the script waits indefinitely:- Check Task Manager for orphaned Netsparker.exe processes
- Manually terminate stuck processes
- Script will automatically proceed
Missing Reports
If reports are not generated:- Verify
Documentacionpath exists and is writable - Check Netsparker scan completed successfully
- Review Netsparker logs for errors