id: stackoverflow

info:
  name: StackOverflow User Name Information - Detect
  author: lu4nx
  severity: info
  description: |
    StackOverflow 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
    cwe-id: CWE-200
  metadata:
    verified: "true"
    max-request: 1
  tags: osint,osint-coding,stackoverflow

self-contained: true

http:
  - method: GET
    path:
      - "https://stackoverflow.com/users/filter?search={{user}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<p>No users matched your search.</p>"
        negative: true

      - type: status
        status:
          - 200

# digest: 490a0046304402200b89ea8de667ae1101c7fb841ec686409124191a8002d169b9aa1d5ff4f4123002207a5d83e8241a855a5833495330bc54308be51ad0d49c0d7f126ce9702f092ec5:922c64590222798bb761d5b6d8e72950
