| name | Web Application Enumeration |
| description | This skill should be used when the user asks about "gobuster", "directory fuzzing",
"web enumeration", "nikto", "web vulnerabilities", "feroxbuster", "ffuf",
"subdomain enumeration", or needs guidance on web application testing.
|
| version | 1.0.0 |
Web Application Enumeration Skill
Overview
Techniques for discovering web content, identifying technologies, and finding vulnerabilities in web applications.
Technology Fingerprinting
Whatweb
whatweb http://<TARGET>
whatweb -a 3 http://<TARGET>
whatweb -v http://<TARGET>
Manual Header Analysis
curl -I http://<TARGET>
Wappalyzer (Browser Extension)
- Identifies CMS, frameworks, libraries
- Shows JavaScript libraries
- Detects analytics and marketing tools
Directory Fuzzing
Gobuster
gobuster dir -u http://<TARGET> -w /usr/share/wordlists/dirb/common.txt
gobuster dir -u http://<TARGET> -w /usr/share/wordlists/dirb/common.txt \
-x php,html,txt,bak,zip
gobuster dir -u http://<TARGET> -w wordlist.txt \
-U admin -P password
gobuster dir -u https://<TARGET> -w wordlist.txt -k
Feroxbuster (Recursive)
feroxbuster -u http://<TARGET> -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt
feroxbuster -u http://<TARGET> \
-w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt \
-x php,html,txt -d 3
feroxbuster -u http://<TARGET> -w wordlist.txt -q -o results.txt
FFUF (Fast Fuzzer)
ffuf -u http://<TARGET>/FUZZ -w wordlist.txt
ffuf -u http://<TARGET>/FUZZ -w wordlist.txt -e .php,.html,.txt
ffuf -u http://<TARGET> -H "Host: FUZZ.<DOMAIN>" \
-w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt \
-fs <size_to_filter>
ffuf -u http://<TARGET>/login -X POST \
-d "username=admin&password=FUZZ" -w passwords.txt
Subdomain Enumeration
DNS-Based
gobuster dns -d <DOMAIN> -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
amass enum -passive -d <DOMAIN>
Virtual Host Fuzzing
gobuster vhost -u http://<TARGET> \
-w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
echo "<IP> subdomain.domain.com" >> /etc/hosts
Vulnerability Scanning
Nikto
nikto -h http://<TARGET>
nikto -h http://<TARGET> -o nikto.txt
nikto -h http://<TARGET>:8080
nikto -h http://<TARGET> -id admin:password
Nuclei
nuclei -u http://<TARGET>
nuclei -u http://<TARGET> -t cves/
nuclei -u http://<TARGET> -severity critical,high
Common Files to Check
Information Disclosure
curl http://<TARGET>/robots.txt
curl http://<TARGET>/sitemap.xml
curl http://<TARGET>/.git/HEAD
curl http://<TARGET>/.svn/entries
curl http://<TARGET>/.htaccess
curl http://<TARGET>/crossdomain.xml
curl http://<TARGET>/clientaccesspolicy.xml
Configuration Files
curl http://<TARGET>/web.config
curl http://<TARGET>/wp-config.php.bak
curl http://<TARGET>/config.php.bak
curl http://<TARGET>/.env
curl http://<TARGET>/phpinfo.php
Backup Files
for ext in bak old orig backup ~; do
curl -s -o /dev/null -w "%{http_code}" http://<TARGET>/index.php.$ext
done
CMS-Specific Enumeration
WordPress
wpscan --url http://<TARGET> -e vp,vt,u
wpscan --url http://<TARGET> --api-token <TOKEN> -e ap,at,u
wpscan --url http://<TARGET> -U admin -P /usr/share/wordlists/rockyou.txt
Joomla
joomscan -u http://<TARGET>
Drupal
droopescan scan drupal -u http://<TARGET>
Parameter Discovery
Arjun
arjun -u http://<TARGET>/page
arjun -u http://<TARGET>/page -w params.txt
Manual Testing
Wordlists Reference
| Purpose | Wordlist |
|---|
| Directories | /usr/share/wordlists/dirb/common.txt |
| Directories (larger) | /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt |
| Files | /usr/share/seclists/Discovery/Web-Content/raft-medium-files.txt |
| Subdomains | /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt |
| Parameters | /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt |
Output Format
# Web Enumeration: <TARGET>
## Technologies
| Component | Value |
|-----------|-------|
| Server | Apache 2.4.41 |
| Language | PHP 7.4 |
| CMS | WordPress 5.8 |
## Directories Found
| Path | Status | Size | Notes |
|------|--------|------|-------|
| /admin | 302 | - | Redirects to login |
| /backup | 200 | 4521 | Directory listing |
| /uploads | 403 | - | Forbidden |
## Files of Interest
- /robots.txt - Disallows /admin, /backup
- /.git/HEAD - Git repository exposed
- /wp-config.php.bak - Backup config file
## Vulnerabilities
- [ ] Directory listing enabled
- [ ] Git repository exposed
- [ ] Backup files accessible