30 lines
938 B
YAML
30 lines
938 B
YAML
id: default-glassfish-server-page
|
|
|
|
info:
|
|
name: GlassFish Server Default Page
|
|
author: dhiyaneshDk,righettod
|
|
severity: info
|
|
metadata:
|
|
max-request: 1
|
|
shodan-query: http.title:"GlassFish Server - Server Running"
|
|
tags: tech,glassfish
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}'
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains_any(to_lower(body), "glassfish server - server running", "glassfish server with premier support", "<b>glassfish server</b>", "glassfish server installation directory")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: header
|
|
group: 1
|
|
regex:
|
|
- 'GlassFish\s+Server\s+([A-Za-z0-9\s.]+)(\n|\r)'
|
|
# digest: 4a0a00473045022060aa5b4e6c78b2d5c364211a1ca4ecba6f63f83702136b580e80a8813fc40395022100de1a55dc578acda9cf937456c406ab3013711c66ea2a236d8c957cc4e5937fb2:922c64590222798bb761d5b6d8e72950 |