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
  metadata:
    max-request: 2
    shodan-query: title:"ScriptCase"
    verified: true
  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: 4a0a00473045022100a07d7a4a3fa528fc9e8449356a0a0fea8b53a1dab61e7b4f5952e0a2cf26a1d9022023456505eca7ae6dc299690b58d96691844ba571aa919c4cbfc9f29ac6b45947:922c64590222798bb761d5b6d8e72950