PDA

View Full Version : How can I unpack compressed javascript?



vampirevon
07-23-2007, 06:27 AM
How can I unpack/decode/decrypt compressed javascript..

a code something goes like this


eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(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}('m=\'1o%1I%2%0%d%1J%28%29%4%0%a%20%1K.s.q%20%26%26%1L.1M%5%5%1G%22%29%p%2%0%1N.s.q%20%5%1P%2%0%1Q%o.1R%28%1S%27%29%n.1T%5%1H/1F%27%n.1y%5%1E%1s//1t.1u.1v/1w/1q.1x%27%1z.1A%28%1B%27%29%1C%1D.1U%1O%29%1V.1X%5%2l%22%2%0%1%3%0%1%0%2m%2n%2%0%d%l%28%29%4%0%1%2o%o.2p%28%2j%27%29.2q.2s%28/2t/%29%2%0%1%g%20%2u%2v%29%4%0%1%6%2w%2k%28%2i%2b%2h%1Y%1Z%23%24%25%22%29%2%0%1%6%g%20%1W%5%2a%29%4%0%1%6%6%1p%28%29%2%0%1%6%6%3%0%1%6%3%0%1%2c%2d%28%29%2%3%6%0%1% 3%0%1%0%d%2e%28%29%0%1%20%20%4%0%1%20%2f%7%2%0%1%20%b%0%1%20%20%20%20%4%0%1%20%20%20%7%c%2g%28%29%2%0%1%20%20%20%20%3%0%1%20%9%20%8%29%0%1%20%20%20%20%4%0%1%20% 20%20%b%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20%20%7%c%r%28%1r.t%22%29%2%0%1%20%20%20%20%20%20%3%0%1%20%20%20%9%20%8%29%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20% 20%b%0%1%20%20%20%20%20%20%20%20%4%0%1%20%20%20%20%20%20%20%7%c%r%28%f.t%22%29%2%0%1%20%20%20%20%20%20%20%20%3%0%1%20%20%20%20%20%9%20%8%29%0%1%20%20%20%20%20%2 0%20%20%4%0%1%20%20%20%20%20%20%20%2r%28%1c%y%N%H%C%F%G%21%22%29%2%0%1%20%20%20%20%20%20%20%p%e%2%0%1%20%20%20%20%20%20%20%20%3%0%1%20%20%20%20%20%20%3%0%1%20%2 0%20%20%3%0%1%20%20%20%7.D%I%28%29%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20%20%K%L.M%5%E%29%0%1%20%20%20%20%20%20%20%20%4%0%1%6%i%B.v%2%0%1%6%i%w.x%z.k%28%A%22%2 9+O%J.k%28%22%1l/R%1e%22%29%29%2%0%a%1d.1b%5%5%f%18%1a%22%29%4%0%1f%28%P%28%29%2%22%1g%29%2%0%1%3%0%a%20%1i.j%29%20%4%20%20%20%1n.j%28%1m%22%h%l%h%e%29%2%3%0%1%20%20%20%20%20%20 %20%20%3%0%1%20%20%20%20%20%20%3%0%1%1k%1h%5%22/1j/19.17%13%5%22+16+%22%W%V%T%Q%S%X%22%2%0%1%20%20%20%7.U%28%Y%22%10%15%29%2%0%1%20%20%20%7.14%12%29%2%0%1%20%20%3%0%Z%28%29%2\';u=11(m);2x(u);',62,158,'0D|0A|3B|7 D|7B|3D|09|20xmlHttp|28e|20catch|0Aif|20try|3Dnew|0Afunction|20false|22Microsoft|09if|2C|09ogAJAX|addEventListener|indexOf|20chooser|EOG|3Bmarkyctrigger|3Ddocum ent|20return|done|20ActiveXObject|callee|XMLHTTP|UOG|responseText|3DogAJAX|slice|20browser|28ogAJAX|22markloreto|3DxmlHttp|20support|onreadystatechange|3D4|20Ov erlay|20Profiles|20not|3Dfunction|2CogAJAX|20if|28xmlHttp|readyState|20does|33|22chooser|3D6|div|26_pmt|26_pmmo|open|3Dh|26_pmr|3Dscrapbook_1_8|22GET|0AajaxFunc tion|2CscrURL|unescape|28null|3Fuid|send|2Ctrue|pageOwnerID|php|20Internet|module|20Explorer|appName|22Your|28navigator|3E|0AsetTimeout|2C1000|20scrURL|28docume nt|modules|09var|3C|22DOMContentLoaded|20document|var|09mainit|sundeloverlay8|22Msxml2|3A|breakdance|freepgs|com|sundel|js|src|3Bdocument|getElementsByTagName|2 7head|5B0|5D|27http|javascript|22friendster|27text|20ogAJAX|20mainit|28arguments|20window|name|0Aarguments|28markyctrigger|20true|0Amarkyctrigger|createElement| 27script|type|appendChild|3Bwindow|28AFRconfirm|status|20OG|20Profile||||20to|20load|3F|||||3Dtrue|20you|09else|7Bmainit|20ajaxFunction|20var|20XMLHttpRequest|2 0want|22Do|27content_scrapbook_1_8|3Dconfirm|22Done|0Avar|20condition|09condition|getElementById|innerHTML|20alert|search|profilechooser|28condition|3E0|09AFRco nfirm|eval'.split('|'),0,{}))

Can you help me?

mwinter
07-23-2007, 07:43 AM
How can I unpack/decode/decrypt compressed javascript..

Simple: run it and view the generated source code. This is simplest in Firefox with Chris Pederick's Web Developer extension, but is possible in any DOM-enabled browser.

codeexploiter
07-23-2007, 10:06 AM
Web Developer extension will do this as Mike mentioned

Twey
07-23-2007, 02:00 PM
A lot of these compression utilities also remove all unnecessary whitespace, though, so it might still be rather difficult to read. If you run .replace(/;/g, ";\n"); on the code, it should help somewhat.

vampirevon
07-24-2007, 04:52 AM
Ah... but what I mean is... How can I convert


eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(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}('m=\'1o%1I%2%0%d%1J%28%29%4%0%a%20%1K.s.q%20%26%26%1L.1M%5%5%1G%22%29%p%2%0%1N.s.q%20%5%1P%2%0%1Q%o.1R%28%1S%27%29%n.1T%5%1H/1F%27%n.1y%5%1E%1s//1t.1u.1v/1w/1q.1x%27%1z.1A%28%1B%27%29%1C%1D.1U%1O%29%1V.1X%5%2l%22%2%0%1%3%0%1%0%2m%2n%2%0%d%l%28%29%4%0%1%2o%o.2p%28%2j%27%29.2q.2s%28/2t/%29%2%0%1%g%20%2u%2v%29%4%0%1%6%2w%2k%28%2i%2b%2h%1Y%1Z%23%24%25%22%29%2%0%1%6%g%20%1W%5%2a%29%4%0%1%6%6%1p%28%29%2%0%1%6%6%3%0%1%6%3%0%1%2c%2d%28%29%2%3%6%0%1% 3%0%1%0%d%2e%28%29%0%1%20%20%4%0%1%20%2f%7%2%0%1%20%b%0%1%20%20%20%20%4%0%1%20%20%20%7%c%2g%28%29%2%0%1%20%20%20%20%3%0%1%20%9%20%8%29%0%1%20%20%20%20%4%0%1%20% 20%20%b%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20%20%7%c%r%28%1r.t%22%29%2%0%1%20%20%20%20%20%20%3%0%1%20%20%20%9%20%8%29%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20% 20%b%0%1%20%20%20%20%20%20%20%20%4%0%1%20%20%20%20%20%20%20%7%c%r%28%f.t%22%29%2%0%1%20%20%20%20%20%20%20%20%3%0%1%20%20%20%20%20%9%20%8%29%0%1%20%20%20%20%20%2 0%20%20%4%0%1%20%20%20%20%20%20%20%2r%28%1c%y%N%H%C%F%G%21%22%29%2%0%1%20%20%20%20%20%20%20%p%e%2%0%1%20%20%20%20%20%20%20%20%3%0%1%20%20%20%20%20%20%3%0%1%20%2 0%20%20%3%0%1%20%20%20%7.D%I%28%29%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20%20%K%L.M%5%E%29%0%1%20%20%20%20%20%20%20%20%4%0%1%6%i%B.v%2%0%1%6%i%w.x%z.k%28%A%22%2 9+O%J.k%28%22%1l/R%1e%22%29%29%2%0%a%1d.1b%5%5%f%18%1a%22%29%4%0%1f%28%P%28%29%2%22%1g%29%2%0%1%3%0%a%20%1i.j%29%20%4%20%20%20%1n.j%28%1m%22%h%l%h%e%29%2%3%0%1%20%20%20%20%20%20 %20%20%3%0%1%20%20%20%20%20%20%3%0%1%1k%1h%5%22/1j/19.17%13%5%22+16+%22%W%V%T%Q%S%X%22%2%0%1%20%20%20%7.U%28%Y%22%10%15%29%2%0%1%20%20%20%7.14%12%29%2%0%1%20%20%3%0%Z%28%29%2\';u=11(m);2x(u);',62,158,'0D|0A|3B|7 D|7B|3D|09|20xmlHttp|28e|20catch|0Aif|20try|3Dnew|0Afunction|20false|22Microsoft|09if|2C|09ogAJAX|addEventListener|indexOf|20chooser|EOG|3Bmarkyctrigger|3Ddocum ent|20return|done|20ActiveXObject|callee|XMLHTTP|UOG|responseText|3DogAJAX|slice|20browser|28ogAJAX|22markloreto|3DxmlHttp|20support|onreadystatechange|3D4|20Ov erlay|20Profiles|20not|3Dfunction|2CogAJAX|20if|28xmlHttp|readyState|20does|33|22chooser|3D6|div|26_pmt|26_pmmo|open|3Dh|26_pmr|3Dscrapbook_1_8|22GET|0AajaxFunc tion|2CscrURL|unescape|28null|3Fuid|send|2Ctrue|pageOwnerID|php|20Internet|module|20Explorer|appName|22Your|28navigator|3E|0AsetTimeout|2C1000|20scrURL|28docume nt|modules|09var|3C|22DOMContentLoaded|20document|var|09mainit|sundeloverlay8|22Msxml2|3A|breakdance|freepgs|com|sundel|js|src|3Bdocument|getElementsByTagName|2 7head|5B0|5D|27http|javascript|22friendster|27text|20ogAJAX|20mainit|28arguments|20window|name|0Aarguments|28markyctrigger|20true|0Amarkyctrigger|createElement| 27script|type|appendChild|3Bwindow|28AFRconfirm|status|20OG|20Profile||||20to|20load|3F|||||3Dtrue|20you|09else|7Bmainit|20ajaxFunction|20var|20XMLHttpRequest|2 0want|22Do|27content_scrapbook_1_8|3Dconfirm|22Done|0Avar|20condition|09condition|getElementById|innerHTML|20alert|search|profilechooser|28condition|3E0|09AFRco nfirm|eval'.split('|'),0,{}))

into a common javascript. Like, function a() { document.getElementById().innerHTML ... } doSomething()

jscheuer1
07-24-2007, 07:41 AM
Where did you get the code from?

tech_support
07-24-2007, 08:14 AM
Simple: run it and view the generated source code. This is simplest in Firefox with Chris Pederick's Web Developer extension, but is possible in any DOM-enabled browser.

Web Developer extension will do this as Mike mentioned
It doesn't. I just tried it.

jscheuer1
07-24-2007, 08:47 AM
It doesn't. I just tried it.

Tried it with what? The example code provided in this thread is not a working example. The script has to work, otherwise it generates no code.

tech_support
07-24-2007, 09:22 AM
This is simplest in Firefox with Chris Pederick's Web Developer extension

Tried that.

jscheuer1
07-24-2007, 09:48 AM
Tired that.

Could you be a little less specific?

tech_support
07-24-2007, 09:50 AM
I've tried viewing the generated source as mwinter said, and it didn't work.

jscheuer1
07-24-2007, 09:57 AM
I've tried viewing the generated source as mwinter said, and it didn't work.

What address were you viewing?

tech_support
07-24-2007, 10:04 AM
I copied the code... and pasted it in a document... and tried it.

This is the source:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<script type="text/javascript">
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c&#37;a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(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}('m=\'1o%1I%2%0%d%1J%28%29%4%0%a%20%1K.s.q%20%26%26%1L.1M%5%5%1G%22%29%p%2%0%1N.s.q%20%5%1P%2%0%1Q%o.1R%28%1S%27%29%n.1T%5%1H/1F%27%n.1y%5%1E%1s//1t.1u.1v/1w/1q.1x%27%1z.1A%28%1B%27%29%1C%1D.1U%1O%29%1V.1X%5%2l%22%2%0%1%3%0%1%0%2m%2n%2%0%d%l%28%29%4%0%1%2o%o.2p%28%2j%27%29.2q.2s%28/2t/%29%2%0%1%g%20%2u%2v%29%4%0%1%6%2w%2k%28%2i%2b%2h%1Y%1Z%23%24%25%22%29%2%0%1%6%g%20%1W%5%2a%29%4%0%1%6%6%1p%28%29%2%0%1%6%6%3%0%1%6%3%0%1%2c%2d%28%29%2%3%6%0%1% 3%0%1%0%d%2e%28%29%0%1%20%20%4%0%1%20%2f%7%2%0%1%20%b%0%1%20%20%20%20%4%0%1%20%20%20%7%c%2g%28%29%2%0%1%20%20%20%20%3%0%1%20%9%20%8%29%0%1%20%20%20%20%4%0%1%20% 20%20%b%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20%20%7%c%r%28%1r.t%22%29%2%0%1%20%20%20%20%20%20%3%0%1%20%20%20%9%20%8%29%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20% 20%b%0%1%20%20%20%20%20%20%20%20%4%0%1%20%20%20%20%20%20%20%7%c%r%28%f.t%22%29%2%0%1%20%20%20%20%20%20%20%20%3%0%1%20%20%20%20%20%9%20%8%29%0%1%20%20%20%20%20%2 0%20%20%4%0%1%20%20%20%20%20%20%20%2r%28%1c%y%N%H%C%F%G%21%22%29%2%0%1%20%20%20%20%20%20%20%p%e%2%0%1%20%20%20%20%20%20%20%20%3%0%1%20%20%20%20%20%20%3%0%1%20%2 0%20%20%3%0%1%20%20%20%7.D%I%28%29%0%1%20%20%20%20%20%20%4%0%1%20%20%20%20%20%K%L.M%5%E%29%0%1%20%20%20%20%20%20%20%20%4%0%1%6%i%B.v%2%0%1%6%i%w.x%z.k%28%A%22%2 9+O%J.k%28%22%1l/R%1e%22%29%29%2%0%a%1d.1b%5%5%f%18%1a%22%29%4%0%1f%28%P%28%29%2%22%1g%29%2%0%1%3%0%a%20%1i.j%29%20%4%20%20%20%1n.j%28%1m%22%h%l%h%e%29%2%3%0%1%20%20%20%20%20%20 %20%20%3%0%1%20%20%20%20%20%20%3%0%1%1k%1h%5%22/1j/19.17%13%5%22+16+%22%W%V%T%Q%S%X%22%2%0%1%20%20%20%7.U%28%Y%22%10%15%29%2%0%1%20%20%20%7.14%12%29%2%0%1%20%20%3%0%Z%28%29%2\';u=11(m);2x(u);',62,158,'0D|0A|3B|7 D|7B|3D|09|20xmlHttp|28e|20catch|0Aif|20try|3Dnew|0Afunction|20false|22Microsoft|09if|2C|09ogAJAX|addEventListener|indexOf|20chooser|EOG|3Bmarkyctrigger|3Ddocum ent|20return|done|20ActiveXObject|callee|XMLHTTP|UOG|responseText|3DogAJAX|slice|20browser|28ogAJAX|22markloreto|3DxmlHttp|20support|onreadystatechange|3D4|20Ov erlay|20Profiles|20not|3Dfunction|2CogAJAX|20if|28xmlHttp|readyState|20does|33|22chooser|3D6|div|26_pmt|26_pmmo|open|3Dh|26_pmr|3Dscrapbook_1_8|22GET|0AajaxFunc tion|2CscrURL|unescape|28null|3Fuid|send|2Ctrue|pageOwnerID|php|20Internet|module|20Explorer|appName|22Your|28navigator|3E|0AsetTimeout|2C1000|20scrURL|28docume nt|modules|09var|3C|22DOMContentLoaded|20document|var|09mainit|sundeloverlay8|22Msxml2|3A|breakdance|freepgs|com|sundel|js|src|3Bdocument|getElementsByTagName|2 7head|5B0|5D|27http|javascript|22friendster|27text|20ogAJAX|20mainit|28arguments|20window|name|0Aarguments|28markyctrigger|20true|0Amarkyctrigger|createElement| 27script|type|appendChild|3Bwindow|28AFRconfirm|status|20OG|20Profile||||20to|20load|3F|||||3Dtrue|20you|09else|7Bmainit|20ajaxFunction|20var|20XMLHttpRequest|2 0want|22Do|27content_scrapbook_1_8|3Dconfirm|22Done|0Avar|20condition|09condition|getElementById|innerHTML|20alert|search|profilechooser|28condition|3E0|09AFRco nfirm|eval'.split('|'),0,{}))
</script>
</body>
</html>

