id: forticlientems-panel

info:
  name: FortiClient Endpoint Management Server Panel - Detect
  author: h4sh5
  severity: info
  classification:
    cpe: cpe:2.3:a:fortinet:forticlient_endpoint_management_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: fortinet
    product: forticlient_endpoint_management_server
    shodan-query: http.favicon.hash:-800551065
  tags: panel,fortinet,forticlient,ems,login,detect

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "FortiClient Endpoint Management Server"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        name: version
        group: 1
        regex:
          - 'VERSION_FULL\\u0022: \\u0022(.*?)\\u0022'
# digest: 4a0a00473045022100d60dca31ab111cc00e915f1e9679085db7081a5416e739ab65732376ebfc2b370220621449b167b509e815f0f1910b1eb1c97fdfd43f870e2b765de050133f78e546:922c64590222798bb761d5b6d8e72950