42 lines
884 B
YAML
42 lines
884 B
YAML
id: pi-hole-detect
|
|
|
|
info:
|
|
name: pi-hole detector
|
|
author: geeknik
|
|
severity: info
|
|
tags: tech,pihole
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- "Pi-hole"
|
|
- "Web Interface"
|
|
- "FTL"
|
|
part: body
|
|
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
|