- 16 Tem 2016
- 1,236
- 0
Kod aşağıdaki gibi. Bir tür şifreleme tekniği sanırım. Bu kodu bana açıklayabilecek biri var mı? Neden- Nasıl çıktı olarak 8080 veriyor?
******** olan yer (do-cument) olacak
bu da düzenlenmiş hali (beautify)
Çıktı "8080".
******** olan yer (do-cument) olacak
Kod:
<script type="text/javascript">eval(function(p,r,o,x,y,s){y=function(c){return(c<r?'':y(parseInt(c/r)))+((c=c%r)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(o--){s[y(o)]=x[o]||y(o)}x=[function(y){return s[y]}];y=function(){return'\\w+'};o=1};while(o--){if(x[o]){p=p.replace(new RegExp('\\b'+y(o)+'\\b','g'),x[o])}}return p}('b=3;g=D^C;o=B^E;l=F^A;e=5;h=1;p=9;i=H^G;m=J^y;k=2;n=8;c=4;q=u^x;s=z^w;r=7;d=v^I;j=0;a=X^W;f=U^V;t=6;K=j^l;S=h^i;T=k^g;N=b^a;M=c^d;L=e^m;O=t^s;P=r^q;R=n^o;Q=p^f;',60,60,'^^^^^^^^^^EightSevenOne^Four^Nine^NineSixNine^Seven^TwoSevenTwo^ZeroFourEight^Eight^Eight0Seven^One^Three^EightNineThree^SevenSixZero^Six^Five0Five^Five^FourOneFour^Two^Six8Six^Zero^3997^7015^80^1337^9090^744^8000^7370^3129^4009^8088^9803^6588^1037^8090^3146^Four0TwoSix^Seven9FiveThree^ZeroNineEightFour^Nine8FourZero^Six7NineOne^Six9OneFive^Four7SixSeven^FiveZeroZeroTwo^ThreeSixSevenEight^FourTwoThreeNine^11769^8080^443^3626'.split('\u005e'),0,{}))
</script>
<script type="text/javascript">********.write("<div id=text>"+(FiveZeroZeroTwo^Five0Five)+(Four0TwoSix^EightNineThree)+(FiveZeroZeroTwo^Five0Five)+(Four0TwoSix^EightNineThree)+"</div>")</script>
bu da düzenlenmiş hali (beautify)
Kod:
<script type = "text/javascript" > Four = 3;
ZeroFourEight = 4009 ^ 3129;
Five0Five = 7370 ^ 8088;
EightNineThree = 9803 ^ 8000;
Seven = 5;
Eight = 1;
Five = 9;
Eight0Seven = 1037 ^ 6588;
SevenSixZero = 3146 ^ 9090;
Three = 2;
Six = 8;
Nine = 4;
FourOneFour = 3997 ^ 1337;
Six8Six = 744 ^ 80;
Two = 7;
NineSixNine = 7015 ^ 8090;
One = 0;
EightSevenOne = 3626 ^ 443;
TwoSevenTwo = 11769 ^ 8080;
Zero = 6;
Four0TwoSix = One ^ EightNineThree;
ThreeSixSevenEight = Eight ^ Eight0Seven;
FourTwoThreeNine = Three ^ ZeroFourEight;
Nine8FourZero = Four ^ EightSevenOne;
ZeroNineEightFour = Nine ^ NineSixNine;
Seven9FiveThree = Seven ^ SevenSixZero;
Six7NineOne = Zero ^ Six8Six;
Six9OneFive = Two ^ FourOneFour;
FiveZeroZeroTwo = Six ^ Five0Five;
Four7SixSeven = Five ^ TwoSevenTwo; </script> <script type = "text/javascript" > ********.write("<div id=text>" + (FiveZeroZeroTwo ^ Five0Five) + (Four0TwoSix ^ EightNineThree) + (FiveZeroZeroTwo ^ Five0Five) + (Four0TwoSix ^ EightNineThree) + "</div>") </script>
Çıktı "8080".
Son düzenleme: