id: scriptcase-panel

info:
  name: ScriptCase Panel Detect
  author: Ricardo Maia (Brainfork)
  severity: info
  reference:
    - https://www.scriptcase.com.br
    - https://www.scriptcase.net
  classification:
    cpe: cpe:2.3:a:scriptcase:scriptcase:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: scriptcase
    product: scriptcase
    shodan-query: title:"ScriptCase"
  tags: panel,scriptcase,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/devel/iface/"
      - "{{BaseURL}}/scriptcase/devel/iface/"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - '(?i)(ScriptCase)'
          - '(?i)(NetMake)'
          - '(?i)(Login)'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: version
        part: body
        group: 2
        regex:
          - '(Vers&atilde;o|Version|Versão)\b.*\s(\d.*\d)'
# digest: 4a0a0047304502205d29d08bee727635a8417ae9528a7c49c68fc0a858e687ba939ca542cfbf3874022100c1c5ec326a267d98f53502bd96ca8e678bae193e9a262679dc7937361b42e510:922c64590222798bb761d5b6d8e72950