Skip to content

Instantly share code, notes, and snippets.

@typpo
Last active August 29, 2015 14:00
Show Gist options
  • Save typpo/11204337 to your computer and use it in GitHub Desktop.
Save typpo/11204337 to your computer and use it in GitHub Desktop.
obfuscated
#define _ 0xBEE7
#define print(str)'='//;printf\("You guessed: %s\n", str\);
#include <stdio.h>
#define f(X) int
union fi {f(fi) x; char y;}i;int main() {f(10) ff=10;for (i.x=0; (long)i.x < 1+
4*19*643-_+ff;){if(!i.x++ & _< ff)z:if (putchar(ff) && _)return ff;}print([x
for x in set(ff)]);printf("%d", (f(.))i.x);f(1) x;sscanf("22","%d", &x);
sprintf(&i.y, "%c", print(ff));printf("%c%c", putchar(print(4__2)),i.y);
print(__);f(fi{for(;;)}) y;putchar('Z'-x);goto z;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment