id: build-properties

info:
  name: Build Properties File Exposure
  author: DhiyaneshDk
  severity: info
  metadata:
    verified: true
    max-request: 3
    google-query: intitle:"index of" "build.properties"
  tags: exposure,config,files

http:
  - method: GET
    path:
      - '{{BaseURL}}/build.properties'
      - '{{BaseURL}}/build/build.properties'
      - '{{BaseURL}}/manual/style/build.properties'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'manpages.8 = \'
          - 'manpages.1 = \'

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