pentesting, updated
Fingerprint the application framework
Identify the web application framework and language from headers, cookies, source markers and automated tools.
Goal
Determine the framework and language behind the app, so you know its default routes, known bugs and expected behaviour.
How to test
Check response headers and cookies:
curl -sI https://example.com | grep -iE 'x-powered-by|server|set-cookie'
Session cookie names are strong tells:
| Cookie | Framework |
|---|---|
PHPSESSID | PHP |
CAKEPHP | CakePHP (PHP) |
ASP.NET_SessionId | ASP.NET |
JSESSIONID | Java |
connect.sid | Express / Node.js |
csrftoken, sessionid | Django |
Also read HTML source for tool/generator comments, and run Wappalyzer
(see fingerprint web server
for server-level fingerprinting).
What to look for
A concrete framework + version, template engine markers (useful later for SSTI), and default files/paths that confirm the stack.
Notes
Headers and cookie names can be customised or stripped — cross-check several signals before concluding.
References
- OWASP WSTG-INFO-08 — Fingerprint Web Application Framework.
- Related: map architecture.