Brutespray is a python script which provides a combination of both port scanning and automated brute force attacks against scanned services.
Scan with Nmap and use GNMAP/XML output file to Brute force Nmap open port services with default credentials using Medusa or Use your dictionary to gain access. Download the brutespray Tool Here.
Attackers Machine(Kali Linux 2.0)
Execute command ./brutespray.py python script with 777 Permissions ( read,write,execute)
Scanning victim website
Start scanning your victim website or internal network with Nmap to check open ports and services.
Below Image illustrate Nmap scan followed by saving the output of nmap results with a filename.
Command executed: nmap –vv -n -oA Outputfilename
Here -oA is Output in all formats(.xml,.gnmap,nmap)