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