Skip to content

Commit

Permalink
Added version detection for OpenResty (#4727)
Browse files Browse the repository at this point in the history
* Added version detection for OpenResty

* matchers update

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
  • Loading branch information
jcockhren and ehsandeep committed Jul 3, 2022
1 parent df36c38 commit 9ff3f9d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions technologies/openresty-detect.yaml
Original file line number Diff line number Diff line change
@@ -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.]+'

0 comments on commit 9ff3f9d

Please sign in to comment.