brutespray8
Python bruteforce tool
Usage
brutespray [Usage]
:
brutespray
[-h]
-f
FILE
[-o
OUTPUT]
[-s
SERVICE]
[-t
THREADS]
[-T
HOSTS]
[-U
USERLIST]
[-P
PASSLIST]
[-u
USERNAME]
[-p
PASSWORD]
[-c]
[-i]
[-C
HOST:USERNAME:PASSWORD]
[-v
LEVEL]
[-w
LEVEL]
.
Overview
BruteSpray takes nmap GNMAP/JSON/XML output and automatically brute-forces services with default credentials using Medusa.
BruteSpray can even find non-standard ports by using the -sV inside Nmap.
- ○
-
-fFILE,--fileFILE
GNMAP, JSON or XML file to parse
- ○
-
-oOUTPUT,--outputOUTPUT
Directory containing successful attempts
- ○
-
-sSERVICE,--serviceSERVICE
Specify service to attack
- ○
-
-tTHREADS,--threadsTHREADS
Number of medusa threads
- ○
-
-THOSTS,--hostsHOSTS
Number of hosts to test concurrently
- ○
-
-UUSERLIST,--userlistUSERLIST
Reference a custom username file
- ○
-
-PPASSLIST,--passlistPASSLIST
Reference a custom password file
- ○
-
-uUSERNAME,--usernameUSERNAME
Specify a single username
- ○
-
-pPASSWORD,--passwordPASSWORD
Specify a single password
- ○
-
-c,--continuous
Keep brute-forcing after success
- ○
-
-CHOST:USERNAME:PASSWORD,--comboHOST:USERNAME:PASSWORD
Specify a combo input (host:username:password)
- ○
-
-i,--interactive
Interactive mode
- ○
-
-vLEVEL,--verboseLEVEL
Verbose output from medusa. Can be set from 0 to 6 (default to 5)
- ○
-
-wLEVEL,--debugLEVEL
Debug error output from medusa. Can be set from 0 to 10 (default to 5)
Commands:
- ○
-
brutespray -h
- ○
-
brutespray --file nmap.gnmap
- ○
-
brutespray --file nmap.xml
- ○
-
brutespray --file nmap.xml -i
Examples
- Nmap network scanning example:
-
nmap -sS -sV 192.168.0.0/24 -vv -n -oA mynetwork
- Using Custom Wordlists:
-
brutespray --file mynetwork.gnmap -U /usr/share/brutespray/wordlist/user.txt -P /usr/share/brutespray/wordlist/pass.txt --threads 5 --hosts 5
- Brute-Forcing Specific Services:
-
brutespray --file mynetwork.gnmap --service ftp,ssh,telnet --threads 5 --hosts 5
- Specific Credentials:
-
brutespray --file mynetwork.gnmap -u admin -p password --threads 5 --hosts 5
- Continue After Success:
-
brutespray --file mynetwork.gnmap --threads 5 --hosts 5 -c
- Use Nmap XML Output:
-
brutespray --file mynetwork.xml --threads 5 --hosts 5
- Interactive Mode:
-
brutespray --file mynetwork.xml -i
Manpage author
Stephane Neveu [email protected]
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)