Executing C-style hex-escaped string data on the stack.
Prebuilt binaries exist both for Windows and Linux.
Extracting shellcode from binaries and / or constructing C source code for demonstration or testing.
Disassembling the given hex string using objdump.
Note that it relies on a unhex command,
available at pattern.c,
and the Z Shell must be installed due to the use of =().
For example:
./dishex64.sh cccccccc