id: openbao-webui-detect

info:
  name: OpenBao Web UI Panel - Detect
  author: ritikchaddha
  severity: info
  description: |
    Detects the presence of the OpenBao web console.
  reference:
    - https://github.com/openbao/openbao
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"OpenBao"
    fofa-query: title="OpenBao"
  tags: panel,openbao,detect,ui

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>OpenBao"
          - "Welcome to OpenBao"
        condition: or

      - type: status
        status:
          - 200
# digest: 490a0046304402205a096bad14a52a642c210a2592db05ad4f71f3a03be742d30d9a55ba41829a3d02201a04d4d59bda7c1ba1d20c069fc86bfd5d280a13dca3c529d9c2cc3771ddbac3:922c64590222798bb761d5b6d8e72950