id: frappe-panel

info:
  name: Frappe Panel - Detect
  author: Th3l0newolf
  severity: info
  description: |
    Frappe ERPNext Login Panel was discovered.
  reference:
    - https://frappeframework.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Login to Frappe"
  tags: frappe,login,web,erp,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/login#login"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<h4>Login to Frappe</h4>"
          - "frappe.csrf_token"
          - "frappe.boot"

      - type: status
        status:
          - 200
# digest: 490a0046304402201a0eef27ce7101d80f73fa1137368f68b7438a2b59218884b1ce8e2ccc0a275e02207c918b076fca4ca6545a3dfe2cb2fda16e5314cfe78c6773a04ad68c51ab1c5f:922c64590222798bb761d5b6d8e72950