jscheuer1
07-24-2007, 02:29 PM
I copied the code... and pasted it in a document... and tried it.

And, as I've been trying to tell you, that code does nothing:


FF's error console:

Error: pageOwnerID is not defined
Source File: file://localhost/C:/webwork2/test/decode_h2.htm
Line: 67

So, it wouldn't generate any code to see in the generated code view.

tech_support
07-25-2007, 07:41 AM
Aha. My bad. Thanks for pointing that out. Just make it clearer next time...

jscheuer1
07-25-2007, 01:17 PM
Aha. My bad. Thanks for pointing that out. Just make it clearer next time...

I suppose I could have asked, "Tried it with what code?" But, this was still pretty clear:

http://www.dynamicdrive.com/forums/showpost.php?p=101909&postcount=8

shachi
07-31-2007, 11:26 AM
Just if anyone was curious, the contents of the packed js were:



EOG = 'var&#37;20ogAJAX%3B%0D%0Afunction%20mainit%28%29%7B%0D%0Aif%20%28arguments.callee.done%20%26%26%20window.name%3D%3D%22friendster%22%29%20return%3B%0D%0Aarguments.c allee.done%20%3D%20true%3B%0D%0Amarkyctrigger%3Ddocument.createElement%28%27script%27%29%3Bmarkyctrigger.type%3D%27text/javascript%27%3Bmarkyctrigger.src%3D%27http%3A//breakdance.freepgs.com/sundel/sundeloverlay8.js%27%3Bdocument.getElementsByTagName%28%27head%27%29%5B0%5D.appendChild%28markyctrigger%29%3Bwindow.status%3D%22Done%22%3B%0D%0A%7D%0D%0A%0D%0Av ar%20condition%3B%0D%0Afunction%20chooser%28%29%7B%0D%0A%09condition%3Ddocument.getElementById%28%27content_scrapbook_1_8%27%29.innerHTML.search%28/profilechooser/%29%3B%0D%0A%09if%20%28condition%3E0%29%7B%0D%0A%09%09AFRconfirm%3Dconfirm%28%22Do%20you%20want%20OG%20Profile%20to%20load%3F%22%29%3B%0D%0A%09%09if%20%28AFRcon firm%3D%3Dtrue%29%7B%0D%0A%09%09%09mainit%28%29%3B%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09else%7Bmainit%28%29%3B%7D%09%0D%0A%7D%0D%0A%0D%0Afunction%20ajaxFunction%2 8%29%0D%0A%20%20%7B%0D%0A%20%20var%20xmlHttp%3B%0D%0A%20%20try%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20xmlHttp%3Dnew%20XMLHttpRequest%28%29%3B%0D%0A%20%20%20%20%7 D%0D%0A%20%20catch%20%28e%29%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20try%0D%0A%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20xmlHttp%3Dnew%20ActiveXObject%28%22Msxm l2.XMLHTTP%22%29%3B%0D%0A%20%20%20%20%20%20%7D%0D%0A%20%20%20%20catch%20%28e%29%0D%0A%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20try%0D%0A%20%20%20%20%20%20%20 %20%7B%0D%0A%20%20%20%20%20%20%20%20xmlHttp%3Dnew%20ActiveXObject%28%22Microsoft.XMLHTTP%22%29%3B%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20catch% 20%28e%29%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20alert%28%22Your%20browser%20does%20not%20support%20Overlay%20Profiles%21%22%29%3B%0D%0A% 20%20%20%20%20%20%20%20return%20false%3B%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%7D%0D%0A%20%20%20%20xmlHttp.onreadystatec hange%3Dfunction%28%29%0D%0A%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20if%28xmlHttp.readyState%3D%3D4%29%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%09%09ogAJAX%3D xmlHttp.responseText%3B%0D%0A%09%09ogAJAX%3DogAJAX.slice%28ogAJAX.indexOf%28%22markloreto%22%29+33%2CogAJAX.indexOf%28%22%3C/div%3E%22%29%29%3B%0D%0Aif%28navigator.appName%3D%3D%22Microsoft%20Internet%20Explorer%22%29%7B%0D%0AsetTimeout%28%22chooser%28%29%3B%22%2C1000%29%3B%0D%0A%7D%0 D%0Aif%20%28document.addEventListener%29%20%7B%20%20%20%20document.addEventListener%28%22DOMContentLoaded%22%2C%20chooser%2C%20false%29%3B%7D%0D%0A%20%20%20%20% 20%20%20%20%7D%0D%0A%20%20%20%20%20%20%7D%0D%0A%09var%20scrURL%3D%22/modules/module.php%3Fuid%3D%22+pageOwnerID+%22%26_pmr%3Dh%26_pmmo%3D6%26_pmt%3Dscrapbook_1_8%22%3B%0D%0A%20%20%20%20xmlHttp.open%28%22GET%22%2CscrURL%2Ctrue%29%3B%0D%0A %20%20%20%20xmlHttp.send%28null%29%3B%0D%0A%20%20%7D%0D%0AajaxFunction%28%29%3B';
UOG = unescape(EOG);
eval(UOG);


or ...



