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

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: 4b0a00483046022100c839a4f1e2049e6496369bc5cba53dd08a4366990cbfeed276bcb83b321c0101022100b67ad8a39d7b2cd07dbb5f973d104198ac98d6d96219a083c15c7474e534e0c4:922c64590222798bb761d5b6d8e72950