id: vistaweb-panel

info:
  name: Vista Web Login Panel
  author: righettod
  severity: info
  description: |
    Vista Web login panel was detected.
  reference:
    - https://resa.aero/solutions-operations-facturation/vista-web/
  metadata:
    verified: true
    max-request: 1
  tags: panel,vistaweb,login

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "login") && contains(body, "/lib/@resa/identityserver/") && contains(body, "resa.aero")'
        condition: and

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