![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=1738807789-Py2rtkQYC7CBnjb9jTe3XRzM3DdV7NY6-0-a17c2a9eb87ee5138e02401029522624)
- 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=1738807789-JLWG2RUWBvvVGIgsBcSmzTDy0mJ45Ync-0-0d968fdcdaea0b36d31b9baa8314df91)