id: piratebay

info:
  name: Piratebay Username Information - Detect
  author: philippedelteil
  severity: info
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
  tags: osint,osint-p2p,piratebay

self-contained: true

headless:
  - steps:
      - args:
          url: "https://thepiratebay.org/search.php?q=user:{{user}}"
        action: navigate

      - action: waitload

    matchers:
      - type: dsl
        dsl:
          - "!contains(data, 'No results returned')"
          - "contains(data, 'User: {{user}}</label>')"
        condition: and
# digest: 4b0a00483046022100dbd0b8dc38f01ce58b836e0d5c916c8237cef282a81f6e0daea5e6b8d640daa7022100fbb360b08c7499cdaaf2260a02ee6bbf1f36bdf6a4bd1506b9a5193a1ff43466:922c64590222798bb761d5b6d8e72950