updated matchers

patch-10
Ritik Chaddha 2024-08-19 20:26:41 +04:00 committed by GitHub
parent 6de27ed430
commit bc744da4eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -4,12 +4,14 @@ info:
name: Kiali - Detect name: Kiali - Detect
author: righettod author: righettod
severity: info severity: info
description: kiali panel was detected. description: |
kiali panel was detected.
reference: reference:
- https://kiali.io/ - https://kiali.io/
metadata: metadata:
verified: true verified: true
shodan-query: http.title:"Kiali" max-request: 2
shodan-query: title:"Kiali"
tags: panel,kiali,detect,login tags: panel,kiali,detect,login
http: http:
@ -18,12 +20,14 @@ http:
- "{{BaseURL}}/kiali/api/status" - "{{BaseURL}}/kiali/api/status"
- "{{BaseURL}}/kiali/" - "{{BaseURL}}/kiali/"
host-redirects: true
max-redirects: 2
stop-at-first-match: true stop-at-first-match: true
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- 'status_code == 200' - 'status_code == 200'
- 'contains_any(to_lower(body), "kiali-ui", "<title>kiali</title>", "kiali version")' - 'contains_any(to_lower(body), "kiali-ui", "<title>kiali", "kiali version")'
condition: and condition: and
extractors: extractors:
@ -31,4 +35,4 @@ http:
part: body part: body
group: 1 group: 1
regex: regex:
- '(?i)"Kiali version":\s*"([a-z0-9.]+)"' - '(?i)"Kiali version":\s*"([a-z0-9.]+)"'