id: rocketchat-panel

info:
  name: RocketChat Login Panel - Detect
  author: righettod
  severity: info
  description: RocketChat login panel was detected.
  reference:
    - https://www.rocket.chat/
  classification:
    cpe: cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: rocket.chat
    product: rocket.chat
    shodan-query: http.title:"Rocket.Chat"
  tags: panel,rocketchat,login,detect,discovery

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

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "<title>Rocket.Chat", "content=\"Rocket.Chat")'
        condition: and
# digest: 4a0a00473045022100a0b4ce499c134ebf909185a954ff8be858ad45e808149760d6e5b40d42a39eb30220656ded4b853bc331124f7c26c173beae5678d8f15992ffb9e46e031429f5263b:922c64590222798bb761d5b6d8e72950