id: readme-takeover

info:
  name: Readme.io Takeover Detection
  author: pdteam
  severity: high
  description: Readme.io takeover was detected.
  reference:
    - https://github.com/EdOverflow/can-i-take-over-xyz/issues/41
  metadata:
    max-request: 1
  tags: takeover,readme

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

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

      - type: word
        words:
          - 'Project doesnt exist... yet!'

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