id: token-info-json

info:
  name: Token Info Json File
  author: DhiyaneshDK
  severity: info
  metadata:
    verified: true
    max-request: 2
    google-query: intitle:"index of" "token_info.json"
  tags: exposure,files

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/test/Json/Auth/token_info.json"
      - "{{BaseURL}}/wp-content/plugins/constant-contact-api-old/vendor/constantcontact/constantcontact/test/Json/Auth/token_info.json"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"client_id":'
          - '"user_name":'
        condition: and

      - type: status
        status:
          - 200

# digest: 4b0a00483046022100f420ba79911fd29c63f7365743ff05b6c6eef9e687e4700db013f8e42edae392022100f0aade0d69ca9f6b387ef97843030a9f59a1b7a2a02a84c494cbb3986b8dbeb7:922c64590222798bb761d5b6d8e72950
