id: easyvista-panel

info:
  name: EasyVista Login Panel - Detect
  author: righettod
  severity: info
  description: |
    EasyVista login panel was detected.
  reference:
    - https://www.easyvista.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"Easyvista"
  tags: panel,easyvista,login,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "<title>easyvista apps</title>", "easyvista-bundle.min.js", "packages_com_easyvista_core")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)package:\s+"([a-z0-9._-]+)"'
          - '(?i)version&nbsp;:&nbsp;([a-z0-9._-]+)'
# digest: 4b0a00483046022100c76ddbc97a7a12c0517a460d70e594c456b17848c73608377ad601791fcb2b0c022100d9fafcc68a1a95522df2698cf537a1c10f299242cb30a20ea0f295056da8e107:922c64590222798bb761d5b6d8e72950