35 lines
826 B
YAML
35 lines
826 B
YAML
id: nginx-version
|
|
|
|
info:
|
|
name: Nginx version detect
|
|
author: philippedelteil,daffainfo
|
|
severity: info
|
|
description: Some nginx servers have the version on the response header. Useful when you need to find specific CVEs on your targets.
|
|
metadata:
|
|
max-request: 1
|
|
tags: tech,nginx
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- 'nginx/[0-9.]+'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- 'nginx/[0-9.]+'
|
|
|
|
# digest: 4b0a00483046022100a435d89ee59a406de9b399b6eecee5358ea65b446d76e317759d8f7eba68fd8a022100dd8e199379caf2edbae76263b69e68d63fe013475f4520fe33ebbac0a28c85a8:922c64590222798bb761d5b6d8e72950
|