nuclei-templates/exposures/logs/development-logs.yaml

46 lines
885 B
YAML
Raw Normal View History

2021-07-24 19:29:43 +00:00
id: development-logs
info:
name: Discover development log files
author: geeknik
severity: info
2021-07-26 08:53:27 +00:00
tags: logs,exposure,rails
2021-07-24 19:29:43 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/log/development.log"
- "{{BaseURL}}/logs/development.log"
- "{{BaseURL}}/development.log"
matchers-condition: and
matchers:
- type: word
words:
- "Connecting to database specified by database.yml"
- "Started GET"
condition: or
2021-07-26 08:48:24 +00:00
2021-07-24 19:29:43 +00:00
- type: word
words:
- "DEPRECATION WARNING"
- "CREATE TABLE"
condition: or
2021-07-26 08:48:24 +00:00
2021-07-24 19:29:43 +00:00
- type: word
part: header
words:
- "text/html"
negative: true
2021-07-26 08:48:24 +00:00
2021-07-24 19:29:43 +00:00
- type: status
status:
- 200
2021-07-26 08:48:24 +00:00
2021-07-24 19:29:43 +00:00
extractors:
- type: regex
name: last_modified
part: header
regex:
- 'Last-Modified:.*'