Partager via


Obfuscated Quine

"Impossible to understand Javascript" is an understatement. Here's the code

_=$_=+[],$=+!_,_$=!_+",_$$=!$+",__=({})+",_$_=($/_)+",__$=__[$+$+$+$+$];$_$=[][__$+__[$]+_$_[$]+__$+_$$[$]+_$[_]];$__=($_$+")[$$$$=(($+$)+''+(($<<$)*($+$+$)))]+($_$+'')[$$$$-$]+_$$[$]+_$$[$+$];__$$=(__$=$_$+'')[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++];$_$()[_][$__](''+_$$[_]+__[$]+_$[$]+'($$=_,$$$=[];$$<($<<($+$+$));$$++)$$$[$$]=($<<$$)');_$_$=$_$()[_][$__](''+_$$[_]+__[$]+_$[$]+'($$ '+_$_[($<<($+$))+$]+_$_[$]+' $_$()[_])'+_$_[($<<($+$))+$]+_$$[_]+'($$[_]==_$$[$+$+$]&&$$[$]==$__[_]&&$$[$+$]==_$$[$+$+$])$$');$__$=__$$+' (){'+_$[$]+_$[$+$+$]+_$[_]+__$$[$]+_$[$]+_$_[$]+'(';_$__=$_$()[_][$__](''+_$$[_]+__[$]+_$[$]+'($$ '+_$_[($<<($+$))+$]+_$_[$]+' $_$()[_])'+_$_[($<<($+$))+$]+_$$[_]+'($$[_]==_$_$[($<<($+$))*($+$+$)]&&$$[$]==_$[$+$+$]&&$$[$+$]==_$[_]&&$$[$<<($+$)]==__[$])$$');_$$$=$_$()[_][$__](''+_$$[_]+__[$]+_$[$]+'($$ '+_$_[($<<($+$))+$]+_$_[$]+' $_$()[_])'+_$_[($<<($+$))+$]+_$$[_]+'($$[_]==__[$]&&$$[$]==_$_[$]&&$$[$+$]==__[$+$+$+$+$])$$');__$_=$_$()[_][$__](_$_$[($<<($+$+$))-$]+_$[_]+_$[$]+_$_[$+$+$]+_$_[$]+_$_$[($<<($+$))*($+$+$)]+'.'+_$$[_]+_$[$]+__[$]+_$__[($+$+$+$+$)]+_$__[$+$+$]+_$$$[$+$+$]+_$$[$]+_$[$]+_$__[$+$+$]+__[$]+_$__[($+$+$+$+$)*($+$)]+_$[$+$+$]);;$_$()[_][$__]('$_$_='+__$$+'($$,$_$_$,$_$_$_$_){'+_$[$]+_$[$+$+$]+_$[_]+__$$[$]+_$[$]+_$_[$]+' $$.'+_$[$]+_$[$+$+$]+__$_($$$[($+$+$)*($+$)]+$$$[$+$+$+$+$]+$$$[($+$+$+$)])+_$$[$+$]+_$$[$]+_$$$[$+$]+_$[$+$+$]+'($_$_$,$_$_$_$_)'+'}');_$$_=__$_($$$[$+$+$+$+$]+$+$);$_$$=__$_(($<<($+$+$+$))+(($<<($+$))+$+$+$)<<($+$))+_$$_;;___=__$_((($+$+$)+(($+$)*($+$+$+$+$)))*($+$+$));$_$()[_][$__]("($$_="+$__$+"$_$_('_=$_=+[],$=+!_,_$=!_+______,_$$=!$+______,__=({})+______,_$_=($/_)+______,__$=__[$+$+$+$+$];$_$=[][__$+__[$]+_$_[$]+__$+_$$[$]+_$[_]];$__=($_$+______)[$$$$=(($+$)+______+(($<<$)*($+$+$)))]+($_$+______)[$$$$-$]+_$$[$]+_$$[$+$];__$$=(__$=$_$+______)[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++]+__$[$_++];$_$()[_][$__](______+_$$[_]+__[$]+_$[$]+___($$=_,$$$=[];$$<($<<($+$+$));$$++)$$$[$$]=($<<$$)___);_$_$=$_$()[_][$__](______+_$$[_]+__[$]+_$[$]+___($$ ___+_$_[($<<($+$))+$]+_$_[$]+___ $_$()[_])___+_$_[($<<($+$))+$]+_$$[_]+___($$[_]==_$$[$+$+$]&&$$[$]==$__[_]&&$$[$+$]==_$$[$+$+$])$$___);$__$=__$$+___ (){___+_$[$]+_$[$+$+$]+_$[_]+__$$[$]+_$[$]+_$_[$]+___(___;_$__=$_$()[_][$__](______+_$$[_]+__[$]+_$[$]+___($$ ___+_$_[($<<($+$))+$]+_$_[$]+___ $_$()[_])___+_$_[($<<($+$))+$]+_$$[_]+___($$[_]==_$_$[($<<($+$))*($+$+$)]&&$$[$]==_$[$+$+$]&&$$[$+$]==_$[_]&&$$[$<<($+$)]==__[$])$$___);_$$$=$_$()[_][$__](______+_$$[_]+__[$]+_$[$]+___($$ ___+_$_[($<<($+$))+$]+_$_[$]+___ $_$()[_])___+_$_[($<<($+$))+$]+_$$[_]+___($$[_]==__[$]&&$$[$]==_$_[$]&&$$[$+$]==__[$+$+$+$+$])$$___);__$_=$_$()[_][$__](_$_$[($<<($+$+$))-$]+_$[_]+_$[$]+_$_[$+$+$]+_$_[$]+_$_$[($<<($+$))*($+$+$)]+___.___+_$$[_]+_$[$]+__[$]+_$__[($+$+$+$+$)]+_$__[$+$+$]+_$$$[$+$+$]+_$$[$]+_$[$]+_$__[$+$+$]+__[$]+_$__[($+$+$+$+$)*($+$)]+_$[$+$+$]);;$_$()[_][$__](___$_$_=___+__$$+___($$,$_$_$,$_$_$_$_){___+_$[$]+_$[$+$+$]+_$[_]+__$$[$]+_$[$]+_$_[$]+___ $$.___+_$[$]+_$[$+$+$]+__$_($$$[($+$+$)*($+$)]+$$$[$+$+$+$+$]+$$$[($+$+$+$)])+_$$[$+$]+_$$[$]+_$$$[$+$]+_$[$+$+$]+___($_$_$,$_$_$_$_)___+___}___);_$$_=__$_($$$[$+$+$+$+$]+$+$);$_$$=__$_(($<<($+$+$+$))+(($<<($+$))+$+$+$)<<($+$))+_$$_;',$_$()[_][$__](__$_(''+($<<($+$+$))+($+$),''+$+_+$,''+$+_+($+$+$),''+($+$+$+$+$+$)+($+$+$)*($+$+$),''+$+($+$)+_,''+$+$+($+$))+'('+__$_((($+$+$)+(($+$)*($+$+$+$+$)))*($+$+$))+'___'+__$_((($+$+$)+(($+$)*($+$+$+$+$)))*($+$+$))+','+__$_(''+($+$+$)+(($+$+$)*($+$+$)),''+$+_+($+$+$),''+$+_+($+$+$+$+$),''+($+$+$)+(($+$+$)*($+$+$)))+')'),___)+';___=__$_((($+$+$)+(($+$)*($+$+$+$+$)))*($+$+$));$_$()[_][$__](\"($$_='+$_$_($_$_(($$_+''),_$$_,$_$$),$__$,_$$_+'+$__$+'+_$$_)+')()'+_$$_+')')})()")

The 1st comment about sums it up "Looks like Brainfuck gone mad". Eat that Obfuscated C programmers! :-)

Technorati : Javascript

Del.icio.us : Javascript

Zooomr : Javascript

Flickr : Javascript