id: cloudlog-panel

info:
  name: Cloudlog Panel - Detect
  author: s4e-io
  severity: info
  description: |
    Cloudlog panel was discovered.
  reference:
    - https://github.com/magicbug/Cloudlog
    - https://lab.uberspace.de/guide_cloudlog/
  metadata:
    verified: true
    max-request: 1
    fofa-query: title="Login - Cloudlog"
  tags: panel,login,cloudlog,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/index.php/user/login"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - 'contains_any(body, "<title>Login - Cloudlog", "Login to Cloudlog", "/CloudLog_logo.png")'
          - 'status_code == 200'
        condition: and
# digest: 490a004630440220122ff35ab3a0ac6ce4fe0022d6bdb1178aed634501faa3cc997750859bdb32a8022030d9f333af4c667114e3b54d9a8f2708908135ecc1102f5e5793f39b2d1c6cb8:922c64590222798bb761d5b6d8e72950