Created
December 28, 2024 23:00
-
-
Save gsauthof/030852d24c2825006636276ab3252346 to your computer and use it in GitHub Desktop.
Read Trusted Execution Technology (TXT) firmware component version from DMI table
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
python -c 'import sys; s=sys.argv[1]; s=s.strip()[5*3:-2*2]; print(".".join(str(int(x, 16)) for x in s.split()))' \ | |
"$(dmidecode --handle 0x0030 | grep Strings -B1 | head -1 )" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment