Update template pi-hole-detect.yaml to detect new versions

patch-1
Neriberto C.Prado 2023-09-05 08:09:52 -03:00
parent ff31fa7882
commit 498f357706
1 changed files with 14 additions and 1 deletions

View File

@ -12,6 +12,9 @@ http:
- method: GET
path:
- "{{BaseURL}}/admin/index.php"
- "{{BaseURL}}/admin/login.php"
- "{{BaseURL}}/admin/index.php?login"
- "{{BaseURL}}/index.php?login"
matchers-condition: and
matchers:
@ -25,4 +28,14 @@ http:
- "Web Interface"
- "FTL"
part: body
condition: and
condition: or
- type: word
words:
- '<title>Pi-hole - '
- 'Pi-hole: Your black hole for Internet advertisements'
- 'Pi-hole: A black hole for Internet advertisements'
- 'https://pi-hole.net'
- '<pre>sudo pihole -a -p</pre>'
part: body
condition: or