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: 4a0a00473045022100c424d580805f6a93237176dae3154253bd8fc34b38f558e3985889b0e096d8980220695ff224d2b1fcf37380681d85e66c2c0069da0359dc99a1d305a0cda88a3886:922c64590222798bb761d5b6d8e72950