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

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: 490a0046304402207f0714b72261f83f18a91244d48eea8b4dd43fc3133f62a372aebf44604bd05202203c6a4984bbc8800e85a3dda98154c6ee9a81f9c03ac8c5eb05e5d4acf56d1c12:922c64590222798bb761d5b6d8e72950