id: janitza-umg-panel

info:
  name: Janitza UMG Power Meter - Login Panel
  author: rxerium
  severity: info
  description: |
    Janitza UMG series power meters and energy analyzers expose a web interface for energy monitoring and power quality analysis.
  reference:
    - https://www.janitza.de/energy-analyzers.html
  metadata:
    max-request: 1
    verified: true
    vendor: Janitza
    product: umg
    shodan-query: 'http.title:"Janitza"'
  tags: panel,ics,janitza,power-meter,energy,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "Janitza electronics")'
          - 'contains_any(body, "UMG", "janitza.de")'
        condition: and
# digest: 4b0a00483046022100c47dd313471c9286bd88076e381e20dd9fb98f5d24f48f26e51c9230ebb1aa2f022100901afb0f1a9c0e28ea6c4f680023ba7e6d463cf133c5a761773db10e853bd14b:922c64590222798bb761d5b6d8e72950