The goal is to obfuscate the following command:
cat really
in which, really is a file.
Using arithmetic (add, sub, mul, div, mod, and pow) for calculating index or lenght
${alphabet: 2:(-20-3)}at really
what about a #null character? (my #fav)
${alphabet: 2:1}${alphabet: -n:-n}at really
${alphabet: 2:1}${alphabet: n:0}at really
*where n is a positive number
${alphabet: 2:1}${alphabet: x:y}at really
*where (x,y) are out of range
To make it worse:
numbers in bash can be represented in various forms
for example number 10 is:
10 #decimal
012 #octal
0xa 0Xa #hexadecimal
2#1010 base#number #binary
gnu.org/software/bash/…
"Words of the form $'string' are treated specially. The word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard."