id: smartjob-takeover

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

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

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

      - type: word
        words:
          - Job Board Is Unavailable
          - This job board website is either expired
          - This job board website is either expired or its domain name is invalid.

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