dirsearch中-r指什么?
时间: 2024-06-09 20:03:51 浏览: 9
在dirsearch中,-r选项指定要在请求中包含的字符串。这对于在请求中包含特定标头或cookie非常有用。如果您想要指定多个标头,请使用“|”将它们分隔开来。请注意,其中“:”和空格均视为有效字符。如果字符串以“!”开头,则表示字符串不应出现在请求中。 例如,在以下命令中,可以使用-r选项包含特定的cookie:
```
python3 dirsearch.py -u https://example.com -r "PHPSESSID=123456"
```
相关问题
-dirsearchr指什么?
dirsearch是一个用于在Web服务器上查找隐藏目录和文件的Python脚本,而-dirsearchr则是使用递归方式搜索目录和文件。 递归方式意味着它将搜索目录中的所有子目录以及它们的子目录(如果有的话),直到发现所有可能的目录和文件。 例如,如果您想要搜索http://example.com/所有子目录和文件的隐藏目录,您可以使用以下命令:
```bash
python3 dirsearch.py -u http://example.com -r
```
这将使用递归方式搜索所有可能的目录和文件。
引用:
[dirsearch/README.md at master · maurosoria/dirsearch · GitHub](https://github.com/maurosoria/dirsearch/blob/master/README.md)。
dirsearch的使用方法是什么?
dirsearch是一款用于扫描Web应用程序中隐藏目录和文件的工具。使用方法如下:
1. 下载dirsearch:可以从GitHub上下载dirsearch的源代码,也可以使用pip安装。
2. 运行dirsearch:在终端中输入以下命令来启动dirsearch:
```
python3 dirsearch.py -u <URL> -e <EXTENSIONS>
```
其中,`<URL>`是要扫描的目标URL,`<EXTENSIONS>`是要扫描的文件扩展名,多个扩展名之间用逗号分隔。
3. 等待扫描结果:dirsearch会自动扫描目标URL中的隐藏目录和文件,并将结果输出到终端中。
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)