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

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: 4a0a0047304502202a937da476681b56951d1f7ae4b791b3e5ab360a7f766410dc704f757d1516b7022100ed4486758e7c80d1923f6489631883ba24cffcca9d66a24f7cc68dd0d5146d7e:922c64590222798bb761d5b6d8e72950