Small modifications. The random bytes are now alpha-numeric.
I also took in account if we have a shellcode over 256.