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

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: 4b0a00483046022100c06b2b858e376d323a45240f5cf19fca1054581df98e4f348013e14bd8308749022100fe3bee759f0bf0ebc3c6c2e4e902657ac85da8b3eadec9bfc6a6270ecee6d83b:922c64590222798bb761d5b6d8e72950