![Kali Linux:An Ethical Hacker's Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/618/36700618/b_36700618.jpg)
上QQ阅读APP看书,第一时间看更新
Dirsearch
Our next tool in the line is dirsearch. As the name suggests it is a simple command-line tool that can be used to brute force the directories. It is much faster than the traditional DIRB:
- The command to install is:
git clone https://github.com/maurosoria/dirsearch.git
- Or you can download and save it from https://github.com/maurosoria/dirsearch. The following screenshot shows the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/e415539c-b9d0-43e7-b172-9676c205fc82.png?sign=1739186713-ZmjDLPdt1O6UHrv03Y2epRHEubEHSBBZ-0-0afdd03bf3cd2aeec1808ea0219f619b)
- Once the cloning is complete browse to the directory and run the tool by using the following:
./dirsearch.py -u hostname.com -e aspx,php
The following screenshot shows the output for the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/ae82f928-fe8c-477c-829e-169d01a8527b.png?sign=1739186713-ew5z9uA4gHk730H7q6K5ueoXGWZVCDuu-0-ea28f57442e81f081ce850c569cd2dba)