38 lines
958 B
YAML
38 lines
958 B
YAML
id: privatebin-detect
|
|
|
|
info:
|
|
name: PrivateBin - Detect
|
|
author: righettod
|
|
severity: info
|
|
description: |
|
|
PrivateBin was detected.
|
|
reference:
|
|
- https://privatebin.info/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: title:"PrivateBin"
|
|
tags: tech,privatebin,detect
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
redirects: true
|
|
max-redirects: 2
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains_any(to_lower(body), "privatebin.js", "privatebin</title>", "content=\"privatebin")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- 'privatebin\.[a-z]{2,3}\?([0-9.]+)'
|
|
# digest: 4a0a0047304502206c206521a18dcd4cbf7969b932bde363b8a28fd9e14a007680371285886235920221008efa426ddef32b50823c5167f532ec7462c91ed4ec6a62ef841eec9e5451a632:922c64590222798bb761d5b6d8e72950 |