Brutespray
3 min read
Bruteforcing from various scanner output - Automatically attempts default creds on found services. As of now, Brutespray accepts input from Nmap's GNMAP/XML output, newline-separated JSON files, Nexpose's XML Export feature, Nessus exports in .nessus format, and various lists. Its intended purpose is for educational and ethical hacking research only; do not use it for illegal activities.

#@ @/
@@@ @@@
%@@@ @@@.
@@@@@ @@@@%
@@@@@ @@@@@
@@@@@@@ @ @@@@@@@
@(@@@@@@@% @@@@@@@ &@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@
@@@( @@@@@#@@@@@@@@@*@@@,@@@@@@@@@@@@@@@ @@@
@@@@@@ .@@@/@@@@@@@@@@@@@/@@@@ @@@@@@
@@@ @@@@@@@@@@@ @@@
@@@@* ,@@@@@@@@@( ,@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@
@@@.@@@@@@@@@@@@@@@ @@@
@@@@@@ @@@@@ @@@@@@
@@@@@@@@@@@@@
@@ @@@ @@
@@ @@@@@@@ @@
@@% @ @@



██████╗ ██████╗ ██╗ ██╗ ████████╗ ███████╗ ███████╗ ██████╗ ██████╗ █████╗ ██╗ ██╗
██╔══██╗ ██╔══██╗ ██║ ██║ ╚══██╔══╝ ██╔════╝ ██╔════╝ ██╔══██╗ ██╔══██╗ ██╔══██╗ ╚██╗ ██╔╝
██████╔╝ ██████╔╝ ██║ ██║ ██║ █████╗ ███████╗ ██████╔╝ ██████╔╝ ███████║ ╚████╔╝
██╔══██╗ ██╔══██╗ ██║ ██║ ██║ ██╔══╝ ╚════██║ ██╔═══╝ ██╔══██╗ ██╔══██║ ╚██╔╝
██████╔╝ ██║ ██║ ╚██████╔╝ ██║ ███████╗ ███████║ ██║ ██║ ██║ ██║ ██║ ██║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝

Supported services
• ssh
• ftp
• smtp
• mssql
• telnet
• smbnt
• postgres
• imap
• pop3
• snmp
• mysql
• vmauthd
• asterisk
• vnc
• mongodb
• nntp
• oracle
• teamspeak
• xmpp
• rdp

Usage
Usage: brutespray [options]

OptionDescription
-C stringSpecify a combo wordlist delimited by :, example: user1:password
-H stringTarget in the format service://host:port, CIDR ranges supported; default port used if missing
-PPrint found hosts parsed from provided host and file arguments
-SList all supported services
-T intNumber of hosts to bruteforce at the same time (default: 5)
-f stringFile to parse; Supported: Nmap, Nessus, Nexpose, Lists, etc
-iface stringSpecific network interface to use for bruteforce traffic
-o stringDirectory containing successful attempts (default: "brutespray-output")
-p stringPassword or password file to use for bruteforce
-qSuppress the banner
-r intNumber of times to retry after a connection failure (default: 3)
-s stringService type (e.g., ssh, ftp, smtp); default is "all"
-socks5 stringSOCKS5 proxy to use for bruteforce
-t intNumber of threads to use (default: 10)
-u stringUsername or user list to bruteforce
-w durationSet timeout of bruteforce attempts (default: 5s)

Examples
Using Custom Wordlists:
shell
brutespray -f nmap.gnmap -u /usr/share/wordlist/user.txt -p /usr/share/wordlist/pass.txt -t 5

Brute-Forcing Specific Services:
shell
brutespray -f nmap.gnmap -u admin -p password -s ftp,ssh,telnet -t 5

Specific Credentials:
shell
brutespray -f nmap.gnmap -u admin -p password -t 5

Use Nmap XML Output
shell
brutespray -f nmap.xml -u admin -p password -t 5

Use JSON Output
shell
brutespray -f out.json -u admin -p password -t 5

Bruteforce a CIDR range
shell
brutespray -H ssh://10.1.1.0/24:22 -t 1000

Socks5 Proxy Support
shell
brutespray -H ssh://10.1.1.0/24:22 -socks5 localhost:1080