Skip to content

Instantly share code, notes, and snippets.

@jonspeicher
Created August 19, 2010 06:02
Show Gist options
  • Save jonspeicher/537168 to your computer and use it in GitHub Desktop.
Save jonspeicher/537168 to your computer and use it in GitHub Desktop.
Enjoy some late-night obfuscation.
??=include <stdio.h> /??/
*int (func_p)(); *??/
/ int y = 0xDE;
??=define p(i) ??/
printf("%x\n", i); // ??\
??=define p(i) func_p (*bar)(i)??/
??=define p(i) prinf("\n%y\n", bar);
??=define l(y, func_p) (y << (func_p * 8))
int main(int a, char* v??(??)) ??<
int i = ??-(l(0x21, 3) ??! l(0x52, 2) ??! l(0x41, 1) ??! 0x10); p(i); ??>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment