Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 I found a weird code, Need help to understand

views
     
nyem
post May 12 2010, 02:31 PM

Enthusiast
*****
Senior Member
751 posts

Joined: Jan 2007


QUOTE(HeHeHunter @ May 12 2010, 01:44 PM)
Ah d.a.m.n... But before that, my anti-virus should be able to kill it right?
*
It's just javascript, should be harmless. You can create the same thing at http://dean.edwards.name/packer/

This
CODE
eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2(\'0 1!\');',3,3,'Hello|World|alert'.split('|'),0,{}))

is only
CODE
alert ('Hello World!');



nyem
post May 12 2010, 09:48 PM

Enthusiast
*****
Senior Member
751 posts

Joined: Jan 2007


QUOTE(HeHeHunter @ May 12 2010, 07:04 PM)
Well, there's a packer there, but I can't seem to find an unpacker.
*
http://www.strictly-software.com/unpacker


nyem
post May 16 2010, 11:35 AM

Enthusiast
*****
Senior Member
751 posts

Joined: Jan 2007


I don't normally obfuscate my codes - they're already considered obfuscated when I come back 6 months later and I could not understand what I wrote mega_shok.gif
Currently I use Closure Compiler service to clean up my codes. It can even rewrite my codes as if I've hired some professional to do the coding for me brows.gif

nyem
post Mar 25 2023, 11:25 PM

Enthusiast
*****
Senior Member
751 posts

Joined: Jan 2007


CODE
"pepxpep.pcplpapcp".split('p').reverse().join('')
'calc.exe'


 

Change to:
| Lo-Fi Version
0.0166sec    0.94    6 queries    GZIP Disabled
Time is now: 24th December 2025 - 08:43 AM