Skip to content

Commit

Permalink
updated matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikchaddha authored Aug 19, 2024
1 parent 6de27ed commit bc744da
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions http/exposed-panels/kiali-panel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -18,17 +20,19 @@ 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:
- type: regex
part: body
group: 1
regex:
- '(?i)"Kiali version":\s*"([a-z0-9.]+)"'
- '(?i)"Kiali version":\s*"([a-z0-9.]+)"'

0 comments on commit bc744da

Please sign in to comment.