Update nginx-version.yaml
parent
50f3acc6d3
commit
48bdaf98cf
|
@ -1,8 +1,8 @@
|
|||
id: nginx-version
|
||||
|
||||
info:
|
||||
name: nginx version detect
|
||||
author: philippedelteil
|
||||
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
|
||||
|
@ -11,20 +11,21 @@ requests:
|
|||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
|
||||
- type: regex
|
||||
part: header
|
||||
regex:
|
||||
- "nginx+"
|
||||
- "nginx\\[0-9.]+"
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
extractors:
|
||||
- type: kval
|
||||
- type: regex
|
||||
part: header
|
||||
kval:
|
||||
- Server
|
||||
group: 1
|
||||
regex:
|
||||
- "nginx\\([0-9.]+)"
|
||||
|
|
Loading…
Reference in New Issue