![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=1739242863-dJqnMI5ZBnRazfcAoHFF95trHEmHnWgI-0-73422f06080cd47e22e69933e1054b3f)
- 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=1739242863-jhfIlhobmXHFXxL3exlOiirGTB6WrlMq-0-e23236402a5358f1982e5c47e2b8de3c)