id: appveyor-configuration-file

info:
  name: AppVeyor Configuration Page - Detect
  author: DhiyaneshDk
  severity: medium
  description: AppVeyor configuration page was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    shodan-query: html:"appveyor.yml"
  tags: config,exposure,devops

http:
  - method: GET
    path:
      - "{{BaseURL}}/.appveyor.yml"
      - "{{BaseURL}}/appveyor.yml"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "install:"
          - "test_script:"
        condition: and

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