From 9ff3f9d3daa098ec0323779b7cc5010d42694119 Mon Sep 17 00:00:00 2001 From: Jurnell Cockhren Date: Sun, 3 Jul 2022 03:41:31 -0500 Subject: [PATCH] Added version detection for OpenResty (#4727) * Added version detection for OpenResty * matchers update Co-authored-by: sandeep --- technologies/openresty-detect.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 technologies/openresty-detect.yaml diff --git a/technologies/openresty-detect.yaml b/technologies/openresty-detect.yaml new file mode 100644 index 00000000000..209e6d455ea --- /dev/null +++ b/technologies/openresty-detect.yaml @@ -0,0 +1,27 @@ +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.]+'