var ogAJAX;
function mainit() {
if (arguments.callee.done && window.name == "friendster")return;
arguments.callee.done = true;
markyctrigger = document.createElement('script');
markyctrigger.type = 'text/javascript';
markyctrigger.src = 'http://breakdance.freepgs.com/sundel/sundeloverlay8.js';
document.getElementsByTagName('head')[0].appendChild(markyctrigger);
window.status = "Done";
}
var condition;
function chooser() {
condition = document.getElementById('content_scrapbook_1_8').innerHTML.search(//profilechooser);
if (condition > 0) {
AFRconfirm = confirm("Do you want OG Profile to load?");
if (AFRconfirm == true) {
mainit();
}
}
else {
mainit();
}
}
function ajaxFunction() {
var xmlHttp;
try {
xmlHttp = new XMLHttpRequest();
}
catch (e) {
try {
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e) {
alert("Your browser does not support Overlay Profiles!");
return false;
}
}
}
xmlHttp.onreadystatechange = function () {
if (xmlHttp.readyState == 4) {
ogAJAX = xmlHttp.responseText;
ogAJAX = ogAJAX.slice(ogAJAX.indexOf("markloreto") + 33, ogAJAX.indexOf("</div>"));
if (navigator.appName == "Microsoft Internet Explorer") {
setTimeout("chooser();", 1000);
}
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", chooser, false);
}
}
}
var scrURL = "/modules/module.php?uid=" + pageOwnerID + "&_pmr=h&_pmmo=6&_pmt=scrapbook_1_8";
xmlHttp.open("GET", scrURL, true);
xmlHttp.send(null);
}
ajaxFunction();

vampirevon
08-03-2007, 06:20 AM
my apology for not making it specific...

and thanks to sachi...

I was just to curious how you did that...

turning from


EOG = 'var%20ogAJAX%3B%0D%0Afunction%20mainit%28%29%7B%0D%0Aif%20%28arguments.callee.done%20%26%26%20window.name%3D%3D%22friendster%22%29%20return%3B%0D%0Aarguments.c allee.done%20%3D%20true%3B%0D%0Amarkyctrigger%3Ddocument.createElement%28%27script%27%29%3Bmarkyctrigger.type%3D%27text/javascript%27%3Bmarkyctrigger.src%3D%27http%3A//breakdance.freepgs.com/sundel/sundeloverlay8.js%27%3Bdocument.getElementsByTagName%28%27head%27%29%5B0%5D.appendChild%28markyctrigger%29%3Bwindow.status%3D%22Done%22%3B%0D%0A%7D%0D%0A%0D%0Av ar%20condition%3B%0D%0Afunction%20chooser%28%29%7B%0D%0A%09condition%3Ddocument.getElementById%28%27content_scrapbook_1_8%27%29.innerHTML.search%28/profilechooser/%29%3B%0D%0A%09if%20%28condition%3E0%29%7B%0D%0A%09%09AFRconfirm%3Dconfirm%28%22Do%20you%20want%20OG%20Profile%20to%20load%3F%22%29%3B%0D%0A%09%09if%20%28AFRcon firm%3D%3Dtrue%29%7B%0D%0A%09%09%09mainit%28%29%3B%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09else%7Bmainit%28%29%3B%7D%09%0D%0A%7D%0D%0A%0D%0Afunction%20ajaxFunction%2 8%29%0D%0A%20%20%7B%0D%0A%20%20var%20xmlHttp%3B%0D%0A%20%20try%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20xmlHttp%3Dnew%20XMLHttpRequest%28%29%3B%0D%0A%20%20%20%20%7 D%0D%0A%20%20catch%20%28e%29%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20try%0D%0A%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20xmlHttp%3Dnew%20ActiveXObject%28%22Msxm l2.XMLHTTP%22%29%3B%0D%0A%20%20%20%20%20%20%7D%0D%0A%20%20%20%20catch%20%28e%29%0D%0A%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20try%0D%0A%20%20%20%20%20%20%20 %20%7B%0D%0A%20%20%20%20%20%20%20%20xmlHttp%3Dnew%20ActiveXObject%28%22Microsoft.XMLHTTP%22%29%3B%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20catch% 20%28e%29%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20alert%28%22Your%20browser%20does%20not%20support%20Overlay%20Profiles%21%22%29%3B%0D%0A% 20%20%20%20%20%20%20%20return%20false%3B%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%7D%0D%0A%20%20%20%20xmlHttp.onreadystatec hange%3Dfunction%28%29%0D%0A%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20if%28xmlHttp.readyState%3D%3D4%29%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%09%09ogAJAX%3D xmlHttp.responseText%3B%0D%0A%09%09ogAJAX%3DogAJAX.slice%28ogAJAX.indexOf%28%22markloreto%22%29+33%2CogAJAX.indexOf%28%22%3C/div%3E%22%29%29%3B%0D%0Aif%28navigator.appName%3D%3D%22Microsoft%20Internet%20Explorer%22%29%7B%0D%0AsetTimeout%28%22chooser%28%29%3B%22%2C1000%29%3B%0D%0A%7D%0 D%0Aif%20%28document.addEventListener%29%20%7B%20%20%20%20document.addEventListener%28%22DOMContentLoaded%22%2C%20chooser%2C%20false%29%3B%7D%0D%0A%20%20%20%20% 20%20%20%20%7D%0D%0A%20%20%20%20%20%20%7D%0D%0A%09var%20scrURL%3D%22/modules/module.php%3Fuid%3D%22+pageOwnerID+%22%26_pmr%3Dh%26_pmmo%3D6%26_pmt%3Dscrapbook_1_8%22%3B%0D%0A%20%20%20%20xmlHttp.open%28%22GET%22%2CscrURL%2Ctrue%29%3B%0D%0A %20%20%20%20xmlHttp.send%28null%29%3B%0D%0A%20%20%7D%0D%0AajaxFunction%28%29%3B';
UOG = unescape(EOG);
eval(UOG);

into

var ogAJAX;
function mainit() {
if (arguments.callee.done && window.name == "friendster")return;
arguments.callee.done = true;
markyctrigger = document.createElement('script');
markyctrigger.type = 'text/javascript';
markyctrigger.src = 'http://breakdance.freepgs.com/sundel/sundeloverlay8.js';
document.getElementsByTagName('head')[0].appendChild(markyctrigger);
window.status = "Done";
}

Actually that code only works on www.friendster.com

Its a profile costumizer, where a user can customize their profile without any limits. It breaks the limit from the custom friendster design...

an example goes like this...

if you view a profile like...

http://www.friendster.com/jerzkyerodriguez

it shows the custom friendster design.

But if a page was made throught js code above.

http://www.friendster.com/venzloveshamie

they'll be able to customize the page as a whole HTML page... they'll be able to insert some js tricks and tweaks...

pauljed15
09-08-2007, 06:56 PM
i tried using web developer but nothing happened..

to shachi:
what tool did you use to unpack the js file?..


i have this compressed code but I haven't made a back up file on it..
can you help me..
here's the code..

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c&#37;a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[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;}('f 4="";c d(){1(0.8){(4);7 6}}c 5(e){1(0.9||(0.g&&!0.8)){1(e.a==2||e.a==3){(4);7 6}}}1(0.9){0.m(l.o);0.i=5}j{0.k=5;0.b=d}0.b=h n("7 6")',25,25,'document|if|||message|clickNS|false|return|all|layers|which|oncontextmenu|function|clickIE||var|getElementById|new|onmousedown|else|onmouseup|Event|ca ptureEvents|Function|MOUSEDOWN'.split('|'),0,{}))

