id: dell-idrac7-detect

info:
  name: Detect Dell iDRAC7
  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:
          - "12G"

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