1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-27 20:35:28 +02:00
tldr/pages/common/dirsearch.md
Managor 36735f324a
common*: refresh old pages part 8 (#16293)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-05-03 05:57:20 +03:00

28 lines
1,021 B
Markdown

# dirsearch
> Web path scanner.
> More information: <https://github.com/maurosoria/dirsearch>.
- 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}}`