dirsearch目录遍历工具安装使用

安装

github地址

https://codeload.github.com/maurosoria/dirsearch/zip/refs/heads/master

升级python到3.7

必须要求3.7以上
在这里插入图片描述
vps centos 7.6升级方法
或者自行百度

安装依赖库

pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install paramiko
pip install markupsafe

使用

查看详细使用方法

python3 dirsearch.py  -h

常用的参数有

-u 指定网址
-e 指定网站语言
-w 指定字典
-r 递归目录(跑出目录后,继续跑目录下面的目录)
–random-agents 使用随机UA

默认字典位置

db文件夹内 dicc.txt 是目录字典 有9791个
user-agents.txt 是user-agent 字典 有153个

可以放入其他字典替换
在这里插入图片描述

python3 dirsearch.py -u https://www.qq.com -e jsp,php

详细用法
https://blog.csdn.net/qq_43936524/article/details/115271837

猜你喜欢

转载自blog.csdn.net/YouthBelief/article/details/121384500
今日推荐