id: resa-vista-panel

info:
  name: RESA Vista Panel - Detect
  author: righettod
  severity: info
  description: |
     RESA Vista was detected — an automated multimedia display system for airports.
  reference:
    - https://resa.aero/en/solutions-operations-billing/vista-staff-fids/
  metadata:
    verified: true
    max-request: 1
  tags: panel,resa,login,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/account/login"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(to_lower(body), "vista", "resa airport", "login")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'v=([0-9.]+)'
# digest: 4b0a0048304602210086c5cc73a1fbce8082a9c94b49c32a82e981b459141c34511f4fdd20ad38b3e8022100ce430c31011edbbd2d245c85c8bafb6928510a801ad257d7e29ff792c8fbd4c3:922c64590222798bb761d5b6d8e72950