id: sqlbuddy-panel

info:
  name: SQL Buddy Login Panel - Detect
  author: nullfuzz
  severity: info
  description: |
    SQL Buddy login panel was detected.
  reference:
    - http://sqlbuddy.com/
  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: http.title:"SQL Buddy"
    verified: true
  tags: panel,sqlbuddy

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

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - "status_code == 200"
          - "contains(body, '<title>SQL Buddy')"
        condition: and
# digest: 4a0a004730450220090dbc9316d5763de1303bca7746e7b81645a25b94d0bfd1a9500ce8cbb5b43802210088e4ae8d401631131008c139b438f41cd1308d3f20c71981be70c03db265cc1c:922c64590222798bb761d5b6d8e72950