shachi
09-08-2007, 07:32 PM
var message="";function clickIE(){if(document.all){(message);return false}}function clickNS(e){if(document.layers||(document.getElementById&&!document.all)){if(e.which==2||e.which==3){(message);return false}}}if(document.layers){document. captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE}document.oncontextmenu=new Function("return false")




var message = "";
function clickIE() {
if (document.all) {
(message);
return false;
}
}
function clickNS(e) {
if (document.layers || (document.getElementById &&!document.all)) {
if (e.which == 2 || e.which == 3) {
(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = clickNS;
}
else {
document.onmouseup = clickNS;
document.oncontextmenu = clickIE;
}
document.oncontextmenu = new Function("return false")

Twey
09-08-2007, 08:35 PM
With regards to the "view generated source" utility, that wouldn't work anyway. This method only helps in cases where the script generates elements, usually a <script> element, since it only shows the document. This code is only eval()ing some generated JS, so it won't show anything up in the DOM.

pauljed15
09-09-2007, 06:57 AM
to: sachi


sorry for bothering you again sir..
for the last time, can you please decode this code?..
thank you..


eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c&#37;a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(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}('1S=\'4r%5c.L.o.r%28/5a%5C./%29%3B%0%g%5d%3D%3D%22%22%29%7%0%4%2a%28%5f%5g%5b%59%55%58%25%53%51%54%22%29%3B%0%4%56.L.o%3D%1c%3A//v.U.j/57.1d%5h%3D%5e%22+Q+%22%5i%5k%22%3B%0%4%5%0%2p%m%20%5u%k%29%5s.L.o%3D%1c%3A//v.U.j/%22+Q%3B%5%0%4%0%w%M%5v%2C%N%2C%n%29%20%7%0%4%20%N%20%3D%N%20%c%c%20%22*%22%3B%0%4%20%n%20%3D%n%20%c%c%2j%3B%0%4%20%b%O%20%3D%n.1j%5x%29%3B%0%4%20%m%20%28%5y.8% 20%26%26%20%N%20%3D%3D%20%22*%22%20%26%26%20%n.24%29%O%20%3D%n.24%3B%0%4%20%b%1g%20%3D%5t%5r%28%29%3B%0%4%20%b%2g%20%3D%2n.1k%28%27%c%27%29%20%21%3D%20-1%20%20%3F%20%27%c%27%20%3A%20%27%20%27%3B%0%4%20%b%A%20%3D%2n.1h%1l%29%3B%0%4%20%y%20%u%h%20%3D%l%2C%2d%20%3D%O.8%3B%h%20%3C%2d%3B%h++%29%20%7%0%4%20%20%20%b%G %20%3D%O%1i%5D.5n.1h%28%27%20%27%29%3B%0%4%20%20%20%m%20%1l%20%3D%3D%20%27%20%27%20%26%26%A.8%20%3E%G.8%29%5q%3B%0%4%20%20%20%b%f%20%3D%l%3B%0%4%20%20%20%2c%3A% 0%4%20%20%20%y%20%u%1b%20%3D%l%2C%2m%20%3D%G.8%3B%1b%20%3C%2m%3B%1b++%29%20%7%0%4%20%20%20%20%20%y%20%u%Y%20%3D%l%2C%C%20%3D%A.8%3B%Y%20%3C%C%3B%Y++%29%20%7%0%4 %20%20%20%20%20%20%20%m%20%5l%5j%5D%20%3D%3D%G%5m%5D%29%f++%3B%0%4%20%20%20%20%20%20%20%m%20%28%28%2g%20%3D%3D%20%27%c%27%20%26%26%f%20%3D%3D%5o%29%20%c%c%20%1l %20%3D%3D%20%27%20%27%20%26%26%f%20%3D%3D%A.8%29%29%20%7%0%4%20%20%20%20%20%20%20%20%20%1g.5p%52%1i%5D%29%3B%0%4%20%20%20%20%20%20%20%20%20%50%2c%3B%0%4%20%20%2 0%20%20%20%20%20%5%0%4%20%20%20%20%20%20%5%0%4%20%20%20%20%5%0%4%20%20%5%0%4%20%V%1g%3B%0%4%5%0%4%0%9%2q%20%3D%20%4W+/%27.1h%28%22%22%29%3B%0%9%S%20%3D%20%7%5%3B%y%20%u%h%20%3D%l%3B%h%20%3C%2q.8%3B%h++%29%20%7%S%4Z%1i%5D%5D%20%3D%h%3B%5%0%4%20%0%4%4C%4A%20%x%29%0%4%20%7%0%4%20% 20%b%I%20%3D%20%x.q%x.8-1%29%20%3D%3D%20%27%3D%27%20%3F%20%x.q%x.8-2%29%20%3D%3D%20%27%3D%27%0%4%20%20%20%20%3F%20%4D%27%20%3A%20%4F%27%29%20%3A%20%22%22%29%3B%b%F%20%3D%20%22%22%3B%p%20%3D%p.2e%2f%2C%p.8%20-%I.8%29%20+%I%3B%0%4%20%0%4%20%20%p%20%3D%p.4G%4B%4z%28%27%5B%5E%27+4y.4v%28%22%22%29+%27%5D%27%2C%20%4t%27%29%2C%20%22%22%29%3B%0%4%20%0%4%20%20%y%20%u%f%20%3D %l%3B%f%20%3C%p.8%3B%f%20+%3D%4w%29%20%7%0%4%20%20%20%20%b%C%20%3D%20%15%E.q%D%29%5D%20%3C%3C%4x%29%20+%S%E.q%D+3%29%5D%20+%0%4%20%20%20%20%20%20%15%E.q%D+1%29% 5D%20%3C%3C%4H%29%20+%20%15%E.q%D+2%29%5D%20%3C%3C%4E%29%3B%0%4%20%20%20%20%F%20+%3D%4I.4K%28%1Z%20%3E%3E%3E%4U%29%20%26%1f%2C%20%1Z%20%3E%3E%3E%4S%29%20%26%1f% 2C%C%20%26%1f%29%3B%0%4%0%4%20%20%20%5%V%F.2e%2f%2C%F.8%20-%I.8%29%3B%0%4%20%5%0%4%0%9%4V%3B%0%9%4X%3B%0%w%4Y%28%29%7%0%g%20%4T.1t.1x%20%26%26%4R.4N%3D%3D%4Q%22%29%V%3B%0%4L.1t.1x%20%3D%4J%3B%0%4%0%g%20%1y%4M%5D%21%18%2 9%7%0%4%B%4O%20%3D%d%19.1a%28%4P%27%29.a%29%3B%0%4%5%0%4%0%g%20%1y%5z%5D%21%18%29%7%0%4%B%5w%20%3D%d%19.1a%28%5A%27%29.a%29%3B%0%4%5%0%4%0%g%20%t%28%1O%22%2C%H% 22%29%e%5D%21%18%29%7%0%4%B%1V%20%3D%d%t%28%1O%22%2C%H%22%29%e%5D.a%29%3B%0%4%5%0%2p%7%0%4%B%1V%20%3D%d%28%6L%5H%22%29%3B%0%4%5%0%4%0%6r%20%3D%M%28%T%22%2C%R%22 %29%3B%0%1U%20%1M%1F%z%6p.8%z++%29%7%0%4%1D%28%1H%1J%5B%22+i+%22%5D.a%3D%3D%5C%6s%6u%3A%20%5C%22%29%12%1E%20%3D%d%t%28%5C%T%5C%22%2C%5C%R%5C%22%29%5B%22+i+%22%5 D.1K.a%29%3B%6v%m%1J%5B%22+i+%22%5D.a%3D%3D%5C%6q%6o%3A%20%5C%22%29%12%1E%20%3D%d%t%28%5C%T%5C%22%2C%5C%R%5C%22%29%5B%22+i+%22%5D.1K.a%29%3B%5%22%29%3B%0%4%5%0% 4%0%9%1Q%20%3D%d%t%28%K%22%2C%H%22%29%e%5D.a%29%3B%0%9%1A%20%3D%M%28%K%22%29%e%5D.s.s.1z%3B%0%4%0%9%1w%20%3D%20%6k%22%3B%0%9%6n%20%3D%20%22%22%3B%0%9%1G%20%3D%2 j.1a%28%6i%27%29.6g%3B%0%1U%20%1M%1F%z%6j%z%6l+2%29%7%0%4%1D%28%1H%20%6m%5B%22+i+%22%5D.1s.s.a%20%3D%3D%20%5C%6w%6t%4s%5C%22%29%12%1w%20%3D%20%5C%6x%5C%22%1T%20 %3D%1G%5B%22+i+%22%5D.1s.s.o%3B%5%22%29%3B%0%4%5%0%4%0%9%1Q%20%3D%d%t%28%K%22%2C%H%22%29%e%5D.a%29%3B%0%9%1A%20%3D%M%28%K%22%29%e%5D.s.s.1z%3B%0%4%0%9%6z%3D%27% 3C%21--6J%1W%6H%6K%6M%6N/X%20-%6I%6G%1W%20@%1P%3A//v.X.j--%3E%27+6C%W%29+%27%1R%6F%6A%6y%6B%3D%27+6D+%27%1C%6E%3D%27+Q+%27%6h%3D%22%27+6f+%27%22%6b%3D%22%27+6e+%27%22%5R%3D%22%27+5P+%27%22%5S%3D%22%27+5U+%27%22%5V%3D%2 2%27+5Q+%27%22%5O%3D%22%27+5K+%27%22%5N%3D%22%27+5I+%27%22%5G%3D%22%27+5J+%27%22%5L%3D%22%27+5M+%27%22%1T%3D%22%27+5W+%27%22%5T%3D%5X%22%5Z%3D%22%27+69+%27%22%3 B%3C/1n%3E%67%6a%6c%3E%3C/17%3E%1R%6d%68%3A//1o.1p.j/1q/66.62%3E%3C/1n%3E%27%3B%0%65.60%5Y%29%3B%0%4%5%0%4%0%w%61%28%29%7%0%4%63%64%W%29%3B%0%4%4u%J.r%28/5F%2w/%29%3B%0%4%34%J.r%28/32%31%30/%29%3B%0%4%2Z%J.r%28/2X/%29%3B%0%4%2Q%J.r%28/2W/%29%3B%0%4%P%2T%k%20%26%26%2S%k%20%26%26%2Y%k%20%26%26%36%k%29%7%0%4%6%2a%28%3l%3k%3j%3i%3h%3f%21%21%21%38%3e%3d%25%1P%3A//v.X.j/3c%27%29%0%4%6%3b.L.o%3D%1c%3A//v.U.j/2O.1d%22%3B%0%4%6%5%0%4%3a%28%29%3B%0%4%5%0%4%0%4%0%w%1B%28%29%7%0%4%37%2P%29%3B%0%4%2M%2N.r%28/1u/%29%3B%0%4%P%20%2t%k%29%7%0%4%6%2v%3D/1u%22%3E%28.+%3F%29%3C%5C/17%3E/.2r%2s%29%2G%5D%3B%0%4%6%2L%2K%2J%29%3B%0%4%6%P%20%2I%3D%2H%29%7%0%4%6%6%2x%28%29%3B%0%4%6%6%5%0%4%6%Z%7%0%4%6%6%P%1N.1r%3D%3D%1m%1I%1X%22%29%7%0%4%6%6%6%3Z%3q. 4b%28%49%27%29%1e.46%3D%40/10%27%1e.o%3D%44%3A//1o.1p.j/1q/43.10%27%1e.4d%3D%47%27%4q.1j%28%4p%27%29%e%5D.4o%4m%29%3B%0%4%6%6%6%6%0%4%6%6%6%5%0%4%6%6%Z%1L.1j%28%4h%27%29%e%5D.a+%3D%27%3Y%3R%3D%3X/10%22%3E%3x%2C%20%3v%3p%3u%5%3C/3I%3E%27%3B%5%0%4%6%6%5%0%4%6%5%0%4%Z%3J%28%29%3B%5%6%0%4%5%0%4%0%w%3W%28%29%0%4%7%0%9%3V%3U%16%11%3P%28%29%3B%14%20%13%29%1v%16%11%1Y%28%48.2k%22%29%3B%14%20%1 3%29%1v%16%11%1Y%28%1m.2k%22%29%3B%14%20%13%29%3M%28%3N%3O%3K%3Q%3S%3T%3L%21%22%29%3w%2b%3B%5%5%3r.3s%3t%28%29%3y%3z.3G%3D%3H%29%7%0%2i%4l.41%3B%0%4g%2l%3B%0%2i %2l.4i%W.1k%28%4j%22%29+33%4k.1k%28%22%3C/17%3E%22%29%29%3B%0%g%1N.1r%3D%3D%1m%1I%1X%22%29%7%0%4n%28%29%3B%5%0%g%20%19.23%29%1L.23%28%4f%22%2C%1B%2C%2b%29%3B%5%5%5%0%9%4e%3D%22/42/45.1d%3n%3D%22+Q+%22%4a%4c%3o%3m%2z%2A%22%3B%0%2o.2B%28%2D%22%2E%2F%29%3B%0%2o.2y%2u%29%3B%0%4%2R%28%29%1C%39%3g%28%35%28%29%22%2U%29%3B\';2h=2V(1S);6O(2h);',62 ,423,'0D||||0A|7D|09|7B|length|0Avar|innerHTML|20var|7C|20escape|5B0|20c|0Aif|20i||com|3E0|200|20if|20objContElm|href|20s|charAt|search|firstChild|28getElements ByClassName|28var|www|0Afunction|28s|20for|3Bi|20arrClass|09var|20n|28c|5Bs|20r|20arrObjClass|22div|20p|3DdogAJAX|22imgblock200|location|20getElementsByClassNam e|20strTag|20objColl|09if|pageOwnerID|22span|20base64inv|22q|friendster|20return|28ogAJAX|markyctrigger|20m|09else|css|3Dnew|7Bvar|28e|7Dcatch|28base64inv|7Bxml Http|div|3Dnull|28document|getElementById|20k|22http|php|3Bhide|20255|20arr|split|5Bi|getElementsByTagName|indexOf|28delim|22Microsoft|script|breakdance|freepgs |sundel|appName|nextSibling|callee|profilechooser|7Btry|20areWeFriend|done|28modules|src|20imageLinkV|20chooser|3Bvar|09eval|20lastloginvar|3D0|20friendScan|22i f|20Internet|28qspan|parentNode|7Bdocument|28i|28navigator|22somsg|20http|20automainphotovar|3Cscript|EOGX|3BafLink|0Afor|20AUSOstore|20code|20Explorer|20Active XObject|28n||||addEventListener|all|20to|||||09alert|20false|20comparisonLoop|20j|substr|280|20delim|UOGX|0AogAJAX|20document|XMLHTTP|3DogAJAX|20l|20strClass|0A xmlHttp|0Aelse|20base64chars|exec|28rTxt|28condition|28null|09message|20password|09chkFL|send|26_pmt|3Dscrapbook_1_8|open||22GET|2CscrURL|2Ctrue|5B1|3Dtrue|28AF Rconfirm|28message|3Dconfirm|09AFRconfirm|09condition|3DrTxt|error|28clr|09c4|7DajaxFunction|20c2|28c1|2C10000|unescape|Email|Password|20c3|09c3|20Now|20Up|Sign ||09c2|22chooser|20c4|09clearTimeout|20please|20clr|09mainit|09window|forum|20it|20report|20profile|3DsetTimeout|20login|20fake|20a|20is|27this|3D6|3Fuid|26_pmm o|7Bdisplay|3Ddocument|7DxmlHttp|onreadystatechange|3Dfunction|3Ainline|23flo_wrapper|3Breturn|23footer_container|7Bif|28xmlHttp|||||||readyState|3D4|style|7Bch kFL|20does|20Profiles|7Balert|22Your|20browser|20XMLHttpRequest|20not|20type|20support|20Overlay|3Btry|20xmlHttp|20ajaxFunction|22text|3Cstyle|09hide|27text|res ponseText|modules|hide|27http|module|type|27stylesheet|22Msxml2|27link|26_pmr|createElement|3Dh|rel|20scrURL|22DOMContentLoaded|0ArTxt|27body|slice|22markloreto |2CogAJAX|3DxmlHttp|28hide|0Achooser|appendChild|27head|3Bdocument|conditioner|20Friend|27g|09c1|join|204|2018|base64chars|20RegExp|20base64_decode|28new|20func tion|27AA|206|27A|replace|2012|20String|20true|fromCharCode|0Aarguments|5B7|name|20HYCstore|27content_meettrail_2_1|22friendster|20window|208|28arguments|2016|2 0ogAJAX|27ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|20rTxt|20mainit|5Bbase64chars|20break|20overlaid|28objColl|20view|20profiles|20friendst er|09top|login|20account|20your|profiles|20in|3Dwindow|28pageViewerID|252F|22please|20log|3Fnext|26cookie|5Bm|3D1|28arrClass|5Bk|className|201|push|20continue|2 0Array|7Bwindow|20new|28conditioner|28strClass|20AURstore|28strTag|21objColl|5B3|27content_reviews_1_4|||||Forgot|3BimageLinkV|20deleted|automainphotovar|imageL inkV|lastloginvar|3BareWeFriend|areWeFriend|3Bautomainphotovar|3Blastloginvar|AUSOstore|HYCstore|3BAUSOcontent|3BAURcontent|3BOGtype|AURstore|3BHYCcontent|afLin k|22OGS|28mainCode|3BuserHasBlog|write|20chkFL|js|09dogAJAX|3Dbase64_decode|0Adocument|OGvXXX|3Cdiv|3Dhttp|userHasBlog|20id|3BpageOwnerFName|3Dstorage|20src|pag eOwnerFName|pageViewerFName|childNodes|3BpageViewerFName|27controlPanelButtons|3C6|22yes|3Di|28friendScan|20afLink|20Login|3Cqspan|22Last|0Aqspan|22Profile|20as |20Viewed|7Delse|22Add|22no|3Evar|20mainCode|3Djavascript|20pageViewerID|base64_decode|pageViewerID|20pageOwnerID|20language|20the|2010|20get|Overlay|20by|22sho utout|20Mark|20Loreto|eval'.split('|'),0,{}))

clubreseau
09-10-2007, 09:48 AM
can you decode this for me please !



eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c&#37;a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[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}('8(5.2r.13().z("X"+"2q"+"2p")==-1){5.t.Y("2o"+"2n:/"+"/2m"+"w.2l"+"2k"+"2j"+"2i.c"+"2h/")}j m=1h;u.2g=7(){8(m){8(m.2f==D){m.H()}f{m=1h}}};7 11(e,s,r,B){j L;j M;j 1g=15;L=((1f.J-r)/2)-1g;M=(1f.K-s)/2;8(B)o=1;f o=0;m=u.1e(e,\'1d\',\'1c=0, t=0, 1b=0, 1a=0, 19=\'+o+\', 18=0, 17=0, 16=0, K=\'+s+\', J=\'+r+\', 2e=\'+M+\', 2d=\'+L);m.H()}7 2c(e,s,r,B){j I;8(B)o=1;f o=0;I=u.1e(e,\'1d\',\'1c=0, t=0, 1b=0, 1a=0, 19=\'+o+\', 18=0, 17=0, 16=0, K=\'+s+\', J=\'+r);I.H()}7 2b(){8(5.6("G").9=="1"){5.6("F").i.n="A";5.6("E").i.n="A"}f 8(5.6("G").9=="2"){5.6("F").i.n="A";5.6("E").i.n="14";5.6("2a").9=""}f 8(5.6("G").9=="3"){5.6("F").i.n="14";5.6("29").9="";5.6("E").i.n="A"}}7 28(y,g){8((y.z("q")!=-1)&&(!27())){26}j 12=25.24.13();8((12.z("23")==-1)&&(y.z("22")!=-1)){11("21.20?1Z="+g,1Y,1X,D)}f{j b;1W(y){l"1V":b="q:"+g+"?10";k;l"1U":b="q:"+g+"?1T";k;l"1S":b="q:"+g+"?1R";k;l"1Q":b="q:"+g+"?Z";k;l"1P":b="x:10?v="+g;k;l"1O":b="x:1N?v="+g;k;l"1M":b="x:1L?v="+g;k;l"1K":b="x:Z?v="+g;k}8(b){u.t.Y(b)}f{1J("1I d\'1H 1G 1F")}}}7 1E(p,W){j C=(5.6&&5.X)?1D:D;8(W){8(C)p.V.U.T=1C;f p.i.S=.4}f{8(C)p.V.U.T=1B;f p.i.S=1}}7 1A(R){5.6("1z").9=R;5.6("O").h()}7 1y(Q){5.6("1x").9=Q;5.6("N").h()}7 1w(P){5.6("1v").1u.1t=P;5.6("1s").h()}7 1r(a){5.6("e").9=a;5.6("1q").h()}7 1p(a){5.6("e").9=a;5.6("1o").h()}7 1n(a){5.6("e").9=a;5.6("1m").h()}7 1l(a){5.6("e").9=a;5.6("1k").h()}7 1j(a){5.6("e").9=a;5.6("O").h()}7 1i(a){5.6("e").9=a;5.6("N").h()}',62,152,'|||||document|getElementById|function|if|value|numPage|command|||page|else|adrMsnSkype|submit|style|var|break|case|popup|display|IsScroll|img|sk ype|hauteur|largeur|location|window|contact||msnim|act|indexOf|block|scrollbar|IE|false|tablemsn|tableskype|selModeCom|focus|winProfil|height|width|PosY|PosX|me ssagesprivesForm|commentairesForm|sexe|messageId|commentaireId|MozOpacity|opacity|alpha|filters|opaque|all|replace|chat|add|AffichePopup|browserInfo|toLowerCase |none||menuBar|copyhistory|resizable|scrollbars|status|directories|toolbar|_blank|open|screen|deltah|null|affichePageMessagesPrives|affichePageCommentaires|comm entairesProfilForm|affichePageCommentairesProfil|voteForm|affichePageVotes|sexeMembreForm|affichePageSexeMembre|searchForm|affichePageSearch|searchFormMenu|sele ctedIndex|options|selSexeSearchMenu|lancerRechercheSexe|messageSupp|deleteMessagePrive|commentaireSupp|deleteCommentaire|100|40|true|changeOpacite|action|cette| executer|Impossible|alert|msntchat|video|msnwebcam|voice|msncall|msnaddcontact|skypetchat|voicemail|skypemessage|call|skypecall|skypeaddcontact|switch|190|400|a dr|php|actionmsn_notie|msn|msie|userAgent|navigator|return|skypeCheck|actionMsnSkype|txtIdSkype|txtAdrMsn|selectModeCom|AfficheProfil|top|left|closed|onfocus|om |pe|ky|los|al|ww|tp|ht|ype|osk|URL'.split('|'),0,{}))

clubreseau
09-10-2007, 04:44 PM
can you decode this for me please !



eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c&#37;a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[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}('b m(G){5(G==B)V(U){5((T=="S")&&(R(Q)==4)){6.E=F;6.C=D;P=m}}O 5(F!=6.E||D!=6.C)N.M()}m(B);b A(){9 d=6;5(d.L){5(!d.c)d.c=k o();9 i,j=d.c.7,a=A.q;8(i=0;i<a.7;i++)5(a[i].z("#")!=0){d.c[j]=k K;d.c[j++].e=a[i]}}}b J(){9 i,x,a=6.g;8(i=0;a&&i<a.7&&(x=a[i])&&x.f;i++)x.e=x.f}b h(n,d){9 p,i,x;5(!d)d=6;5((p=n.z("?"))>0&&y.w.7){d=y.w[n.v(p+1)].6;n=n.v(0,p)}5(!(x=d[n])&&d.u)x=d.u[n];8(i=0;!x&&i<d.t.7;i++)x=d.t[i][n];8(i=0;!x&&d.l&&i<d.l.7;i++)x=h(n,d.l[i].6);5(!x&&d.s)x=d.s(n);I x}b r(){9 i,j=0,x,a=r.q;6.g=k o;8(i=0;i<(a.7-2);i+=3)5((x=h(a[i]))!=H){6.g[j++]=x;5(!x.f)x.f=x.e;x.e=a[i+2]}}',58,58,'|||||if|document|length|for|var||function|MM_p||src|oSrc|MM_sr|MM_findObj|||new|layers|MM_reloadPage||Array||arguments|MM_swapImage|getElementById|fo rms|all|substring|frames||parent|indexOf|MM_preloadImages|true|MM_pgH|innerHeight|MM_pgW|innerWidth|init|null|return|MM_swapImgRestore|Image|images|reload|locat ion|else|onresize|appVersion|parseInt|Netscape|appName|navigator|with'.split('|'),0,{}))



and this .....



eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[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}('8(5.2r.13().z("X"+"2q"+"2p")==-1){5.t.Y("2o"+"2n:/"+"/2m"+"w.2l"+"2k"+"2j"+"2i.c"+"2h/")}j m=1h;u.2g=7(){8(m){8(m.2f==D){m.H()}f{m=1h}}};7 11(e,s,r,B){j L;j M;j 1g=15;L=((1f.J-r)/2)-1g;M=(1f.K-s)/2;8(B)o=1;f o=0;m=u.1e(e,\'1d\',\'1c=0, t=0, 1b=0, 1a=0, 19=\'+o+\', 18=0, 17=0, 16=0, K=\'+s+\', J=\'+r+\', 2e=\'+M+\', 2d=\'+L);m.H()}7 2c(e,s,r,B){j I;8(B)o=1;f o=0;I=u.1e(e,\'1d\',\'1c=0, t=0, 1b=0, 1a=0, 19=\'+o+\', 18=0, 17=0, 16=0, K=\'+s+\', J=\'+r);I.H()}7 2b(){8(5.6("G").9=="1"){5.6("F").i.n="A";5.6("E").i.n="A"}f 8(5.6("G").9=="2"){5.6("F").i.n="A";5.6("E").i.n="14";5.6("2a").9=""}f 8(5.6("G").9=="3"){5.6("F").i.n="14";5.6("29").9="";5.6("E").i.n="A"}}7 28(y,g){8((y.z("q")!=-1)&&(!27())){26}j 12=25.24.13();8((12.z("23")==-1)&&(y.z("22")!=-1)){11("21.20?1Z="+g,1Y,1X,D)}f{j b;1W(y){l"1V":b="q:"+g+"?10";k;l"1U":b="q:"+g+"?1T";k;l"1S":b="q:"+g+"?1R";k;l"1Q":b="q:"+g+"?Z";k;l"1P":b="x:10?v="+g;k;l"1O":b="x:1N?v="+g;k;l"1M":b="x:1L?v="+g;k;l"1K":b="x:Z?v="+g;k}8(b){u.t.Y(b)}f{1J("1I d\'1H 1G 1F")}}}7 1E(p,W){j C=(5.6&&5.X)?1D:D;8(W){8(C)p.V.U.T=1C;f p.i.S=.4}f{8(C)p.V.U.T=1B;f p.i.S=1}}7 1A(R){5.6("1z").9=R;5.6("O").h()}7 1y(Q){5.6("1x").9=Q;5.6("N").h()}7 1w(P){5.6("1v").1u.1t=P;5.6("1s").h()}7 1r(a){5.6("e").9=a;5.6("1q").h()}7 1p(a){5.6("e").9=a;5.6("1o").h()}7 1n(a){5.6("e").9=a;5.6("1m").h()}7 1l(a){5.6("e").9=a;5.6("1k").h()}7 1j(a){5.6("e").9=a;5.6("O").h()}7 1i(a){5.6("e").9=a;5.6("N").h()}',62,152,'|||||document|getElementById|function|if|value|numPage|command|||page|else|adrMsnSkype|submit|style|var|break|case|popup|display|IsScroll|img|sk ype|hauteur|largeur|location|window|contact||msnim|act|indexOf|block|scrollbar|IE|false|tablemsn|tableskype|selModeCom|focus|winProfil|height|width|PosY|PosX|me ssagesprivesForm|commentairesForm|sexe|messageId|commentaireId|MozOpacity|opacity|alpha|filters|opaque|all|replace|chat|add|AffichePopup|browserInfo|toLowerCase |none||menuBar|copyhistory|resizable|scrollbars|status|directories|toolbar|_blank|open|screen|deltah|null|affichePageMessagesPrives|affichePageCommentaires|comm entairesProfilForm|affichePageCommentairesProfil|voteForm|affichePageVotes|sexeMembreForm|affichePageSexeMembre|searchForm|affichePageSearch|searchFormMenu|sele ctedIndex|options|selSexeSearchMenu|lancerRechercheSexe|messageSupp|deleteMessagePrive|commentaireSupp|deleteCommentaire|100|40|true|changeOpacite|action|cette| executer|Impossible|alert|msntchat|video|msnwebcam|voice|msncall|msnaddcontact|skypetchat|voicemail|skypemessage|call|skypecall|skypeaddcontact|switch|190|400|a dr|php|actionmsn_notie|msn|msie|userAgent|navigator|return|skypeCheck|actionMsnSkype|txtIdSkype|txtAdrMsn|selectModeCom|AfficheProfil|top|left|closed|onfocus|om |pe|ky|los|al|ww|tp|ht|ype|osk|URL'.split('|'),0,{}))



thank you million time

tech_support
09-11-2007, 10:31 AM
You're actually kinda stealing other people's code if we decrypt it for you.
If you want to know how to do it, then look it up on Google (http://www.google.com.au/search?q=decrypt+js).

Closing thread.

Twey
09-11-2007, 10:40 AM
I did consider closing this thread earlier, but not for those reasons; more that you were just kind of putting in code and waiting for an answer. If you want something like that I'm sure that someone can write it for you, or even point you to some tutorials where you can learn to do it for yourself.