id: wp-license-file

info:
  name: WordPress license file disclosure
  author: yashgoti
  severity: info
  description: Leaked WordPress license file.
  metadata:
    max-request: 1
  tags: wordpress

http:
  - method: GET
    path:
      - "{{BaseURL}}/license.txt"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "WordPress - Web publishing software"

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