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,discovery

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