Skip to main content

Environment & Access

Environment & Access

Hardware / firmware

Item Value
Server Dell PowerEdge T130 (13G)
BIOS 2.0.8
iDRAC iDRAC8, firmware 2.86.86.86
iDRAC IP 10.50.100.101192.0.2.10 /24, gateway 10.50.100.254192.0.2.1 (DHCP)
iDRAC MAC 10:98:36:B4:74:4700:00:5E:00:53:01 (shared LOM)
Original service tag 25JR7J2XXXXXXX
New service tag 73TNNK2XXXXXXX
DNS name zjg-idrac-01.zacnet.bts-crew.example.com
Host power state Off during most of the work

Access used

  • SSH as aioperator (administrator) → the iDRAC SMASH shell /admin1->, then racadm. Paramiko helper: idrac8/xxe/idrac_ssh.py.
  • Web UI session (used to import licenses):
    • POST /data/login with user/password → forwardUrl containing ST1/ST2.
    • Every request needs header ST2: <token> (and ST1 in the query/form).
    • License import: POST /lm/lmupload.lmp?set=licenseForce:0,licenseImport:1,deviceOID:1,licenseFileName: with multipart field licInput_licenseOptions_0 and form field ST1.
  • Redfish: POST /redfish/v1/SessionService/Sessions returns an X-Auth-Token. No license-import action is exposed on 2.86.
  • Session limit: the iDRAC allows a handful of concurrent web/Redfish sessions. racadm closessn -a clears them when logins start failing with "The maximum number of user sessions has been reached".

PC-side helpers

File Purpose
idrac8/xxe/idrac_ssh.py drive the /admin1-> CLI over SSH (paramiko)
idrac8/xxe/serve.py DTD / generic HTTP server on port 80, logs to requests.log
idrac8/xxe/smtp_probe.py minimal SMTP listener used as a TCP-egress probe
idrac8/xxe/build_duration.py build the UTF-16 TOCTOU license
idrac8/xxe/check_duration.py local digest / Duration assertions