2 ms·
The un-obfuscated version is commented and readable and still only ~15KB of source code. It uses calloc, fopen, and fgetc, which can trivially forwarded to the
by Dylan16807 7y ago
The un-obfuscated version is commented and readable and still only ~15KB of source code.
It uses calloc, fopen, and fgetc, which can trivially forwarded to the same syscalls as stage0 with only a few bytes. It uses isalnum, isspace, isdigit, strcpy, and strstr, which are all trivial. Add all that up and maybe you need to penalize it by a kilobyte. I'm not sure exactly how it's using dlsym but it seems to also be worth few bytes. It's not using the other 16MB of libc.