id: citrix-hypervisor-page

info:
  name: Citrix Hypervisor Page Detection
  author: pussycat0x
  severity: info
  classification:
    cpe: cpe:2.3:o:citrix:hypervisor:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: citrix
    product: hypervisor
    shodan-query: http.title:"Welcome to Citrix Hypervisor"
  tags: tech,citrix,default-page

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Welcome to Citrix Hypervisor'
          - 'XenCenter'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "Welcome to Citrix Hypervisor ([0-9. ]+)"
# digest: 490a00463044022069b529d83dbaf07ece39c6ff8f2b9ad6621c416eab391d826c4dd3012050606d022013c851128b6de5437eda4f232206861338e9a54adad0a57be527eecf3c15256a:922c64590222798bb761d5b6d8e72950