id: versa-networks-detect

info:
  name: Versa Networks Detection
  author: c-sh0
  severity: info
  reference:
    - https://versa-networks.com/products/components/
  classification:
    cpe: cpe:2.3:a:versa-networks:versa_analytics:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 7
    vendor: versa-networks
    product: versa_analytics
    shodan-query: html:"Versa Networks"
  tags: tech,versa

http:
  - method: GET
    path:
      - "{{BaseURL}}/favicon.png"
      - "{{BaseURL}}/images/versalogo.png"
      - "{{BaseURL}}/images/versalogo2.png"
      - "{{BaseURL}}/common/images/Logo.png"
      - "{{BaseURL}}/versa/dist/images/versa-logo.png"
      - "{{BaseURL}}/versa/styles/img/versa-logo.png"
      - "{{BaseURL}}/versa/app/img/versa-logo.png"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - "status_code==200 && (\"-1053531639\" == mmh3(base64_py(body)))"
          - "status_code==200 && (\"-1086395444\" == mmh3(base64_py(body)))"
          - "status_code==200 && (\"186362384\" == mmh3(base64_py(body)))"
          - "status_code==200 && (\"2033952700\" == mmh3(base64_py(body)))"
        condition: or
# digest: 4b0a00483046022100c89b432088864e17a4259199855e645ddb6b234dbc6a8cb9ba87c57f13579540022100fbec60561cfa7be9592551089777a503de17d7ba208e1912b428f5b2285e757d:922c64590222798bb761d5b6d8e72950