Brutespray is 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.