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,discovery

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