id: flexbe-takeover

info:
  name: Flexbe Subdomain Takeover
  author: 0x_Akoko
  severity: high
  description: Flexbe takeover was detected.
  reference:
    - https://github.com/EdOverflow/can-i-take-over-xyz/issues/237
    - https://help.flexbe.com/domains/
  metadata:
    max-request: 1
  tags: takeover,flexbe

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

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

      - type: word
        condition: and
        words:
          - "Domain isn't configured"
          - "flexbe"

      - type: status
        status:
          - 404
# digest: 4b0a00483046022100815bad00e060131f9f67695b3e5746f6b5feb9ac156fc15500adb76f825f1c92022100a1e5408a0f54a721f143c3b7f44e004f98dbf784584a2c3d9fff0925a0c075ad:922c64590222798bb761d5b6d8e72950