commit 8fdd623b2fe36ccb7454f56e1aaae6b0cd2071b0 Author: Petar Cubela Date: Mon Jun 17 13:11:41 2024 +0200 inital commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..6d76398 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Supermicro Helper Script(s) +The script in this repository makes it possible to generate License keys for old (need to ask Philip for which BIOS version +exactly we used it) Supermicro BIOS systems. + + +``` +``` +``` + + diff --git a/ipmi-supermicro.sh b/ipmi-supermicro.sh new file mode 100644 index 0000000..52c9dd4 --- /dev/null +++ b/ipmi-supermicro.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +read -p -r "IPMI MAC: " macaddr +echo -n "$macaddr" | xxd -r -p | openssl dgst -sha1 -mac HMAC -macopt hexkey:8544E3B47ECA58F9583043F8 | awk '{print $2}' | cut -c 1-24 | sed 's/./&-/4;s/./&-/9;s/./&-/14;s/./&-/19;s/./&-/24;'