id: jetbrains-takeover

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

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

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

      - type: word
        words:
          - is not a registered InCloud YouTrack.

    extractors:
      - type: dsl
        dsl:
          - cname
# digest: 490a00463044022026304b014e8073fdc7fbda754c891346394029974b24d72efb5d9966a1b01273022053291a8af21d3e6765966ae248d321dde903544ffc6e163709965ba7c5ab79f9:922c64590222798bb761d5b6d8e72950