id: privatebin-detect info: name: PrivateBin - Detect author: righettod severity: info description: | PrivateBin was detected. reference: - https://privatebin.info/ classification: cpe: cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: privatebin product: privatebin shodan-query: - title:"PrivateBin" - http.favicon.hash:1358855492 fofa-query: - title="PrivateBin" - icon_hash="1358855492" 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", "content=\"privatebin")' condition: and extractors: - type: regex part: body group: 1 regex: - 'privatebin\.[a-z]{2,3}\?([0-9.]+)' # digest: 4a0a00473045022041794da93bf42950f8ac3c5f3884d3c61b7e02cee84e589a84155cda8198a3e4022100f3d01873d7f15a345d1006bd784aec4c697b53ba19057f7347c3a5fae456ada6:922c64590222798bb761d5b6d8e72950