id: airee-takeover

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

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

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

      - type: word
        name: airee
        words:
          - 'Ошибка 402. Сервис Айри.рф не оплачен'

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