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: 4a0a00473045022100c6ea9a74033413bedd4844782e436d827a276e06cd4a5e8ffe9aa859ba9f7c6c022001baf57609e2f58523f9e981f8acdd961cc442271d55370d72bbd220d8620d2c:922c64590222798bb761d5b6d8e72950