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