This is an old revision of the document!
Lab08.txt
and add the following line: “Thank GOD that this lab is NOT part of the exam.”outguess
to hide Lab08.txt
behind a jpg file of your choice. Retrieve the contents from the jpg file.outguess
with apt-get install outguess
.fileype:jpg
to your Google search to only show jpg results.zip
and cat
to hide Lab08.txt
behind a JPG file of your choice. Use unzip
to retrieve the file.unzip
skips over junk found at the beginning of the file.const char *xlat = "dsfd;kfoA,.iyewrkldJKDHSUBsgvca69834ncxv"; char *unseven(const char *hash) { unsigned int key, i, hlen = strlen(hash) - 2; char *plain = (char*)malloc(hlen / 2 + 1); if (hlen < 2 || hlen & 1) return NULL; key = (hash[0] - '0') * 10 + hash[1] - '0'; if (key > 15 || !isdigit(hash[0]) || !isdigit(hash[1])) return NULL; hash += 2; for (i = 0; i < hlen; ++i) if (!isxdigit(hash[i])) return NULL; for (i = 0; i < hlen; i += 2) { plain[i / 2] = ((hex2int(hash[i]) << 4) | hex2int(hash[i + 1])) ^ xlat[key++]; if (key == 40) key = 0; } plain[hlen / 2] = 0; return plain; }