nuclei-templates/http/exposures/logs/production-log.yaml

39 lines
944 B
YAML

id: production-log
info:
name: Production Log File Disclosure
author: geeknik
severity: low
metadata:
verified: true
max-request: 3
github-query: filename:production.log Connecting to database specified by database.yml
tags: exposure,files,logs
http:
- method: GET
path:
- '{{BaseURL}}/log/production.log'
- '{{BaseURL}}/logs/production.log'
- '{{BaseURL}}/production.log'
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'Connecting to database specified by database.yml'
- type: word
part: header
words:
- 'text/html'
negative: true
- type: status
status:
- 200
# digest: 4a0a0047304502204f46774f54879b8b387b742e70329d14c47fd4ab865dd250079e6d3a8c53fdfc0221009aa0cecd1b50fd59991b10a2ebc1056a01308a4e8ab4c2584bb2fba04df515e3:922c64590222798bb761d5b6d8e72950