Web Servers — Hub

Platform-specific enumeration and exploitation once you identify the stack (banner, 404 fingerprint, version, or shell access).

Ctrl+F: nginx · tomcat · iis · sites-enabled · manager/html · web.config


📌 Identify the stack

SignalLikely server
Server: nginx/x.xNginx
Server: Microsoft-IIS/x.xIIS
Port 8080/8443 + Apache-Coyote / Tomcat pageTomcat
.aspx / .asp extensionsIIS
.jsp / /manager/htmlTomcat
PHP + reverse proxy errorsNginx (often fronting PHP-FPM)
curl -sI http://TARGET | grep -i server
nmap -p 80,443,8080,8443 -sV --script http-server-header TARGET

See UseCases for ports > Port 80 — HTTP · 0xdf — Default 404 Pages · Initial foothold


📌 Notes in this folder

NoteWhen
NginxLinux reverse proxy / PHP front — vhost enum on shell, misconfigs
TomcatJava — Manager app, WAR upload, JMX, AJP Ghostcat
IISWindows — web.config creds, short names, app pool privesc

📌 Cross-cutting web attacks

These apply regardless of server — pair with the platform note above: