id: wp-app-log

info:
  name: Discover wp-app.log Files
  author: geeknik
  severity: info
  description: wp-app.log file is exposed.
  metadata:
    max-request: 1
  tags: exposure,logs

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-app.log"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "LANG"
          - "Array"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"
          - "application/javascript"
        negative: true

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