Created by: Shane Young/@x90skysn3k && Jacob Robles/@shellfail
Inspired by: Leon Johnson/@sho-luv
Credit to Medusa: JoMo-Kun / Foofus Networks - http://www.foofus.net
BruteSpray takes nmap GNMAP/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.
pip install -r requirements.txt
On Kali:
apt-get install brutespray
First do an nmap scan with -oG nmap.gnmap
or -oX nmap.xml
.
Command: python brutespray.py -h
Command: python brutespray.py --file nmap.gnmap
Command: python brutesrpay.py --file nmap.xml
Command: python brutespray.py --file nmap.xml -i
python brutespray.py --file nmap.gnmap -U /usr/share/wordlist/user.txt -P /usr/share/wordlist/pass.txt --threads 5 --hosts 5
python brutespray.py --file nmap.gnmap --service ftp,ssh,telnet --threads 5 --hosts 5
python brutespray.py --file nmap.gnmap -u admin -p password --threads 5 --hosts 5
python brutespray.py --file nmap.gnmap --threads 5 --hosts 5 -c
python brutespray.py --file nmap.xml --threads 5 --hosts 5
python brutespray.py --file nmap.xml -i
- ssh
- ftp
- telnet
- vnc
- mssql
- mysql
- postgresql
- rsh
- imap
- nntp
- pcanywhere
- pop3
- rexec
- rlogin
- smbnt
- smtp
- svn
- vmauthd
- v1.5.2
- change tmp and output directory behavior
- v1.5.1
- added check for no services
- v1.5
- added interactive mode
- v1.4
- added ability to use nmap XML
- v1.3
- added the ability to stop on success
- added the ability to reference custom userlists and passlists
- added the ability to specify specific users & passwords