Update pi-hole-detect.yaml

patch-1
Ritik Chaddha 2023-10-03 13:59:48 +05:30 committed by GitHub
parent 498f357706
commit 4e78a390d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 14 deletions

View File

@ -1,41 +1,42 @@
id: pi-hole-detect id: pi-hole-panel
info: info:
name: pi-hole detector name: Pi-hole Login Panel - Detect
author: geeknik author: geeknik
severity: info severity: info
tags: tech,pihole
metadata: metadata:
max-request: 1 max-request: 5
verified: true
shodan-query: title:"Pi-hole"
tags: tech,pihole,detect
http: http:
- method: GET - method: GET
path: path:
- "{{BaseURL}}"
- "{{BaseURL}}/admin/index.php" - "{{BaseURL}}/admin/index.php"
- "{{BaseURL}}/admin/login.php" - "{{BaseURL}}/admin/login.php"
- "{{BaseURL}}/admin/index.php?login" - "{{BaseURL}}/admin/index.php?login"
- "{{BaseURL}}/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: matchers:
- type: status
status:
- 200
- type: word - type: word
part: body
words: words:
- "Pi-hole" - "Pi-hole"
- "Web Interface" - "Web Interface"
- "FTL" - "FTL"
part: body condition: and
condition: or
- type: word - type: word
part: body
words: words:
- '<title>Pi-hole - ' - '<title>Pi-hole'
- 'Pi-hole: Your black hole for Internet advertisements' - 'Pi-hole: Your black hole for Internet advertisements'
- 'Pi-hole: A black hole for Internet advertisements' - 'Pi-hole: A black hole for Internet advertisements'
- 'https://pi-hole.net'
- '<pre>sudo pihole -a -p</pre>' - '<pre>sudo pihole -a -p</pre>'
part: body
condition: or condition: or