id: development-logs info: name: Discover development log files author: geeknik severity: info description: Development log file was exposed. metadata: max-request: 3 tags: logs,exposure,rails http: - 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 - type: word words: - "DEPRECATION WARNING" - "CREATE TABLE" condition: or - type: word part: header words: - "text/html" negative: true - type: status status: - 200 extractors: - type: regex name: last_modified part: header regex: - 'Last-Modified:.*' # digest: 4b0a004830460221008713d353ce81783cb1e3062f886ed47b099fcfd1b6b046360a6815aa9ed5bcc1022100acba3af7f6457b3b8e16eadaae76ba8703560e6869723248bde3c163b7e11efb:922c64590222798bb761d5b6d8e72950