38 lines
959 B
YAML
38 lines
959 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: 4a0a0047304502206afe74cfd32d8f24ae65b6232ad1278899f3f308f065a2fd78a03bb76982df7002210093eaac25218e55f799167bb6ae960574486e989ce9616189b9c26f0e98481fe8:922c64590222798bb761d5b6d8e72950 |