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: 4b0a00483046022100d9e9bd0205546cab2db618d51d33dfb5da72d65c59dd8272a619feb6325cb3d3022100ce6a920b2f2817878938119292dfe20c0f39035d82b5a30dba56eea330c39f89:922c64590222798bb761d5b6d8e72950