Skip to content

Instantly share code, notes, and snippets.

View c0d3z3r0's full-sized avatar

Michael Niewöhner c0d3z3r0

  • 3072R/22274CD17216A9FC
View GitHub Profile
@c0d3z3r0
c0d3z3r0 / smcbmc_backup_crypt.txt
Last active January 11, 2024 10:49
Decrypt and re-encrypt Supermicro BMC config backups
Decrypt
openssl enc -d -des-ede3-cbc -in save_config.bin -out save_config.dec -K f1da33a298120612060792ffaa998811998877445588aabb -iv 0
dd if=save_config.dec bs=4 skip=1 | tar -xzf -
ls preserve_config/
bmc_hostname hostname_for_dhcp network SDRBlock tag
ddns ipctrl ntp server.pem timezone
DDNS_CONFIG lighttpd.conf OEMPSBlock service.conf wsman
ddns.key lighttpd_port.conf PSBlock snmpd.conf
ddns.private log ps.xml syslog.conf