mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
29 lines
856 B
YAML
29 lines
856 B
YAML
id: cloudfoundry-detect
|
|
|
|
info:
|
|
name: Cloudfoundry Detect
|
|
author: uomogrande
|
|
severity: info
|
|
description: Detects cloudfoundry based on response headers
|
|
reference:
|
|
- https://docs.cloudfoundry.org/concepts/cf-routing-architecture.html
|
|
metadata:
|
|
max-request: 2
|
|
tags: cloudfoundry,tech,discovery
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
# request unknown (random) route
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{randstr}}.com
|
|
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(header, "X-Vcap-Request-Id:") || contains(header, "X-Cf-Routererror:")'
|
|
# digest: 4b0a004830460221008fa7479d5d6e13620bc67253822023b152a55de85c7bbfd0a655b5ae681e139b0221008018f0e303153fee69311a23b842ef642b8b5f02bf841e24142555bf55f299d1:922c64590222798bb761d5b6d8e72950 |