Added cloudfoundry-detect Template

patch-1
uomogrande 2022-07-03 16:26:34 +02:00
parent 70fadeda14
commit d83ab634ef
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: cloudfoundry-detect
info:
name: cloudfoundry detection
author: uomogrande
severity: info
description: detect cloudfoundry based on response headers
tags: cloudfoundry,tech
reference: https://docs.cloudfoundry.org/concepts/cf-routing-architecture.html
requests:
- raw:
- |
GET / HTTP/1.1
# request unknown (random) route
- |
GET / HTTP/1.1
Host: {{randstr}}.com
stop-at-first-match: true
req-condition: true
matchers:
- type: dsl
name: header detection
dsl:
- 'contains(all_headers, "X-Vcap-Request-Id:") || contains(all_headers, "X-Cf-Routererror:")'