id: sqlpad-panel

info:
  name: SQLPad Panel - Detect
  author: s4e-io
  severity: info
  description: |
    SQLPad panel was discovered.
  reference:
    - https://github.com/sqlpad/sqlpad
  metadata:
    verified: true
    max-request: 1
    fofa-query: "SQLPad"
  tags: panel,login,sqlpad,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/signin"

    matchers:
      - type: dsl
        dsl:
          - 'contains_any(body, "<title>SQLPad</title>", "webpackJsonpsqlpad")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a00483046022100e892d1195c60503f620c0a175d867628241e9d0d8bc9eb0bdff3ee6979a0a85c022100a575e3b3704d638b8c31f7b149a396025b7d5f97842563c2890aeb8c019b30df:922c64590222798bb761d5b6d8e72950