Skip target whenever hit one of these status codes, Include status codes, separated by commas, supportĮxclude status codes, separated by commas, supportĮxclude responses by sizes, separated by commasĮxclude responses by texts, separated by commasĮxclude responses by regexps, separated by commasĮxclude responses by redirect regexps or texts,Įxclude responses by response content of this path subdirs=SUBDIRS Scan sub-directories of the given URL (separated byĮxclude the following subdirectories during recursive Valid status codes to perform recursive scan, support force-recursive Do recursive brute-force for every found path, not deep-recursive Perform recursive scan on every directory depth Remove extensions in all paths (Example: admin.php ->
Ones via `-e` (keep entries don't have extensions) only-selected Remove paths have different extensions from selected By defaultĭirsearch only replaces the %EXT% keyword withĬustomize wordlists (separated by commas)Īdd custom prefixes to all wordlist entries (separatedĪdd custom suffixes to all wordlist entries, ignore X EXTENSIONS, -exclude-extensions=EXTENSIONSĮxclude extension list separated by commas (Example:Īdd extensions to every wordlist entry.
raw=FILE Load raw HTTP request from file (use `-scheme` flagĮxtension list separated by commas (Example: php,asp) h, -help show this help message and exit version show program's version number and exit Options Usage: dirsearch.py target extensions Passing "php" and "html" extensions with -f/ -force-extensions flag will generate the following dictionary: admin Passing asp and aspx extensions will generate the following dictionary: index
Note: To can use SOCKS proxy feature, please install packages with requirements.txt: pip3 install -r requirements.txt Install with PyPi: pip3 install dirsearch.Install with Kali Linux: sudo apt-get install dirsearch.Install with Docker: docker build -t "dirsearch:v0.4.1" ( more information).Kali Linux dirsearch is now available in official Kali Linux packagesĬhoose one of these installation options: An advanced command-line tool designed to brute force directories and files in webservers, AKA web path scannerĭirsearch is being actively developed by and Table of Contents