inital commit

This commit is contained in:
2024-06-17 13:11:41 +02:00
commit 8fdd623b2f
2 changed files with 14 additions and 0 deletions

4
ipmi-supermicro.sh Normal file
View File

@@ -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;'