34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
id: default-glassfish-server-page
|
|
|
|
info:
|
|
name: GlassFish Server Default Page
|
|
author: dhiyaneshDk,righettod
|
|
severity: info
|
|
classification:
|
|
cpe: cpe:2.3:a:oracle:glassfish_server:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: oracle
|
|
product: glassfish_server
|
|
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: 4b0a00483046022100e6eeabb5ff707a5eb10706b8455180c4143a9cbdfcdbccf43b213ca88bb641c4022100a030f212b508719d542f7695d9d94cd2259ff70d564142a9d3f959217acfe53e:922c64590222798bb761d5b6d8e72950 |