Return back to marek-knows.com Member Community
Game Development, 3D Modeling, Art, Sound Effects and more


Obfuscation! You must try it.

 
Post new topic   Reply to topic    Member Community Forum Index -> Visual C++
View previous topic :: View next topic  
BugHunter



Joined: 06 Aug 2008
Posts: 180
Location: Russia

 PostPosted: Wed Jan 21, 2009 8:03 pm    Post subject: Obfuscation! You must try it. Reply with quote Back to top

Hi folks.

I wonder how many of you is able to say at a glance what does following C program do?
OK, don't break your brain. Actually this program is pretty famous.

Anyway now you know what C/C++ obfuscation is!


Note: must be compiled as pure C (not as C++)!

Obfuscation.c VC6 project 2KB rar

Code:

main(t,_,a)char*a;{return!0<t?t<3?main(-79,
-13,a+main(-87,1-_,main(-86, 0, a+1 )+a)):1,
t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==
2 ?_<13 ?main(2,_+1,"%s %d %d\n"):9:16:t<0?
t<-72?main(_,t,"@n'+,#'/*{}w+/w#cdnr/+,{}r\
/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n\
+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e\
#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]\
'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){nl\
]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{\
nl]'/w#q#n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; \
:{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{}rw]\
'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/\
 ') }+}{rl#'{n' ')# }'+}##(!!/"):t<-50?_==*a?
putchar(31[a]):main(-65,_,a+1):main((*a=='/')
+t,_,a+1):0<t?main(2,2,"%s"):*a=='/'||main(0,
main(-61,*a,"!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\
\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}


The output is



And don't tell me anymore that you don't believe in the supernatural, other than the amazing abilities of Chuck Norris Smile
_________________
«Computer scientists deal with algorithms that you may call practical in theory but unpractical in practice.» © Timothy Gowers
 
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Member Community Forum Index -> Visual C++ All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum