Last active
July 18, 2024 10:48
-
-
Save antoniocampos/3ff85c35812443eca8d7a63e07511d92 to your computer and use it in GitHub Desktop.
Linux Get Windows Key Saved in UEFI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo " " | |
echo "https://gist.github.com/antoniocampos" | |
echo " " | |
echo " " | |
echo "You key bellow: " | |
echo " " | |
strings /sys/firmware/acpi/tables/MSDM | |
echo " " | |
dmidecode | grep -A8 'System Information' | grep -i UUID | awk '{print $2}' | |
echo " " | |
echo " " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment