- 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.
推薦閱讀
- 每天5分鐘玩轉Kubernetes
- Ansible權威指南
- SOA實踐者說
- 嵌入式應用程序設計綜合教程(微課版)
- Moodle 3.x Teaching Techniques(Third Edition)
- Linux系統安全基礎:二進制代碼安全性分析基礎與實踐
- Android物聯網開發細致入門與最佳實踐
- 一學就會:Windows Vista應用完全自學手冊
- 計算機系統:基于x86+Linux平臺
- Linux基礎使用與案例
- 分布式高可用架構之道
- Learning Continuous Integration with Jenkins(Second Edition)
- Android應用性能優化最佳實踐
- VMware Horizon Mirage Essentials
- Docker容器技術與運維