- Kali Linux:An Ethical Hacker's Cookbook(Second Edition)
- Himanshu Sharma
- 208字
- 2021-06-24 15:59:24
How to do it...
Since GoBuster is built on Go, we first need to install Go on Kali:
- Do this by using the following command:
apt install golang
- First, we clone the Git repository from the following URL: https://github.com/OJ/gobuster. You will see the following output:

- Now, browse into the directory and pull the external dependencies before building the binary using the following command:
go get -u github.com/OJ/gobuster && go build
The following screenshot shows the output of the preceding command:

As we can see from the preceding screenshot, the build command completed successfully without any error.
- Now, run the help command and see what options are available for us to use:

Gobuster has lots of features such as brute forcing directories that are behind HTTP authentication, setting a custom user-agent, and so on. Let's try it.
By default, Gobuster needs a wordlist. We can use the -w flag to specify a list and -x to specify the extension of the file we are trying to brute force:
./gobuster -x php -u "http://testphp.vulnweb.com/" -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt
The following screenshot shows the output of the preceding command:

As we can see in the preceding screenshot, the tool successfully starts brute forcing and returns the page responses for everything it finds.
- 樂學Windows操作系統
- Linux系統文件安全實戰全攻略
- Windows Vista基礎與應用精品教程
- 發布!設計與部署穩定的分布式系統(第2版)
- Arch Linux Environment Setup How-to
- Persistence in PHP with the Doctrine ORM
- 開源安全運維平臺OSSIM疑難解析:入門篇
- Mobile First Design with HTML5 and CSS3
- Ceph分布式存儲實戰
- Windows 8實戰從入門到精通(超值版)
- Advanced Infrastructure Penetration Testing
- μC/OS-III內核實現與應用開發實戰指南:基于STM32
- Linux內核API完全參考手冊(第2版)
- 大學計算機應用基礎實踐教程(Windows 7+MS Office 2010)
- Linux內核分析及應用