id: vmware-vrealize

info:
  name: VMware vRealize
  author: milo2012
  severity: info
  description: Version of VMware vRealize Operations Manager
  metadata:
    max-request: 1
  tags: vmware,vrealize,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}/ui/login.action"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - text/html
        part: header

      - type: word
        words:
          - '<title>vRealize Operations Manager</title>'
        part: body

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "SessionProvider.js\\?version=([0-9.]+)"

# digest: 4a0a00473045022100cdc15fe982dc9d2243bf73d78a3581d9b0a5b54d66ccf7a916d5071628c32291022001e0a17e1a8f17f49e6514c489508e1fb08b2b2382a8b2c442fbfae70412c8be:922c64590222798bb761d5b6d8e72950
