id: cryptobox-panel

info:
  name: Cryptobox Panel - Detect
  author: righettod
  severity: info
  description: |
    Cryptobox was detected.
  reference:
    - https://www.ercom.com/solutions/cryptobox-presentation
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Cryptobox"
  tags: panel,cryptobox,login,detect,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Cryptobox</title>'
        case-insensitive: true

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'version[0-9%A]+v([0-9.\-a-z]+)'
# digest: 4a0a00473045022100d7dcfd781692cb3e6238c5535c44b10066508ab1a297939c55f76586d06fcd0302206500468a25761f911480a3e7bfc000c672e861a140118a7e60aa5ced899a1fbc:922c64590222798bb761d5b6d8e72950