id: nocodb-panel

info:
  name: NocoDB Panel - Detect
  author: userdehghani
  severity: info
  description: |
    NocoDB Login panel was discovered.
  reference:
    - https://www.nocodb.com/
    - https://docs.nocodb.com/
  classification:
    cpe: cpe:2.3:a:xgenecloud:nocodb:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: xgenecloud
    product: nocodb
    shodan-query: "http.favicon.hash:206985584"
  tags: panel,nocodb,login,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/dashboard/#/signin"
      - "{{BaseURL}}/dashboard/favicon.ico"

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - 'content="NocoDB'
        case-insensitive: true

      - type: dsl
        dsl:
          - "status_code==200 && (\"206985584\" == mmh3(base64_py(body)))"
# digest: 4a0a00473045022100e11a1933cd9741c7ffeeef47d72f69830bc2b2d8307625591ae618a0a32ca44b02201a139e0bf2cd780163b71f8e97996897d62aacafccf3f12c1cb9fb2803a345ed:922c64590222798bb761d5b6d8e72950