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,vuln

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

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

      - type: status
        status:
          - 200
# digest: 490a004630440220495ebc06cb8f89de598eb59b1e06be163274f66b8a0d7c83cd1664d5ffbb909b022049b12b8850425cb307ad6912024e30a1a2e5c43a17802e58e46f7bf80e63ae03:922c64590222798bb761d5b6d8e72950