Merge pull request #8171 from neriberto/feature/pihole

Update template pi-hole-detect.yaml to detect new versions
patch-1
Ritik Chaddha 2023-10-03 14:03:30 +05:30 committed by GitHub
commit 6aca91bfee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 10 deletions

View File

@ -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