Working with Dirsearch Tool
Example 1: Simple Usage
python3 dirsearch.py -u https://example.com
Extensions (php,html,js):
python3 dirsearch.py -e php,html,js -u https://example.com
Using Wordlist:
python3 dirsearch.py -e php,html,js -u https://example.com -w /usr/share/wordlists/dirb/common.txt
Example 2: Recursive Scanning
Simple Recursive Scan:
python3 dirsearch.py -e php,html,js -u https://w3wiki.org -r
Max Recursion Depth:
python3 dirsearch.py -e php,html,js -u https://w3wiki.org -r -R 3
Example 3: Threads
Using Threads:
python3 dirsearch.py -e php,htm,js,bak,zip,tgz,txt -u https://w3wiki.org -t 30
Example 4: Prefixes / Suffixes
Prefixes:
python3 dirsearch.py -e php -u https://w3wiki.org –prefixes .,admin,_,~
Suffixes:
python3 dirsearch.py -e php -u https://w3wiki.org –suffixes ~,/
Example 5: Exclude extensions
Excluding Extensions:
python3 dirsearch.py -e asp,aspx,htm,js -u https://w3wiki.org -X php,jsp,jspx
Example 6: Filters
python3 dirsearch.py -e php,html,js -u https://w3wiki.org -i 200,204,400,403 -x 500,502,429
Example 7: Scan sub-directories
python3 dirsearch.py -e php,html,js -u https://w3wiki.org –subdirs admin/,folder/,/
Example 8: Using Proxy Server.
python3 dirsearch.py -e php,html,js -u https://w3wiki.org –proxy 127.0.0.1:8080
Example 9: Saving Results
python3 dirsearch.py -e php -u https://w3wiki.org -o report.txt
How to Find Hidden Web Directories with Dirsearch
Dirsearch tool is a Python language-based tool, which is command-line only. Dirsearch lights when it comes to recursive scanning, so for every directory it identifies, it will go back through and crawl the directory for some additional directories. Dirsearch tool is an advanced command-line tool designed to brute-force directories and files in web servers or web path scanners. As Dirsearch is an advanced tool, it allows hackers to perform a complex web directories discovery, with a customized wordlist, impressive performance, speed, high accuracy, advanced correction, and modern brute-force techniques with relevant outputs.
Contact Us