id: prtg-detect

info:
  name: Detect PRTG
  author: geeknik
  severity: info
  description: Monitor all the systems, devices, traffic, and applications in your IT infrastructure -- https://www.paessler.com/prtg
  metadata:
    max-request: 3
  tags: tech,prtg

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.htm"
      - "{{BaseURL}}/prtg/index.htm"
      - "{{BaseURL}}/PRTG/index.htm"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - "PRTG Network Monitor"

      - type: regex
        part: header
        regex:
          - PRTG

    extractors:
      - type: kval
        part: header
        kval:
          - Server
# digest: 490a00463044022006f65d03a7cc73f09d76e12ab5a2fb7438808a17eec6730af140c123ca6a54f302206773387288b91b818f111a3b79cfae1a00692c1c4972c3d3be256b59a898df17:922c64590222798bb761d5b6d8e72950