From 52edacb27d8b6a692673d2c51a042639a1daf9dc Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 30 Mar 2020 19:53:27 +0200 Subject: [PATCH] dirsearch: add page (#3949) --- pages/common/dirsearch.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/dirsearch.md diff --git a/pages/common/dirsearch.md b/pages/common/dirsearch.md new file mode 100644 index 0000000000..1911f6c90e --- /dev/null +++ b/pages/common/dirsearch.md @@ -0,0 +1,28 @@ +# dirsearch + +> Web path scanner. +> More information: . + +- Scan a web server for common paths with common extensions: + +`dirsearch --url {{url}} --extensions-list` + +- Scan a list of web servers for common paths with the `.php` extension: + +`dirsearch --url-list {{path/to/url-list.txt}} --extensions {{php}}` + +- Scan a web server for user-defined paths with common extensions: + +`dirsearch --url {{url}} --extensions-list --wordlist {{path/to/url-paths.txt}}` + +- Scan a web server using a cookie: + +`dirsearch --url {{url}} --extensions {{php}} --cookie {{cookie}}` + +- Scan a web server using the `HEAD` HTTP method: + +`dirsearch --url {{url}} --extensions {{php}} --http-method {{HEAD}}` + +- Scan a web server, saving the results to a `.json` file: + +`dirsearch --url {{url}} --extensions {{php}} --json-report {{path/to/report.json}}`