id: cleo-detect

info:
  name: Cleo Technology - Detect
  author: rxerium
  severity: info
  description: |
    This template detects Cleo technologies, including VLTrader, Harmony, and LexiCom, by inspecting response headers.It also extracts version information for each identified technology.
  reference:
    - https://www.cleo.com
  metadata:
    max-request: 1
    verified: true
    shodan-query: 'Server: Cleo'
  tags: tech,detect,cleo

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

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: word
        part: server
        words:
          - "Cleo VLTrader"
          - "Cleo Harmony"
          - "Cleo LexiCom"
        condition: or

    extractors:
      - type: regex
        part: server
        regex:
          - "Cleo VLTrader/([0-9.]+)"
          - "Cleo Harmony/([0-9.]+)"
          - "Cleo LexiCom/([0-9.]+)"
# digest: 4b0a00483046022100c240b7ef1b31829974e2666dabffae9de7580814ee9ccfd80581ac4f3b217b23022100ad73b4d16abe2905ee2ab7600962d7de37188a7de146f1af0fa8c804b0d0772b:922c64590222798bb761d5b6d8e72950