id: guard-config

info:
  name: Guardfile Config - Detect
  author: DhiyaneshDK
  severity: info
  description: Guardfile configuration information was detected.
  reference:
    - https://github.com/guard/guard
    - https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
  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:
    verified: true
    max-request: 1
    shodan-query: html:"Guardfile"
  tags: exposure,file,guard,config

http:
  - method: GET
    path:
      - '{{BaseURL}}/Guardfile'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'guard :'
          - 'end'
        condition: and

      - type: status
        status:
          - 200

# digest: 4a0a00473045022100fd13be4e6bc72539e0046d41fd1cf7337f7090c87f4595f07bf2bc29d1624f1202201a06d149bdc0b73691b96ae6b35fcc280bfbd2ce741606354ee3686f23382a01:922c64590222798bb761d5b6d8e72950
