id: dell-idrac6-detect

info:
  name: Detect Dell iDRAC6
  author: kophjager007
  severity: info
  description: The Integrated Dell Remote Access Controller (iDRAC) is designed for secure local and remote server management and helps IT administrators deploy, update and monitor Dell EMC PowerEdge servers.
  metadata:
    max-request: 1
  tags: tech,dell

http:
  - method: GET
    path:
      - "{{BaseURL}}/data?get=prodServerGen"

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

      - type: word
        part: body
        words:
          - "11G"

    extractors:
      - type: regex
        part: body
        regex:
          - '[0-9]{2}G'
# digest: 490a00463044022071e3858c730573c77254c7cb89b92da708846fd7d8abb805128aec85a4c48c9d0220010552e1e9e0ce48a2b5c3dc7225ba55320fe5ffc70ac37172c7da14ef349283:922c64590222798bb761d5b6d8e72950