当前位置:网站首页>Dirsearch[directory scanning tool]
Dirsearch[directory scanning tool]
2022-07-27 08:10:00 【weixin_ fifty-three million one hundred and fifty thousand four】
List of articles
git clone https://github.com/maurosoria/dirsearch.git
command
Options :
-h, --help Display this help message and exit
Mandatory:
-u URL, --url=URL URL The goal is
-L URLLIST, --url-list=URLLIST
URL List target
-e EXTENSIONS, --extensions=EXTENSIONS
Comma separated extended list ( Example :php、asp)
-E, --extensions-list
Use a predefined list of public extensions
Dictionary Settings:
-w WORDLIST, --wordlist=WORDLIST
Customize the word list ( Separate with commas )
-l, --lowercase
-f, --force-extensions
Force expansion of each wordlist entry ( Such as DirBuster)
General settings :
-s DELAY, --delay=DELAY
Delay between requests ( Floating point numbers )
-r, --recursive Recursive violence
-R RECURSIVE_LEVEL_MAX, --recursive-level-max=RECURSIVE_LEVEL_MAX
Maximum recursion level ( subdirectories )( The default value is :1[ Root directory only +1 Catalog ])
--suppress-empty, --suppress-empty
--scan-subdir=SCANSUBDIRS, --scan-subdirs=SCANSUBDIRS
Scan given -u |--url A subdirectory ( Separate commas )
--exclude-subdir=EXCLUDESUBDIRS, --exclude-subdirs=EXCLUDESUBDIRS
Exclude the following subdirectory scans during recursion ( Separate with commas )
-t THREADSCOUNT, --threads=THREADSCOUNT
Number of threads
-x EXCLUDESTATUSCODES, --exclude-status=EXCLUDESTATUSCODES
Exclude status codes , Separate with commas ( for example :301,500 individual )
--exclude-texts=EXCLUDETEXTS
Comma separated text excludes responses ( Example : "Not found", "Error")
--exclude-regexps=EXCLUDEREGEXPS
Press regexp Exclude response , Separate with commas ( Example : "Not foun[a-z]{1}", "^Error$")
-c COOKIE, --cookie=COOKIE
--ua=USERAGENT, --user-agent=USERAGENT
The user agent
-F, --follow-redirects
-- Follow redirection
-H HEADERS, --header=HEADERS header ,-- header = header
Title to add (example: --header "Referer: example.com" --header "User-Agent: IE"
--random-agents, --random-user-agents
Random agent ,-- Random user agent
connections setting up :
--timeout=TIMEOUT Connection timeout
--ip=IP Resolve the name to IP Address
--proxy=HTTPPROXY, --http-proxy=HTTPPROXY
Http agent (example: localhost:8080
--http-method=HTTPMETHOD
The method to be used , The default value is :GET, It could be :HEAD;POST
--max-retries=MAXRETRIES
max retries
-b, --request-by-hostname
By default ,dirsearch Will pass through IP Request speed .
This will force requests by hostname
The report :
--simple-report=SIMPLEOUTPUTFILE Simple output file
Only find the path
--plain-text-report=PLAINTEXTOUTPUTFILE Plain text output file
Find the path with the status code
--json-report=JSONOUTPUTFILE JSON The output file
Common usage :
-e * All that means , You can also specify the type
python3 dirsearch.py -e * -u https://target
python3 dirsearch.py -e * -u https://target -w db/dicc.txt
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --recursive -R 2
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --recursive -R 4 --scan-subdirs=/,/wp-content/,/wp-admin/
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --exclude-texts=This,AndThat
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt -H "User-Agent: IE"
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt -t 20
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --random-agents
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --json-report=reports/target.json
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --simple-report=reports/target-paths.txt
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --plain-text-report=reports/target-paths-and-status.json
边栏推荐
猜你喜欢

"Intermediate and advanced test questions": what is the implementation principle of mvcc?

孙子出题难,儿子监考严。老子不会做,还我上学钱

SETTA 2020 国际学术会议即将召开,欢迎大家参加!

Combined use of C WinForm form form event and delegate

Translation character '/b' in C #

Notes in "PHP Basics" PHP

物联网工业级UART串口转WiFi转有线网口转以太网网关WiFi模块选型

【Day42 文献精读】A Bayesian Model of Perceived Head-Centered Velocity during Smooth Pursuit Eye Movement
![[resolved] the new version of pychart (2022) connects to the server to upload files and reports an error of](/img/13/573d8ae55eb25580a5628b469dfab3.png)
[resolved] the new version of pychart (2022) connects to the server to upload files and reports an error of "command Rsync is not found in path", and the files cannot be synchronized

Gossip: it's really important to have a rod in your hand and a net on your shoulder. As for how many fish are in the basket?
随机推荐
【目标检测】YOLOv6理论解读+实践测试VisDrone数据集
服务器网络测试的方法
redis配置文件下载
北京五日游记
如何获取广告服务流量变现数据,助力广告效果分析?
Data extraction 1
软件调优方法有哪些?看看飞腾技术专家怎么说 | 龙蜥技术
slf4j如何进行logback配置呢?
2020 International Machine Translation Competition: Volcano translation won five championships
Convert objects to key value pairs
"PHP Basics" tags in PHP
Harbor正确密码登录不上去
API version control [eolink translation]
Bash: sudo: command not found in container
Redison 3.17.5 release, officially recommended redis client
The dragon lizard exhibition area plays a new trick this time. Let's see whose DNA moved?
Modification case of Ruixin micro rk3399-i2c4 mounting EEPROM
Local Oracle reported ora-12514: tns: the listener cannot recognize the requested service at present
大家节日快乐哈
Gossip: it's really important to have a rod in your hand and a net on your shoulder. As for how many fish are in the basket?