Skip to content

OpenResty detection

ID: openresty-detect

Severity: info

Author: jcockhren

Tags: tech,openresty

Some deployments of OpenResty spill their version numbers.

id: openresty-detect
info:
name: OpenResty detection
author: jcockhren
severity: info
description: Some deployments of OpenResty spill their version numbers.
metadata:
max-request: 1
shodan-query: product:"OpenResty"
tags: tech,openresty
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: word
part: server
words:
- "openresty"
extractors:
- type: regex
part: header
regex:
- 'openresty/[0-9.]+'
# digest: 4b0a00483046022100de062f1d1038062c473342d6b590d39de2740b1c8521178e10810308cc713af70221008d0bc947c553f486cf288772d6139f9d621e580f4aa48f77fb70026c1b486124:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/technologies/openresty-detect.yaml"

View on Github