Results are saved to brutespray-output/ by default. Override with -o:
brutespray -f nmap.gnmap -u admin -p password -o engagement-resultsSuccessful credentials are written to per-service files in the output directory as they are found.
Generate comprehensive reports with -summary:
brutespray -f nmap.gnmap -u admin -p password -summaryThis produces:
| File | Format | Description |
|---|---|---|
brutespray-summary.json |
JSON | Machine-readable full report |
brutespray-summary.csv |
CSV | Tabular results for spreadsheets/analysis |
brutespray-summary.txt |
Text | Human-readable summary |
brutespray-msf.rc |
Metasploit RC | Resource script for msfconsole -r |
brutespray-nxc.sh |
Shell script | NetExec/CrackMapExec commands |
When statistics tracking is enabled (default), the summary includes:
- Session duration and timing
- Total attempts, successes, and failures
- Connection vs authentication error breakdown
- Success rate percentage
- Attempts per second
- Average response time
- Peak concurrency
- Per-service and per-host breakdown
- Full list of found credentials
The -summary flag generates a .rc resource script with auxiliary modules pre-configured for each found credential:
msfconsole -r brutespray-msf.rcThe -summary flag also generates a shell script with nxc commands:
chmod +x brutespray-nxc.sh
./brutespray-nxc.sh| Flag | Effect |
|---|---|
-silent |
Suppress per-attempt logs; successes and summary still recorded |
-log-every N |
Print every Nth attempt (e.g., -log-every 100) |
-no-stats |
Disable statistics tracking entirely |
-nc |
Disable colored output |
-q |
Suppress the banner |
--no-tui |
Use legacy text output instead of interactive TUI |
Pre-auth recon results emit one JSON object per line in JSONL mode:
{"type":"finding","severity":"WARN","code":"rdp-nla-missing","service":"rdp","target":"10.0.0.5:3389","message":"NLA not enforced — server accepts standard RDP without pre-auth"}
{"type":"finding","severity":"CRITICAL","code":"rdp-stickykeys","service":"rdp","target":"10.0.0.5:3389","message":"sticky-keys backdoor detected (cmd.exe shell at logon screen)"}| Field | Description |
|---|---|
type |
Always "finding" |
severity |
INFO, WARN, HIGH, CRITICAL |
code |
Stable machine identifier: rdp-nla-required, rdp-nla-missing, rdp-nla-hybridex, rdp-stickykeys, rdp-stickykeys-inconclusive |
service / target |
Target identification |
message |
Human-readable description |
cve |
Present only when a CVE applies |
When SSH authentication succeeds against an embedded bad key, the per-success
output channel emits a distinct badkey record alongside the regular success
line:
{"type":"badkey","service":"ssh","target":"10.0.0.5:22","username":"vagrant","vendor":"HashiCorp Vagrant","description":"Vagrant insecure default key (any Vagrant VM pre-2014)"}
{"type":"badkey","service":"ssh","target":"10.0.0.6:22","username":"root","vendor":"F5 BIG-IP","cve":"CVE-2012-1493","description":"F5 BIG-IP 9.x-11.x default root SSH key"}