id: wordpress-tmm-db-migrate

info:
  name: WordPress ThemeMarkers DB Migration File
  author: dwisiswant0
  severity: info
  metadata:
    max-request: 1
  tags: wordpress,wp-plugin,backup

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/tmm_db_migrate/tmm_db_migrate.zip"

    max-size: 1000

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "application/zip"
        part: header

      - type: regex
        regex:
          - "[a-z0-9_]+.dat"
        part: body

      - type: status
        status:
          - 200

      - type: binary
        binary:
          - "504B0304" # zip
# digest: 4b0a00483046022100fc6140abf79c252256b65a1618a02cec1298e8f20c90452e7d74703d00fc9a2c022100bfea9882f0a07f614ec5fe95ff4cbe7da36902dc7e3c97b27c0d456b5901e5b7:922c64590222798bb761d5b6d8e72950