id: jorani-panel

info:
  name: Jorani Login Panel - Detect
  author: DhiyaneshDK
  severity: info
  description: Jorani login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 2
    shodan-query: html:"Login - Jorani"
    verified: true
  tags: panel,jorani,login

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/index.php/session/login'

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Login - Jorani"
          - "name=\"csrf_test_jorani"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '&nbsp;v([0-9.]+)'
# digest: 4a0a004730450220218dde6156bc79c3c8d44a55ee271d0f180fae9039e72665c6be9c0990ed4250022100a6489e847141542415df103fee863351c99734fd1b0454d55c34cc38cb42242c:922c64590222798bb761d5b6d8e72950