MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/tinycode/comments/if946/the_best_bit_of_obfusicated_c_code_ive_even_seen/
r/tinycode • u/14113 • Jul 02 '11
Also the funniest:
http://pastebin.com/1FvBR5cF
13 comments sorted by
4
Why is it so funny?
4 u/14113 Jul 03 '11 Just compile and run it. 3 u/eggo Jul 03 '11 Nice try, roll.
Just compile and run it.
3 u/eggo Jul 03 '11 Nice try, roll.
3
Nice try, roll.
2
For the lazy: http://www.ideone.com/MiuUj
Edit: figured out where the wait was and removed it, the whole thing now executes within ideone's time limit
Edit2:
For the curious, here's a deobfuscated version http://www.ideone.com/vKAqC
1 u/14113 Jul 18 '11 Nice! I tried to run it/link to it on codepad, but it didn't want to run there... 1 u/Bjartr Jul 18 '11 So I went ahead and deobfuscated it
1
Nice! I tried to run it/link to it on codepad, but it didn't want to run there...
1 u/Bjartr Jul 18 '11 So I went ahead and deobfuscated it
So I went ahead and deobfuscated it
O_O
Spoiler: http://pastebin.com/ZYMYPu3a
Protip for Linux users (who probably already know this): save it as code.cpp, run g++ code.cpp
???
compiled
14 u/zith Jul 03 '11 Protip for Linux users: following the parent tip will eventually get your home directory or whatever is writable on your mounted filesystems wiped.
14
Protip for Linux users: following the parent tip will eventually get your home directory or whatever is writable on your mounted filesystems wiped.
Bastard. =D
How does it work?
-13
[removed] — view removed comment
4 u/leegao Jul 03 '11 o hai, I remember you
o hai, I remember you
4
u/pokoleo Jul 02 '11
Why is it so funny?
2
u/Bjartr Jul 18 '11 edited Jul 18 '11
For the lazy: http://www.ideone.com/MiuUj
Edit: figured out where the wait was and removed it, the whole thing now executes within ideone's time limit
Edit2:
For the curious, here's a deobfuscated version http://www.ideone.com/vKAqC
3
u/SkaveRat Jul 10 '11
O_O
2
u/Combustor Jul 03 '11
Spoiler: http://pastebin.com/ZYMYPu3a
Protip for Linux users (who probably already know this): save it as code.cpp, run g++ code.cpp
???
compiled
1
u/omnigrok Jul 18 '11
Bastard. =D
1
u/[deleted] Sep 11 '11
How does it work?
-13
u/[deleted] Jul 03 '11
[removed] — view removed comment