nuclei-templates/technologies/cloudfoundry-detect.yaml

29 lines
654 B
YAML
Raw Normal View History

2022-07-03 14:26:34 +00:00
id: cloudfoundry-detect
info:
2022-07-04 11:33:53 +00:00
name: Cloudfoundry Detect
2022-07-03 14:26:34 +00:00
author: uomogrande
severity: info
2022-07-04 11:33:53 +00:00
description: Detects cloudfoundry based on response headers
2022-07-03 14:26:34 +00:00
reference: https://docs.cloudfoundry.org/concepts/cf-routing-architecture.html
2022-07-04 11:33:53 +00:00
tags: cloudfoundry,tech
2022-07-03 14:26:34 +00:00
requests:
- raw:
- |
GET / HTTP/1.1
2022-07-04 11:33:53 +00:00
Host: {{Hostname}}
2022-07-03 14:26:34 +00:00
# request unknown (random) route
- |
GET / HTTP/1.1
Host: {{randstr}}.com
2022-07-04 11:35:54 +00:00
2022-07-03 14:26:34 +00:00
stop-at-first-match: true
req-condition: true
matchers:
2022-07-04 11:33:53 +00:00
2022-07-03 14:26:34 +00:00
- type: dsl
dsl:
- 'contains(all_headers, "X-Vcap-Request-Id:") || contains(all_headers, "X-Cf-Routererror:")'