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,discovery

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: 4a0a00473045022100f84f64ea27243576aaa2950f8ec7162a6948407c29e6c023d4d8822232d36c0102206548c3aa8555cb6e872995345573fa8044569f54c7bf2944cdd00fa9d4eb30f5:922c64590222798bb761d5b6d8e72950