id: agilecrm-takeover

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

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

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

      - type: word
        words:
          - Sorry, this page is no longer available.

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