- Kali Linux:An Ethical Hacker's Cookbook(Second Edition)
- Himanshu Sharma
- 191字
- 2021-06-24 15:59:25
How to do it...
Let's perform the following steps:
- Run the following command to install brutespray on Kali:
apt install brutespray
The following screenshot shows the output of the preceding command:

- Once it is installed, we can run the tool with the -h flag to view the list of all features.
- To run a default brute force on all of the services that were discovered by a previously run Nmap scan, we can use the following command:
brutespray --file scan.xml --threads 5
The following screenshot shows the output of the preceding command:

- To run the tool on one particular service, we can use the -s flag and define the service we want to perform a brute force attack on. In the following example, we will use the Nmap scan that was done on a host and only check the default credentials on the FTP service:
brutespray -file scan.xml -t 5 -s ftp
The following screenshot shows the output of the preceding command:

In the preceding screenshot, we can see that the FTP allows anonymous login, which is why the tool gave a success output for the credentials that were shown.
推薦閱讀
- Mastering ElasticSearch
- Linux設(shè)備驅(qū)動(dòng)開發(fā)詳解(第2版)
- 每天5分鐘玩轉(zhuǎn)Kubernetes
- Ansible權(quán)威指南
- Joomla! 3 Template Essentials
- Kali Linux 2018:Windows Penetration Testing
- OpenSolaris設(shè)備驅(qū)動(dòng)原理與開發(fā)
- CentOS 6 Linux Server Cookbook
- 從零開始學(xué)安裝與重裝系統(tǒng)
- Windows Server 2008組網(wǎng)技術(shù)與實(shí)訓(xùn)(第3版)
- OpenVZ Essentials
- Less Web Development Essentials
- Windows Azure實(shí)戰(zhàn)
- Instant Responsive Web Design
- 數(shù)字系統(tǒng)設(shè)計(jì)與VHDL