Merge pull request #8171 from neriberto/feature/pihole
Update template pi-hole-detect.yaml to detect new versionspatch-1
commit
6aca91bfee
|
@ -1,28 +1,42 @@
|
|||
id: pi-hole-detect
|
||||
id: pi-hole-panel
|
||||
|
||||
info:
|
||||
name: pi-hole detector
|
||||
name: Pi-hole Login Panel - Detect
|
||||
author: geeknik
|
||||
severity: info
|
||||
tags: tech,pihole
|
||||
metadata:
|
||||
max-request: 1
|
||||
max-request: 5
|
||||
verified: true
|
||||
shodan-query: title:"Pi-hole"
|
||||
tags: tech,pihole,detect
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
- "{{BaseURL}}/admin/index.php"
|
||||
- "{{BaseURL}}/admin/login.php"
|
||||
- "{{BaseURL}}/admin/index.php?login"
|
||||
- "{{BaseURL}}/index.php?login"
|
||||
|
||||
matchers-condition: and
|
||||
host-redirects: true
|
||||
max-redirects: 2
|
||||
stop-at-first-match: true
|
||||
matchers-condition: or
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "Pi-hole"
|
||||
- "Web Interface"
|
||||
- "FTL"
|
||||
part: body
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '<title>Pi-hole'
|
||||
- 'Pi-hole: Your black hole for Internet advertisements'
|
||||
- 'Pi-hole: A black hole for Internet advertisements'
|
||||
- '<pre>sudo pihole -a -p</pre>'
|
||||
condition: or
|
||||
|
|
Loading…
Reference in New Issue