2021-07-24 19:29:43 +00:00
|
|
|
id: development-logs
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Discover development log files
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 3
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: logs,exposure,rails
|
2021-07-24 19:29:43 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-24 19:29:43 +00:00
|
|
|
- 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:.*'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100ec0cab19e41834dbd98b3fad6f39e1e84ae68fda70aa02cfc0493041062fc9b1022100d427db1cb48ea9829c9d0dfe80fb9d19aff6ea0d86f868d72ca1df917d330835:922c64590222798bb761d5b6d8e72950
|