Brutespray – Port Scanning and Automated Brute Force Tool
Last Updated :
23 Sep, 2021
Brute-Forcing is the technique of matching the credentials like Usernames, Passwords, OTPs for unauthenticated access to the target domain. The list of words are been tested against the target to get the exact credentials. All this process is done through automated tools.
Brutespray is an automated tool that is used to perform brute-forcing for every possible way like Credentials Brute-Forcing, FTP brute-forcing, etc. The Brutespray tool is developed in the Python language which comes with tags-based usage and also interactive usage. After Scanning the target from Nmap the results are to be inputted to the tool for performing brute-forcing. This tool supports GNMAP/XML output file to Brute force Nmap open port services with default credentials using Medusa or Use your dictionary to gain access.
Note: Make Sure You have Python Installed on your System, as this is a python-based tool. Click to check the Installation process: Python Installation Steps on Linux
Installation of Brutespray Tool on Kali Linux OS
Step 1: Use the following command to install the tool in your Kali Linux operating system.
git clone https://github.com/x90skysn3k/brutespray.git

Step 2: Now use the following command to move into the directory of the tool. You have to move in the directory in order to run the tool.
cd brutespray

Step 3: You are in the directory of the Brutespray. Now you have to install a dependency of the Brutespray using the following command.
sudo pip3 install -r requirements.txt

Step 4: All the dependencies have been installed in your Kali Linux operating system. Now use the following command to run the tool and check the help section.
python3 brutespray.py -h

Working with Brutespray Tool on Kali Linux OS
Example 1: Using Custom Wordlists
python3 brutespray.py –file results.gnmap -U user.txt -P pass.txt –threads 5 –hosts 5
In this example, we are using the custom word-lists to perform Brute-Forcing on the target domain.



Example 2: Brute-Forcing Specific Services
python3 brutespray.py –file results.gnmap –service ftp,ssh,telnet –threads 5 –hosts 5
In this example, we are only going to perform brute-forcing on ftp,ssh and telnet service.


Example 3: Specific Credentials/ Brute-Forcing Username and Password
python3 brutespray.py –file results.gnmap -u admin -p password –threads 5 –hosts 5
In this example, we will be brute-forcing with single or specified credentials.


Example 4: Continue After Success
python3 brutespray.py –file results.gnmap –threads 5 –hosts 5 -c
In this example, we will be continuing over brute-forcing attack after success also.


Example 5: Use Nmap XML Output
python3 brutespray.py --file results.xml --threads 5 --hosts 5
In this example, we will be using the XML file for scanning and brute-forcing.



Example 6: Brutespray Interactive Mode
python3 brutespray.py --file results.xml -i
In this example, we will be using the interactive mode of the tool Brutespray.



Similar Reads
Brutex - Open Source Tool for Brute Force Automation
Brutex is a free and open-source tool available on GitHub. This tool is basically made to make the work of penetration tester easier. This tool is a package of three different tools which are Nmap, Hydra, DNSenum. Once you start scanning your target using brutex tool the tool will start scanning usi
1 min read
DEDMAP - Cross-platform port scanning and network automation tool
DEDMAP is a free and open-source tool available on GitHub. DEDMAP works as a scanner that scans domains and websites. DEDMAP is a powerful, cross-platform scanning tool. DEDMAP is very similar to nmap which is a port scanning tool. DEDMAP is written in bash language. You must have bash language inst
1 min read
RustScan - Faster Nmap Scanning with Rust
Port Scanning is the process of detection of active ports on the Web Server. In some cases, if there is an unfamiliar port running on the server, this can lead to breaches. We can perform use various automated tools like Nmap, Masscan, etc for port detection. RustScan is the tool that assures the fa
2 min read
0xWPBF â WordPress Users Enumerate and Brute Force Attack
WordPress is a popular CMS which is been used by many web-based applications for providing the service to the end-users. WordPress CMS contains the version which is been updated due to resolved bugs and CVEs. The outdated version can make the Web-based Application vulnerable to cyber threats. Identi
2 min read
Fast Google Dorks Scan - Automatic Dork Hacking Tool
Fast Google Dorks Scan also known as Google Dorking, is a hacker technique that employs Google Search and other Google tools to identify security flaws in website setup and computer code. The OSINT project's main goal is to gather all possible Google dorks search combinations and identify informatio
2 min read
Nettacker - Automated Penetration Testing Framework
Vulnerability Scanning is the process of detection of security flaws in the Web-based Application. We can perform automated Scanning using various tools. OWaASP has a project named Nettacker which is built to automate the various phases like Information Gathering, Enumeration, Scanning, Vulnerabilit
2 min read
Webdiscover - Automate The Web Enumeration Process And Search For Exploits
Webdiscover is a free and open-source tool available on GitHub. This tool is written in bash language. Webdiscover is a bash script that can be used to automate the reconnaissance process on any domain or any URL. Webdiscover consists of many installed modules that perform different operations on th
2 min read
Netnoob - Network tools, information gathering tools and scanning tools
Netnoob is an automated tool that is developed for Network Recon, Scanning, and Network Auditing. Netnoob tool has the features to Get information about your computer and network, Get information about another computer or a network, Network Settings, and Shared Drives. This tool allows us to change
2 min read
SSLyze - Fast and powerful SSL/TLS scanning tool
Most of the domain uses the SSL(Secure Socket Layer) for saving themselves from various cyber-attacks, but there can be some vulnerabilities raised due to outdated certificates and many more. SSLyze tool is an automated cyber security tool that is used to scan the target domain for SSL/TLS vulnerabi
2 min read
Tr0ll 3 CTF Challenge Explained: From Network Scanning to Root Access
The CTF or Check the Flag problem is posted on vulnhub.com. VulnHub is a platform which provides vulnerable applications/machines to gain practical hands-on experience in the field of information security. Tr0ll 3 is a machine on vulnhub. To Download visit: Troll 3 Machine - Vulnhub Below are the st
5 min read