Revisit - Retrieve Microsoft Windows Product Key From UEFI Shell

In this blog post, I show you how to build the listmsdm utility, which I first published in a February 2015 blog post, in the UDK2015 (UEFI Development Kit, 2015) environment.

List EFI Configuration Table Entries

This post shows you how to write a UEFI shell utility which lists the EFI configuration table entries.

Zero Padding Brace Expansions in the Korn Shell

Both bash and zsh shells support leading zeros in ranges: $ echo {1..10} 1 2 3 4 5 6 7 8 9 10 $ echo {01..10} 01 02 03 04 05 06 07 08 09 10 $ echo {001..010} 001 002 003 004 005 006 007 008 009 010 $ From the bash manpage section on brace expansion: Supplied integers may be prefixed with 0 to force each term to have the same width. When either x or y begins with a zero, the shell attempts to force all generated terms to contain the same number of digits, zero-padding where

Access BGRT Information and Boot Graphics From UEFI Shell

In this post, I provide the source code for a small UEFI shell utility which will display information about a ACPI 5.0 BGRT table, if present, and allow you to save the referenced boot logo as a BMP file.

Sudo and Globbing

The question is how we can use the sudo utility to display a list of files in a directory to which we have absolutely no Unix filesystem privileges Consider the following directory and files contained therein: $ ls -l total 4 drwxrwx—. 2 root root 4096 May 22 21:14 demo $ su Password: XXXXXXXX # ls -l demo total 0 -rw-r–r–. 1 root root 0 May 22 21:14 file1 -rw-r–r–. 1 root root 0 May 22 21:14 file2 -rw-r–r–. 1 root root 0 May 22 21:14 file3 # exit exit Note the directory permissions are 770 and the user and