Gobuster
Directory and file brute-forcing, as well as DNS and virtual host enumeration
Global Options
-u
-> URL or domain to target.
-w
-> Wordlist file for brute-forcing.
-t
-> Number of threads for concurrent requests.
-q
-> Quiet mode.
-i
-> Show IP addresses.
-o
-> Output file to save results.
-v
-> Verbose mode.
-z
-> Don't display progress.
--delay duration
->DNS
resolver output.
Directory Scanning
gobuster dir -u http://IP -w /directory-list-2.3-medium.txt
gobuster dir -u https://example.com -w ~/wordlists/shortlist.txt -l
gobuster dir -u http://IP -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt -t 150 -x .php,.html,.py,.git,.sh,.bak,.js,.txt,.git,.asp,.aspx,.jsp,.cgi,.env,.yaml,.yml,.json,.log,.old,.swp,.xml,.woff,.woff2
gobuster dir -u http://example.com -w /path/to/wordlist.txt -t 2 -z 20s -a "Mozilla/5.0" -q -c "X-Forwarded-For: 192.168.1.100"
Options
-h
-> Manual.-f
-> Append/
to each request.-c
-> Provide Cookie.-e
-> Expanded mode.-x
-> Search for file extensions.-r
-> Follow redirects.-H
-> SpecifyHTTP
headers.-I
-> Include length.-k
-> SkipTLS
certificate verification.-n
-> Don't print status codes.-U
-> User name forBasic Auth
.-P
-> Password forBasic Auth
.-p
-> Provide a proxy.-s
-> Print Status code.-b
-> Print blacklisted status codes.--timeout duration
->HTTP
Timeout.-u
-> TargetURL
.-a
-> SetUser-agent
.-d
-> Search for backup files once a file is discovered.--wildcard
-> continue scanning even if a wildcardDNS
entry or a similar issue is detected.
Sub-Domain Scanning
VHOST
gobuster vhost -u http://IP -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-20000.txt -t 200
DNS
gobuster dns -d inlanefreight.com -w /usr/share/SecLists/Discovery/DNS/namelist.txt
gobuster dns -d example.com -w subdomains.txt -i
gobuster dns -d example.com -w /path/to/wordlist.txt -r -t 50
Options
h
-> Manual.-c
-> Provide Cookie.-r
-> Follow redirects.-H
-> SpecifyHTTP
headers.-k
-> SkipTLS
certificate verification.-U
-> User name forBasic Auth
.-P
-> Password forBasic Auth
.-p
-> Provide a proxy.--timeout duration
->HTTP
Timeout.-u
-> TargetURL
.-a
-> SetUser-agent
.
Last updated