id: livehelperchat-detect

info:
  name: Live Helper Chat Detect
  author: pikpikcu,ricardomaia
  severity: info
  metadata:
    verified: true
    max-request: 3
    fofa-query: title="Live Helper Chat"
  tags: livehelperchat,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/doc/CHANGELOG.txt"
      - "{{BaseURL}}/doc/README.txt"

    stop-at-first-match: true
    redirects: true
    max-redirects: 2

    matchers-condition: or
    matchers:
      - type: regex
        part: body
        regex:
          - "(?i)Live.Helper.Chat"

      - type: regex
        regex:
          - '(?i)Copyright.\(c\).2019.Remigijus.Kiminas'

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - '^(?i)((\d+\.)?(\d+\.)?(\*|\d+))v'

# digest: 4a0a00473045022100d5459e39f5cdcc99770a5a997226fb3010e57b39602036f86330f86c9f210f1c022058c72da4e91f93fd6131cea8db8e0d9768bf75cbaa5d5083e4ed82f560609f5f:922c64590222798bb761d5b6d8e72950
