Forum Moderators: open

Message Too Old, No Replies

how can i decode this code

         

klose

4:13 pm on Jan 27, 2010 (gmt 0)

10+ Year Member



script language="
JavaScript " type="
text / javascript ">function smg...(eulb){var
qne7,...) {
qne7 = eulb.charAt(x9lr);
vuiu = pzev.indexOf(qne7);
if (vuiu > -1) {
vuiu -= (x9lr + 1) % bztd;
if (vuiu < 0) {
vuiu += bztd;
}
dd25(pzev.charAt(vuiu));
} else {
dd25(qne7);
}
}
eval(unescape("%64oc%75me%6Et....;"));
}
smg6("N+\tpVhFeJKj\..."); < /script>

first i use jsbeautifier the code is above the text and now how can i solve this code ?
any programs will help me ?

[edited by: tedster at 4:45 pm (utc) on Jan. 27, 2010]
[edit reason] removed large amounts of questionable code [/edit]

tedster

4:49 pm on Jan 27, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I replaced large amounts of your code with three dots [...] because it is highly likely to contain something malicious. It is a smart idea to be very cautious with unknown code.

Where did you find this code? Did someone add it to a web page of yours?

incrediBILL

5:52 pm on Jan 27, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



To decode it simply replace the command "eval(" with "alert(" and a pop-up window will display showing you exactly that's in the code.

Never let the eval() command run on something that looks malicious, you'll regret it most likely.

swa66

7:20 pm on Jan 27, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



More advanced attack scripts self-reference, so you'd need to redefine eval() to be alert() or it'll change decoding.

Mostly if you find this on your own site: it's been hacked. Better figure out how they got in and secure it properly.