31 lines
602 B
YAML
31 lines
602 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.
|
|
tags: tech,nginx
|
|
|
|
requests:
|
|
- 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.]+'
|