Command Palette

Search for a command to run...

Cheatsheets
PreviousNext

Web Enumeration

Fingerprinting

CommandDescription
whatweb <IP>Identify web server, CMS, frameworks, and technologies.
nikto -h http://<IP>Vulnerability scan: misconfigs, outdated software, exposed files.
nikto -h http://<IP> -p 8080Nikto on a non-standard port.
curl -I http://<IP>Grab HTTP headers (Server, X-Powered-By, etc.).
curl -s http://<IP>/robots.txtCheck robots.txt for hidden paths.
curl -s http://<IP>/sitemap.xmlCheck sitemap for exposed URLs.
wafw00f http://<IP>Detect WAF (Web Application Firewall).

Nmap HTTP Scripts

CommandDescription
nmap --script http-enum -p 80,443,8080 <IP>Enumerate common web directories and files.
nmap --script http-headers -p 80 <IP>Retrieve HTTP response headers.
nmap --script http-methods -p 80 <IP>List allowed HTTP methods (PUT, DELETE, etc.).
nmap --script http-webdav-scan -p 80 <IP>Check for WebDAV support.
nmap --script http-title -p 80,8080,8443 <IP>Grab page titles from web ports.
nmap -p 80,443,8000,8080,8443,10000 --open -sV <CIDR>Scan common web ports across a subnet.

Directory Brute Force

CommandDescription
dirb http://<IP>/ /usr/share/wordlists/dirb/common.txtBasic directory brute force.
dirb http://<IP>/ /usr/share/metasploit-framework/data/wordlists/directory.txtUsing Metasploit wordlist.
gobuster dir -u http://<IP>/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txtGobuster directory scan.
gobuster dir -u http://<IP>/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x php,txt,html,bakInclude file extension brute force.
ffuf -u http://<IP>/FUZZ -w /usr/share/wordlists/dirb/common.txtffuf directory fuzzing.
ffuf -u http://<IP>/FUZZ -w /usr/share/wordlists/dirb/common.txt -e .php,.txt,.htmlffuf with extensions.

Metasploit HTTP Modules

ModuleDescription
auxiliary/scanner/http/http_versionDetect HTTP server version.
auxiliary/scanner/http/brute_dirsBrute force web directories.
auxiliary/scanner/http/robots_txtRetrieve and parse robots.txt.
auxiliary/scanner/http/dir_scannerDirectory scanner.

Useful Wordlists

PathUse case
/usr/share/wordlists/dirb/common.txtCommon directories (small, fast)
/usr/share/wordlists/dirbuster/directory-list-2.3-medium.txtMedium directory list
/usr/share/wordlists/rockyou.txtPassword brute force
/usr/share/metasploit-framework/data/wordlists/common_users.txtCommon usernames
/usr/share/metasploit-framework/data/wordlists/unix_passwords.txtCommon passwords