id: raritan-pdu-panel

info:
  name: Raritan PDU - Login Panel
  author: rxerium
  severity: info
  description: |
    Raritan intelligent PDU web interface panel has been detected.
  reference:
    - https://www.raritan.com/
  metadata:
    max-request: 1
    verified: true
    vendor: Raritan
    product: pdu
    shodan-query: 'http.html:"Raritan" http.html:"PDU"'
  tags: panel,raritan,pdu,ics,power,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Product: Raritan PDU'
          - 'PDU G2'
          - 'responsive-gui'
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100cf49b3f6eb3d3770e853a22503f6b7ffab78678218769aac107a51ab4276025102206b287a5af8573fb8af8454772b768bb8a93537b6adf7386e1357538275bfdfd4:922c64590222798bb761d5b6d8e72950