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: 4b0a00483046022100d718675fc62c3326a3757cb7c252767908c421948659856532db92d9c7aaaf0f022100ceba2d84db4b103c4283cfd94b69f29c4f94401cb759d67f145403362066de02:922c64590222798bb761d5b6d8e72950