Added version detection for OpenResty (#4727)

* Added version detection for OpenResty

* matchers update

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
Jurnell Cockhren 2022-07-03 03:41:31 -05:00 committed by GitHub
parent df36c380cd
commit 9ff3f9d3da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -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.]+'