id: yeswehack

info:
  name: Yeswehack User Name Information - Detect
  author: philippedelteil
  severity: info
  description: |
    Yeswehack user name information check was conducted. Detection will work if the profile is set to be public.
  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-tech,yeswehack,discovery

self-contained: true

http:
  - method: GET
    path:
      - "https://api.yeswehack.com/hacktivity/{{user}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"username":"{{user}}"'
          - '"kyc_status":'
          - 'hunter_profile'
        condition: and
        case-insensitive: true

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100c3af6be491f1d228a7189ca2711058b44aa3fc19a28da5b5e26931ab538be096022100f6f30e68c7103725cafc5b4857bef9e2134aec666f39948e232db43882c63ff8:922c64590222798bb761d5b6d8e72950