mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 12:43:29 +08:00
28 lines
846 B
YAML
28 lines
846 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: 490a004630440220130a2eb9f9b0717e14d8e0c07ca4335a91b294f6ea12b7c7b6559b84f8de102a02207ce0c73d18678ff3f2ecfd43e9c71fb26ae52484735d8ba806ea8d7e43b0e527:922c64590222798bb761d5b6d8e72950 |