28 lines
498 B
YAML
28 lines
498 B
YAML
|
id: openresty-detect
|
||
|
|
||
|
info:
|
||
|
name: OpenResty detection
|
||
|
author: jcockhren
|
||
|
severity: info
|
||
|
description: Some deployments of OpenResty spill their version numbers.
|
||
|
tags: tech,openresty
|
||
|
metadata:
|
||
|
shodan-query: product:"OpenResty"
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}"
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: server
|
||
|
words:
|
||
|
- "openresty"
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
part: header
|
||
|
regex:
|
||
|
- 'openresty/[0-9.]+'
|