Skip to content

Commit d3410f9

Browse files
Merge pull request #15251 from righettod/openwebui_upd
Refactor the "Open WebUI" template.
2 parents 451b5a5 + beed3e5 commit d3410f9

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

http/exposed-panels/openwebui-panel.yaml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,40 @@ id: openwebui-panel
22

33
info:
44
name: Openweb UI Panel - Detect
5-
author: rxerium
5+
author: rxerium,righettod
66
severity: info
77
description: |
8-
An OpenWebUI panel was detected
8+
OpenWebUI was detected - a platform for running AI on your own terms
99
reference:
1010
- https://openwebui.com/
1111
metadata:
1212
verified: true
1313
max-request: 1
14-
shodan-query: http.favicon.hash:-286484075
15-
tags: panel,openwebui,login,discovery
14+
shodan-query: http.favicon.hash:-286484075 http.title:"Open WebUI"
15+
tags: panel,openwebui,login,detect,discovery
1616

1717
http:
1818
- method: GET
1919
path:
2020
- "{{BaseURL}}"
21+
- "{{BaseURL}}/api/config"
22+
- "{{BaseURL}}/auth"
23+
- "{{BaseURL}}/opensearch.xml"
2124

2225
host-redirects: true
2326
max-redirects: 2
2427

25-
matchers-condition: and
28+
stop-at-first-match: true
2629
matchers:
27-
- type: word
28-
words:
29-
- '<title>Open WebUI</title>'
30+
- type: dsl
31+
dsl:
32+
- 'status_code == 200'
33+
- 'contains_any(to_lower(body), "<title>open webui</title>", "\"name\":\"open webui\"", "<shortname>open webui</shortname>")'
34+
condition: and
3035

31-
- type: status
32-
status:
33-
- 200
34-
# digest: 4a0a00473045022014a9a3de7fa18591575425e6f8d57aed9ed40349d725c011da681ec8599d9591022100d646f491367d1ceb43b7addfdd41666eb26bf0c86e57e177e27bc5fa0445e290:922c64590222798bb761d5b6d8e72950
36+
extractors:
37+
- type: regex
38+
part: body
39+
group: 1
40+
regex:
41+
- '"version"\s*:\s*"([0-9\.]+)"'

0 commit comments

Comments
 (0)