Files
nuclei-templates/http/miscellaneous/maxforwards-headers-detect.yaml
2025-07-14 11:06:41 +00:00

34 lines
1001 B
YAML

id: maxforwards-headers-detect
info:
name: Max-Forwards Header - Detect
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,max-forwards
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]+)'
# digest: 4a0a004730450220336877074d205b9565390e8a11287e23856de54b12a0a9cfec98f6e5be1dd53c022100bbf1eef6506a5290deb8a902937d7ce279ff4468112cc8ea252ec2657156a685:922c64590222798bb761d5b6d8e72950