id: scriptcase-prod-login

info:
  name: ScriptCase Production Environment Login
  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}}/prod/lib/php/"
      - "{{BaseURL}}/scriptcase/prod/lib/php/"

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