id: simplebooklet-takeover

info:
  name: simplebooklet takeover detection
  author: pdteam
  severity: high
  description: simplebooklet takeover was detected.
  reference:
    - https://github.com/EdOverflow/can-i-take-over-xyz
  metadata:
    max-request: 1
  tags: takeover,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - Host != ip

      - type: word
        words:
          - We can't find this <a href="https://simplebooklet.com

    extractors:
      - type: dsl
        dsl:
          - cname
# digest: 4a0a0047304502206dab2ec1a286203e2106f0e46ba830efee7a6aed83fb9ece0695419beee3debc022100b06ac214be7c95fd56823ca5dd44c97503d850514372d744d6f03e1136c5befc:922c64590222798bb761d5b6d8e72950