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