id: cleanweb-panel

info:
  name: CleanWeb Login Panel - Detect
  author: righettod
  severity: info
  description: |
    CleanWeb login panel was detected.
  reference:
    - https://tentelemed.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"CleanWeb"
  tags: panel,cleanweb,login,detect

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

    redirects: true
    max-redirects: 4

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "<title>cleanweb","logo cleanweb", "-cleanweb-")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'title="version\s+([0-9A-Za-z\s\.\-]+)"'
# digest: 490a0046304402204e4ead79d82788e9891aaf49f551f196f80fc620e922806f012e6ca4a5d043a3022028d8775e1d135e1261c00813a7fb40b177e0eeea7d50e40cae14d30d8446572e:922c64590222798bb761d5b6d8e72950