nuclei-templates/http/technologies/privatebin-detect.yaml

38 lines
973 B
YAML

id: privatebin-detect
info:
name: PrivateBin - Detect
author: righettod
severity: info
description: |
PrivateBin was detected.
reference:
- https://privatebin.info/
metadata:
max-request: 1
verified: true
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: 4a0a0047304502207e7f69b925de97e067c23975a23bafc7e6ffa4d3a65f17c35dde4e941929a3c1022100c55e9d8562cff5a99fb2b8e406a8ee4ab9f89612fd201fe069b5c3282683e805:922c64590222798bb761d5b6d8e72950