id: cockroachdb-detect

info:
  name: CockroachDB DB Console - Detect
  author: rxerium
  severity: info
  description: |
    CockroachDB DB Console, the web-based administrative interface for CockroachDB clusters, was detected.
  reference:
    - https://www.cockroachlabs.com/docs/stable/ui-overview
  metadata:
    max-request: 1
    shodan-query: 'product:"CockroachDB"'
  tags: tech,cockroachdb,database,console

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Cockroach Console</title>"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100dec3f6148a9ee18b501fd7119ea029bc623a75b381be535db62deefa38fa66f9022035c7c7d1def69e8ccf7d8f98dd749a2373f1c448204da1da30d837cc88b035d7:922c64590222798bb761d5b6d8e72950