id: wikipedia

info:
  name: Wikipedia User Name Information - Detect
  author: dwisiswant0
  severity: info
  description: Wikipedia 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,osint-news,wikipedia

self-contained: true

http:
  - method: GET
    path:
      - "https://en.wikipedia.org/w/api.php?action=query&format=json&list=users&ususers={{user}}"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - "userid"
# digest: 4b0a00483046022100849f544e39dc6ba3a199f19ab9ce58a473eb0dc95d8d428c0eb786dbc34811ba022100f927a07d31b0e62e816c1bad28202cf7bbe18bc038ccebb3a4d1c8f79bc7cd3f:922c64590222798bb761d5b6d8e72950