- 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.
推薦閱讀
- pcDuino開發實戰
- UNIX操作系統設計
- 阿里云數字新基建系列:云原生操作系統Kubernetes
- BPEL and Java Cookbook
- 嵌入式Linux系統開發:基于Yocto Project
- Haskell Financial Data Modeling and Predictive Analytics
- 新手學電腦從入門到精通(Windows 10+Office 2016版)
- ElasticSearch Cookbook
- Hands-On UX Design for Developers
- 新編電腦辦公(Windows 10+ Office 2013版)從入門到精通
- Hadoop Real-World Solutions Cookbook
- Web Penetration Testing with Kali Linux(Third Edition)
- 樹莓派+傳感器:創建智能交互項目的實用方法、工具及最佳實踐
- Microsoft Azure Administrator:Exam Guide AZ-103
- 數字系統設計與VHDL