commands.sh

dirsearch

all

Web path scanner.

More info →

Options (5)

-u, --urlboolean

Scan a web server for common paths with common extensions

Example: dirsearch {{[-u|--url]}} {{url}} --extensions-list
-l, --url-listboolean

Scan a list of web servers for common paths with given file extensions

Example: dirsearch {{[-l|--url-list]}} {{path/to/url-list.txt}} {{[-e|--extensions]}} {{php,jsp,aspx,...}}
-e, --extensionsboolean

Scan a list of web servers for common paths with given file extensions

Example: dirsearch {{[-l|--url-list]}} {{path/to/url-list.txt}} {{[-e|--extensions]}} {{php,jsp,aspx,...}}
-w, --wordlistsboolean

Scan a web server for user-defined paths with common extensions

Example: dirsearch {{[-u|--url]}} {{url}} --extensions-list {{[-w|--wordlists]}} {{path/to/url-paths1.txt,path/to/url-paths2.txt,...}}
-m, --http-methodboolean

Scan a web server using the `HEAD` HTTP method

Example: dirsearch {{[-u|--url]}} {{url}} {{[-e|--extensions]}} {{php}} {{[-m|--http-method]}} {{HEAD}}

Examples (6)

Scan a web server for common paths with common extensions

dirsearch [-u|--url] url --extensions-list

Scan a list of web servers for common paths with given file extensions

dirsearch [-l|--url-list] path/to/url-list.txt [-e|--extensions] php,jsp,aspx,...

Scan a web server for user-defined paths with common extensions

dirsearch [-u|--url] url --extensions-list [-w|--wordlists] path/to/url-paths1.txt,path/to/url-paths2.txt,...

Scan a web server using a cookie

dirsearch [-u|--url] url [-e|--extensions] php --cookie cookie

Scan a web server using the `HEAD` HTTP method

dirsearch [-u|--url] url [-e|--extensions] php [-m|--http-method] HEAD

Scan a web server, saving the results to a `.json` file

dirsearch [-u|--url] url [-e|--extensions] php --json-report path/to/report.json
made by @shridhargupta | data from tldr-pages