id: substack

info:
  name: substack.com User Name Information - Detect
  author: cheesymoon
  severity: info
  description: substack.com user name information check was conducted.
  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:
    max-request: 1
  tags: osint,substack

self-contained: true

http:
  - method: GET
    path:
      - "https://substack.com/@{{user}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "No people found for"
        negative: true

      - type: word
        part: body
        words:
          - 'handle\":\"{{user}}\"'
# digest: 4a0a0047304502200377499f59674bfbeffd94704f6265e9529519e484c7391eef1b85c839914902022100ab705fa2428a677daf2abdabcbe781c56f7f050627119132aad480ff42febb98:922c64590222798bb761d5b6d8e72950