It is currently Mon Nov 20, 2017 11:43 pm

All times are UTC - 5 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Obfuscation! You must try it.
PostPosted: Wed Jan 21, 2009 8:03 pm 

Joined: Wed Aug 06, 2008 7:53 pm
Posts: 182
Location: Russia
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

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

Image

And don't tell me anymore that you don't believe in the supernatural, other than the amazing abilities of Chuck Norris :)



_________________
«Computer scientists deal with algorithms that you may call practical in theory but unpractical in practice.» © Timothy Gowers
Offline
 Profile  
 
 Post subject: Re: Obfuscation! You must try it.
PostPosted: Wed Nov 23, 2011 5:43 pm 

Joined: Tue Nov 22, 2011 4:59 pm
Posts: 12
where does all the text come in i assume somewhere it loads a file. (i havent looked at the zip)


Offline
 Profile  
 
 Post subject: Re: Obfuscation! You must try it.
PostPosted: Sun Aug 25, 2013 2:08 am 

Joined: Sun Aug 25, 2013 12:45 am
Posts: 1
Kangum wrote:
where does all the text come in i assume somewhere it loads a file. (i havent looked at the zip)

no It's just obfuscated code , haven't you seen obfuscated code?

like this one
#include <stdio.h>
main()
{
    int a,b,c;
    int count = 1;
    for (b=c=10;a="- FIGURE?, UMKC,XYZHello Folks,\
    TFy!QJu ROo TNn(ROo)SLq SLq ULo+\
    UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\
    NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\
    HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\
    T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\
    Hq!WFs XDt!" [b+++21]; )
    for(; a-- > 64 ; )
    putchar ( ++c=='Z' ? c = c/ 9:33^b&1);
    return 0;
}


the above code prints map of a country.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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

Jump to:  

cron