Visualizar Ajuda para um Modo Específico (dir)
Nesta etapa, você aprenderá como obter ajuda detalhada para um modo específico do gobuster, usando o modo dir como exemplo. O modo dir é usado para brute-force de diretórios e arquivos em servidores web.
Para visualizar o menu de ajuda do modo dir, execute o seguinte comando em seu terminal:
gobuster dir --help
Você verá uma saída mais detalhada específica para o modo dir, incluindo suas flags exclusivas e exemplos de uso. A saída será semelhante a esta:
Usage:
gobuster dir [flags]
Flags:
-u, --url string The target URL (e.g. http://example.com)
-w, --wordlist string Path to the wordlist
-a, --useragent string Set the User-Agent string (default "gobuster/3.X.X")
-c, --cookies string Cookies to use for the request
-e, --expanded Show expanded URL
-f, --follow-redirect Follow redirects
-H, --headers stringArray Add custom header(s)
-k, --no-tls-validation Skip TLS certificate verification
-l, --no-length Don't print the length of the body
-m, --method string HTTP method to use (default "GET")
-n, --no-status Don't print status codes
-p, --proxy string Proxy to use for requests [scheme://host:port]
-r, --random-useragent Use a random User-Agent string
-s, --status-codes string Status codes to include (e.g. "200,204,301") (default "200,204,301,302,307,401,403,500")
-t, --threads int Number of concurrent threads (default 10)
-v, --verbose Verbose output (errors)
-x, --extensions string File extensions to search for (e.g. "php,html")
-z, --no-color Disable color output
--exclude-length string Exclude responses by content length (e.g. "123,456")
--exclude-wildcard string Exclude responses by wildcard (e.g. "200,404")
--timeout duration HTTP timeout (default 10s)
Global Flags:
-h, --help help for gobuster
-q, --quiet Don't print banner and other noise
Esta ajuda detalhada é essencial para entender todas as opções disponíveis para uma tarefa de enumeração específica.