2022-07-03 16:26:34 +02:00
|
|
|
id: cloudfoundry-detect
|
|
|
|
|
|
|
|
|
|
info:
|
2022-07-04 17:03:53 +05:30
|
|
|
name: Cloudfoundry Detect
|
2022-07-03 16:26:34 +02:00
|
|
|
author: uomogrande
|
|
|
|
|
severity: info
|
2022-07-04 17:03:53 +05:30
|
|
|
description: Detects cloudfoundry based on response headers
|
2022-07-03 16:26:34 +02:00
|
|
|
reference: https://docs.cloudfoundry.org/concepts/cf-routing-architecture.html
|
2023-04-28 13:41:21 +05:30
|
|
|
metadata:
|
|
|
|
|
max-request: 2
|
2023-10-14 16:57:55 +05:30
|
|
|
tags: cloudfoundry,tech
|
2022-07-03 16:26:34 +02:00
|
|
|
|
2023-04-27 09:58:59 +05:30
|
|
|
http:
|
2022-07-03 16:26:34 +02:00
|
|
|
- raw:
|
|
|
|
|
- |
|
|
|
|
|
GET / HTTP/1.1
|
2022-07-04 17:03:53 +05:30
|
|
|
Host: {{Hostname}}
|
2022-07-03 16:26:34 +02:00
|
|
|
# request unknown (random) route
|
|
|
|
|
- |
|
|
|
|
|
GET / HTTP/1.1
|
|
|
|
|
Host: {{randstr}}.com
|
2022-07-04 17:05:54 +05:30
|
|
|
|
2022-07-03 16:26:34 +02:00
|
|
|
stop-at-first-match: true
|
|
|
|
|
matchers:
|
|
|
|
|
- type: dsl
|
|
|
|
|
dsl:
|
2023-06-20 02:40:30 +05:30
|
|
|
- 'contains(header, "X-Vcap-Request-Id:") || contains(header, "X-Cf-Routererror:")'
|
2024-12-01 13:57:55 +00:00
|
|
|
# digest: 490a00463044022036f5fc4f7093c2c5e476bf28e60464ad4ea7e9363afd755a06ec35cc60938d98022024b1ed64be7d3725303e87f77b46b6c2c36fcb2933ab5ee525af56059cf755b4:922c64590222798bb761d5b6d8e72950
|