Add files via upload

patch-1
Dominique RIGHETTO 2024-03-03 10:29:05 +01:00 committed by GitHub
parent a72c5ac5e7
commit 1f094f0e43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: detect-maxforwards-headers
info:
name: Max-Forwards header - Detection
author: righettod
severity: info
description: Max-Forwards response header is specified.
reference:
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards
- https://http.dev/max-forwards
- https://twitter.com/irsdl/status/1337299267652825088
metadata:
verified: 'true'
max-request: 1
shodan-query: "Max-Forwards:"
fofa-query: header="max-forwards"
tags: miscellaneous,misc
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
dsl:
- 'contains(to_lower(header), "max-forwards:")'
extractors:
- type: regex
part: header
regex:
- '(?i)max-forwards:\s+([0-9]+)'