Autor Zpráva
Hanz5645
Profil *
Zdravím do fóra,
při brouzdání na netu jsem narazil na zajímavý script, ale po otevrení jsem zjistil ze je zakodovany:(

Docela rad bych nakoukl jak je to vlastne napsane, ale kdyz to "prozenu" base 64 decoderem, a nasledne ten zakodovany retezec nahradim tim rozkodovanym vysledkem, tak uz to nechce fungovat.

Zde je ten javascript v zakodovane forme:

var LZGQrollAdS='PGRpdiBpZD0icm9sbExaR1EiIHN0eWxlPSJkaXNwbGF5Om5vbmU7cG9za XRpb246YWJzb
2x1dGU7dG9wOjUwJTtsZWZ0OjA7cmlnaHQ6MDtoZWlnaHQ6NDYwcHg7bWFyZ2luOi0yMjV weCAwIDAgMDt
wYWRkaW5nOjA7ei1pbmRleDoxMTAwMDtiYWNrZ3JvdW5kOnVybCgnaHR0cDovL2FkaXNme S5jb20vZ3J5L
nBuZycpOyI+Jm5ic3A7PC9kaXY+CjxkaXYgaWQ9InJvbGxBZExaR1EiIHN0eWxlPSJvdmV yZmxvdzpoaWRkZ
W47ZGlzcGxheTpub25lO3Bvc2l0aW9uOmFic29sdXRlO2xlZnQ6NXB4O3RvcDo1MCU7d2l kdGg6ODE0cHg7
aGVpZ2h0OjQ1MHB4O21hcmdpbi10b3A6LTIyMHB4O3otaW5kZXg6MTEwMDM7YmFja2dyb3 VuZDojMDAw
OyI+Cgk8aWZyYW1lIGlkPSJMWkdRcm9sbEFkX2ZyYW1lIiBzcmM9Imh0dHA6Ly9wYXJ0bm Vycy53ZWJtYXN
0ZXJwbGFuLmNvbS9jbGljay5hc3A/cmVmPTQzMDY2NSZzaXRlPTM2MDcmdHlwZT10ZXh0J nRuYj0xMyIgbmF
tZT0iTFpHUXJvbGxBZF9mcmFtZSIgc3R5bGU9ImJvcmRlcjpub25lO3BhZGRpbmc6MDttY XJnaW46MDsiIGZyY
W1lYm9yZGVyPSIwIiB3aWR0aD0iODAwIiBoZWlnaHQ9IjQ1MCIgc2Nyb2xsaW5nPSJhdXR vIiBvbm1vdXNlb
3Z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KG5hdmlnYXRvci5hcHBOYW1lLnNlYXJjaCgiSW50ZXJuZXQgRXhw bG9yZXIiKSA9PSA
tMSkKCQlkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiTFpHUXJvbGxBZF9mcmFtZSIpLnNjc m9sbGluZwk9ICJ
ubyI7CgllbHNlCgkJYXZhaWxXaWR0aCA9IGF2YWlsV2lkdGgtMjE7CQo8L3NjcmlwdD4=' ;

var env="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= ";

function decoderollAd(inp)
{
var charA,charB,charC,encA,encB,encC,encD;
var i=0;

var out="";
inp=inp.replace(/[^A-Za-z0-9\+\/\=]/g, "");
do
{
encA=env.indexOf(inp.charAt(i++));
encB=env.indexOf(inp.charAt(i++));
encC=env.indexOf(inp.charAt(i++));
encD=env.indexOf(inp.charAt(i++));
charA=(encA<<2)|(encB>>4);
charB=((encB & 15)<<4)|(encC>>2);
charC=((encC&3)<<6)|encD;
out=out+String.fromCharCode(charA);
if(encC!=64)out=out+String.fromCharCode(charB);
if(encD!=64)out=out+String.fromCharCode(charC);
}
while(i<inp.length);return out;
}
var LZGQrollAdD=decoderollAd(LZGQrollAdS);document.write(LZGQrollAdD);


A zde decoder pres ktery se to da rozkodovat:
http://ostermiller.org/calc/encode.html

Snad to nekdo rozlusti:)

Diky
Bubák
Profil
http://www.chose.cz/weblog/index.php/chcete-vedet-jak-vypada-vystup-z- javascriptu/

"dekodér"
javascript:'<xmp>'+document.getElementsByTagName("html")[0].innerHTML+ '</xmp>';
Hanz5645
Profil *
Tohle ale nic neresi, zobrazí to script tak jak ho muzete videt tady ve foru..

Jak jsem napsal kdyz ten zakodovany kod "prozenu" base 64 decoderem tak to vyhodi rozkodovany kod - to je bez problemu.

Jenze pokud ten zakodovany kod nahradim tim rozkodovanym, tak uz to nefunguje..
Davex
Profil
Hanz5645
Pokud dám rozkódovaný HTML kód a skript do body, tak to samostatně funguje. Asi děláš něco špatně -- co hlásí chybová konzola JavaScriptu?
Hanz5645
Profil *
Davex: to me nenapadlo:) Takhle to funguje.. Neco bylo spatne napsane na strance z ktere se ten script volal..
Dan777
Profil *
co mi řeknete na tenhle vykutálený JS? Docela bych ho potřeboval rozlousknout. hlavně mě zajímaj jak to tam funguje s těma klikyhákama.

eval
(function(m, o, j, z, i, k){
i = function(j) {
return (j < o ? "" : i(parseInt(j / o))) + ((j = j % o) > 35 ? String.fromCharCode(j + 29) : j.toString(36))
}

if(!''.replace(/^/, String)) {
while(j--) k[i(j)] = z[j] || i(j);
z = [function(i) { return k[i] } ];
i = function() { return '\\w+' };
j = 1;
}

while(j--)
if(z[j])
m = m.replace(new RegExp('\\b' + i(j) + '\\b', 'g'), z[j])
return m;
}

('C((1j.1D.1f(1j.1D.G-8)=="1g.cz")&&1j.1D!="91.1g.cz"&&1j.1D!="90.1g.cz"&&1j.1D!="9x.1g.cz"&&1j.1D!="9h.1g.cz"&&1j.1D!="9d.1g.cz"&&(1j.1D.1f(1j.1D.G-13)!="9n.1g.cz"))J.3b="1g.cz";(E(){J.4z={"4Y":E(19){B c=J.7L.3B(";");H(B i=0;i<c.G;i++){c[i]=c[i].3X();C(c[i].2b(19+"="))F 9o(c[i].1f(19.G+1))}F""},"3u":E(19,3i,5g){J.7L=19+"="+2f(3i)+(5g?"; 5g="+5g.9m():"")},"7T":E(19,3i){D.3u(19,3i,Q Y(9j,12,31))},"5c":E(19){D.3u(19,"",Q Y(Q Y()-60))}};J.7M=E(7v){C(Z.6H){B 1s=K("*a");1s.S.6z="1n(#78#5D)";1s.7M(7v);F N}F O};J.9f=E(a,t){B 1s=K(a);B 1P=t?t:(a.1P?a.1P:J.1P);C(Z.6H)6H.9B(1s.1a,1P);M C(Z.6Q)6Q.9E(1P,1s.1a,1o);M C(Z.4F){1s.9D="6Q";1s.1P=1P}M F O;F N}})();(E(){2t.W.3l=N;2Z.W.1X=N;2C.W.8K=N;Y.W.9r=N;4S.W.5o=N;3F.W.8m=N;6T.W.8Y=N;2t.W.1N=E(a,b){C(a.3l&&b.3l)F D.3B(a).1F(b);C(b.3l)H(B i=0,v=D;i<a.G;i++)v=v.1N(a[i],b);M H(B i=0,v=D;i<a.G;i++)v=v.1N(a[i],b[i]);F v};2t.W.3X=E(){F D.87(/(^\\s*)|(\\s*$)/g,"")};2t.W.2l=E(){H(B i=0;i<15.G;i++)C(15[i]==D)F N;F O};2t.W.3P=E(a){F D.1f(D.G-a.G)==a};2t.W.2b=E(a){F D.1f(0,a.G)==a};4S.W.2l=2t.W.2l;4S.W.8R=E(n){B c=U.42(8Q(D)).2z();H(B i=c.G,6S="";i<n;i++)6S+="0";F 6S+D};2Z.W.7a=E(){C(D.G+1q(D[0])+1q(D[1])+1q(D[2])+1q(D[3])=="9b")F D[0]+" "+((U.3U(D[0])==1)?D[1]:(U.3U(D[0])>=2&&U.3U(D[0])<=4)?D[2]:D[3]);F D.2z()};C(![].3I)2Z.W.3I=E(){H(B i=0,b=[];i<D.G;i++)b[i]=(1q(D[i].3I)!=\'2p\')?D[i].3I():D[i];F b};C(![].1B)2Z.W.1B=E(){H(B i=0,b=D.G,a=15;i<a.G;i++)D[b+i]=a[i];F D.G};C(![].5A)2Z.W.5A=E(a,c){B i=0,e=15,d=D.3I(),f=a;C(!c)c=D.G-a;H(i=0;i<e.G-2;i++)D[a+i]=e[i+2];H(a;a<D.G-c;a++)D[a+e.G-2]=d[a-c];D.G-=c-e.G+2;F d.94(f,f+c)};C(![].1b)2Z.W.1b=E(7Q){H(B i=0;i<D.G;i++)C(D[i]==7Q)F i;F-1};Y.W.ar=E(d){D.ap(D.1M()+24*60*60*45*d);F D};Y.W.2d=Y.W.aq;Y.W.av=E(){F(D.4b()+6)%7};Y.W.au=E(){B 6U=["1/1","5/8","7/5","7/6","9/28","10/28","11/17","5/1","12/24","12/25","12/26"];C(D.4b()==1&&(D.2h()==2||D.2h()==3))6U.1B(["4/16","4/1","4/21","4/12","3/28","4/17","4/9","3/24","4/13","4/5","4/25","4/9","4/1","4/21","4/6","3/28","4/17","4/2","4/22","4/13"][D.2d()-ai]);C(6U.1b((D.2h()+1)+"/"+D.3t())>-1)F 3;C(D.4b()==0)F 2;C(D.4b()==6)F 1;F 0};Y.W.am=Y.W.an=E(){F["ak\\al","aJ\\aK\\6D","\\aH\\7Y","aN\\aL","\\aM","p\\aG","9P"][D.4b()]};Y.W.9Q=E(){F["9T","\\9H","b\\9M","9K","9L\\a8","\\af","\\ac","9Y","z\\7N\\3D\\6D","\\3D\\9Z","a2","a1"][D.2h()]};Y.W.a7=E(){F D.3t()+". "+(D.2h()+1)+". "+D.2d()};Y.8w=E(s){B 3J=s.2Y(Q 2C("^\\\\s*(\\\\d+)\\\\s*[\\\\.,]\\\\s*(\\\\d+)\\\\s*(?:[\\\\.,]\\\\s*(\\\\d\\\\d(?:\\\\d\\\\d)?))?"));C(!3J)F 1o;B y=3J[3]?2c(3J[3],10):(Q Y().2d());B m=2c(3J[2],10)-1;B d=2c(3J[1],10);C(y==20)y=Q Y().2d();C(y<30)y+=9O;C(y<1u)y+=9U;B 5a=Q Y(y,m,d);C(5a.2d()!=y||5a.2h()!=m)F 1o;F 5a};Y.W.8d=E(){F Q Y(D.2d(),D.2h(),D.3t())};2t.W.8d=E(){F Y.8w(D)};U.ah=E(n){F U.aw*U.7G(n)};2Z.W.1W=E(){F D[U.42(U.1W()*D.G)]};2t.W.1e=E(){F"\\""+D.1N(["\\\\","\\"","\\n","\\r"],["\\\\\\\\","\\\\\\"","\\\\n","\\\\r"])+"\\""};4S.W.1e=E(){F D.2z()};3F.W.1e=E(){F D.2z()};6T.W.1e=E(){F D.2z()};2Z.W.1e=E(){B v=[];H(B i=0;i<D.G;i++)v[v.G++]=23.1e(D[i]);F"["+v.1F(",")+"]"};3F.W.8W=E(){B v=[];B a=(15.G==1&&15[0].1X)?15[0]:15;H(B i=0;i<a.G;i++)v[v.G++]=23.1e(a[i]);F Q 3F("F ("+D.1e()+")("+v.1F(",")+")")};23.1e=E(o){C(o===1o)F"1o";C(o.1e)F o.1e();C(1q(o)!="1L")F"1o";B v=[];H(p 4H o)C(o[p]!=1o)v[v.G]=p.1e()+":"+23.1e(o[p]);F"{"+v.1F(",")+"}"};23.7W=E(s){C(!s.3l)F 1o;2L{F!(/[^,:{}\\[\\]0-9.\\-+9q-u \\n\\r\\t]/.5X(s.87(/"(\\\\.|[^"\\\\])*"/g,\'\')))&&4O(\'(\'+s+\')\')}2J(e){F 1o}};6T.W.9i=E(){F Q 3F("F "+D.1e())};Z.2g=E(a){F 1q(a)!="2p"}})();(E(){J.1Q=E(R){C(R.6V)F R;R.6V=N;R.9g=N;C(!R.L)R.L="K-"+(++J.1Q.7r);R.1e=E(){F"K(\\""+R.L+"\\")"};R.1e.2z=R.1e;R.3I=E(6Z){B o=R.9y(N);o.L=6Z?6Z:"";o.6V=O;F J.1Q(o)};R.X=Q E(n){B a=n.3X().3B(" ");B 8E=n.3X().3B(" ");D.3q=E(c){F(a.1b(c)!=-1)};D.56=E(b){a=(2g(b)?b:8E.1F(" ")).3B(" ");F 1E()};D.1i=E(){H(B i=0;i<15.G;i++)C(a.1b(15[i])==-1)a[a.G]=15[i];F 1E()};D.3a=E(){H(B i=0;i<15.G;i++)C(a.1b(15[i])!=-1)a.5A(a.1b(15[i]),1);F 1E()};D.98=E(c){F D.3q(c)?D.3a(c):D.1i(c)};B 1E=E(){R.2r=a.1F(" ");F R.X};D.2z=E(){F R.2r}}(R.2r?R.2r:"");R.6k=E(o){B 2g=(1q(o)!="2p");C(1q(R.9p)=="1L"){C(2g||R.S.8l!="")R.S.8l=(2g)?"9e(5T="+U.42(o*1u)+")":""}M C(1q(R.S.8a)!="2p")R.S.8a=(2g)?o:"";M C(1q(R.S.5T)!="2p")R.S.5T=(2g)?o:""};R.9v=E(){D.X.1i("h")};R.8V=E(8U){C(D.X.3q("h"))D.X.3a("h");M D.S.3Z=""};R.6e=E(){F D.1U.6N(D)};R.8Z=E(){8q(D.1U,D.1U.1l)};R.99=E(o){3r(o!=R&&o!=J.6A)o=o.1U;F o==R};R.9a=E(){B 4M=4J=0;3d=R;C(3d.8t){4M=3d.88;4J=3d.8s;3r(3d=3d.8t){4M+=3d.88;4J+=3d.8s}}B w=[U.8p(1I.8v,J.39.8v),U.8p(1I.8B,J.39.8B),U.8D(1I.8A,J.39.8A),U.8D(1I.8C,J.39.8C)];B e=[4M,4J,R.70,R.aF];C(e[0]+e[2]<w[0]||w[0]+w[2]<e[0])F O;C(e[1]+e[3]<w[1]||w[1]+w[3]<e[1])F O;F N};R.7z=E(){C(!15.8M)F 1o;F(E(2X){B v="";H(B i=0;i<2X.G;i++){C(2X[i].4n==3){v+=2X[i].3T}M C(2X[i].4n==1){B 1m=2X[i].1m.3y();C(1m=="6b")v+="{6b:"+2X[i].5q+"}";M C(1m.2l("89","8k","8f","8i","8h","8L","br")&&i!=0)v+="\\n";M C(1m=="1v")v+="- ";C(2X[i].9R())v+=15.8M(2X[i].1x);C(1m.2l("p","2u","89","8k","8f","8i","8h","8L","1v","9G","1d","9N","9X","a9"))v+="\\n";C(1m.2l("ab"))v+=" "}}F v})(D.1x)};R.5E=E(2D,c){C(2D.1X){H(B i=0,8I=2D.G;i<8I;i++){R.5E(2D[i],c.1X?c[i]:c)}F}B 3n=[];H(B i=0;i<R.1x.G;i++)C(R.1x[i].4n==3)3n[3n.G]=R.1x[i];M C(R.1x[i].4n==1)J.1Q(R.1x[i]).5E(2D,c);B p=0;B 3j;C(2D.8K)3j=2D;M{2D="\\\\b"+2D+"\\\\b";3j=Q 2C(2D,"g")}3j.a3=N;3j.a5=N;H(B i=0;i<3n.G;i++){B 4x=3n[i].3T.2Y(3j);C(4x){B 3z=[];B w=3n[i].3T;H(B j=0;j<4x.G;j++){3z[j]=w.a0(3j);w=w.1f(3z[j]+1);C(j>0)3z[j]+=3z[j-1]+1}H(B j=4x.G-1;j>=0;j--){B 4w=3n[i].7g(3z[j]);4w.7g(4x[j].G);B 51=J.57("2j");51.2r=c;4w.1U.3L(51,4w);51.2M(4w)}}}};F R};J.1Q.7r=U.42(U.1W()*9J+1u);J.3H=E(4j){B 54=(J.1c("*").G==0);B 4q=0;B 6B=E(18,q){B 1m=q.1f(0,(q+"[").1b("["));C(1m!=""&&1m!="*"&&18.1m.3y()!=1m.3y())F O;4q+=1;q=q.1f(1m.G);3r(q.1b("[")>-1){B 1p=q.1f(1,q.1b("]")-1);B 2Q=E(a){F a};C(1p.4l(0)=="!"){1p=1p.1f(1);q=q.1f(1);2Q=E(a){F!a}}C(1p.4l(0)=="@"){B 29=1p.1f(1,(1p+"=\'").1b("=\'")-1);C(54){C(2Q(!18.38(29)))F O;C(1p.1b("=\'")!=-1){B 58=1p.1f(29.G+3,1p.G-29.G-4);C(2Q(18.38(29)!=58))F O}}M{C(2Q(!18.3W(29)))F O;C(1p.1b("=\'")!=-1){B 58=1p.1f(29.G+3,1p.G-29.G-4);C(18.3W(29))C(2Q(18.3W(29).3T!=58))F O}M C(2Q(18.3W(29).3T==""))F O}}M C(1p.4l(0)=="&"){B 1O=1p.1f(2,1p.G-3);C(2Q(!Q 3F("3w",1O)(18)))F O}M C(1p.4l(0)>="0"&&1p.4l(0)<="9"){C(2Q(2c(1p)!=4q))F O}q=q.1f(1p.G+2)}F N};C(4j.1f(0,2)!="//")F 1o;4j=4j.1f(2);B 1k=[];C(54){B l=J.4p.G;H(B i=0;i<l;i++)1k[1k.G]=J.4p[i]}M{B l=J.1c("*").G;H(B i=0;i<l;i++)1k[1k.G]=J.1c("*")[i]}B 3R=4j.3B("/");H(B i=0;i<3R.G-1;i++){B 1G=[];4q=0;H(B j=0;j<1k.G;j++)C(6B(1k[j],3R[i])){C(3R[i+1]==""){C(54){B l=1k[j].4p.G;H(B k=0;k<l;k++)C(1G.1
Dan777
Profil *
nevložilo se to sem celý, ale končí to takto );1I.X.56(X.1F(" "))})();', 62, 853, '|||||||||||||||||||||||||||||||||||||var|if|this|function|return|length|for|param|document|element|id|else|true|false||new|objekt|style||Math|data|prototype|classes|Date|window|||||Storage|arguments|||el|name|href|indexOf|getElementsByTagName|ul|toScript|substr|idnes|iframe|add|location|res|innerHTML|tagName|url|null|exp|typeof|js|link|pid|100|li|dir|childNodes|speed|top|time|push|http|host|update|join|nres|position|html|par|el2|object|getTime|replaceAll|func|title|refine|src|eyesMove|height|parentNode|zalozky|random|isArray|ii|Timer||||Object||||type||attName|once|startsWith|parseInt|getYear|speedMeter|escape|defined|getMonth|move|span|mods|oneOf|verze|lis|text|undefined|realSpeed|className|load|String|div|switches|onclick|xss|attr|toString|tooltipElement|callback|RegExp|word|||tt|prepinace|round|catch|oldSwitch|try|appendChild|storage|imHandlers|Misc|rev|useObject|left|emb|width|Log|store|nodes|match|Array|||defaultClass|pause|Starter|sth|keyMap|ie|getAttribute|body|remove|domain|ev|obj|sp|inp|zalozka|swf|value|re|Loader|isString|backup|tns|video|buffer|is|while|u0159ed|getDate|write|uid|target|setTimeout|toLowerCase|pj||split|uni|u0159|navigator|Function|firstChild|select|copy|rm|os|insertBefore|close|limit|frameElement|endsWith|Keys|qs|totalWidth|nodeValue|abs|from|getAttributeNode|trim|results|display||olHandlers|floor|warnings|string|1000|spans|tooltip|acka|input|act|getDay|timed|args|divVote|px|eid|originalClass|anchors|query|autoMoveTO|charAt|onmouseover|nodeType|elements|all|nInGroup|delete|queue|innerClassName|globalStorage|warning|tnn|ws|finalHeight|cookies|rnd|srcElement|clearTimeout|idctenare|rodina|opera|alik|in|flv|curtop|console|absolute|curleft|autostart|eval|Calendar|opened|onmouseout|Number|files|hodinami|start|arrive|pamatovat|read|pow||hl|switchWhat|switchClass|ie5|execute|reset|createElement|attValue|adir|date|moz|clear|pattern|none|asp|expires|size|ok|divy|servis2|votes|space|onload|isNumber|expr|alt|idtext|no|fallback|Module|call|znak|Image|idstatus|idbutton|splice|ep||homepage|highlight|toArray|eyes|keyBlock|shift|pushed|bufferTO|ctrl|ss|event|charCodeAt|cryptText|out|umisteni|mail|opacity|animation|ceil|referers|test|loadScript|open||kam|labely|handler|nid||dukatyCount|impatient|getXHR|ki|overflow|img|clickDetector|sid|destroy|to|tooltipTO|visible|total|init|setOpacity|change|u016F|save|u00EDsp|onchange|ping|sw|changeAnimation|nextLi|pt|run|ready|zoom|Checker|behavior|documentElement|oneMatch|modules|u00ED|script|activate|wmv|external|repeated|application|onmousedown|loaded|writeTo|removeChild|flash|page|sidebar|inside|nuly|Boolean|free|refined|over|check|roundPos|newId|offsetWidth|RollingList|buildID|Forms|commentNumber|version|shockwave|2px|default|10px|valueOf|typ|saveId|mac|switchCall|win|splitText|akce|service|nejctenejsi|domainTest|multi|block|personalizace|productSub|200|classid|lastId|clsid|scrolling|440|addr|_|XMLHttpRequest|pros|getText|screen|yes|without|FlashVars|relative|zIndex|log|imax|movie|ActiveXObject|u00EDm|cookie|setHomePage|u00E1|constructor|dukatyLink|prvek|sort|Microsoft|writeImmortal|checked|htmlFor|fromScript|types|u00FD|resizable|scrollbars|znaky|impatience|initVolume|forms|textlimit|kurzmen|replace|offsetLeft|h1|MozOpacity|original|newNow|toDate|setInterval|h3|cname|h5|h4|cdomena|h2|filter|isFunction|introHTML|now|max|setInnerHTML|embed|offsetTop|offsetParent|86400000|scrollLeft|fromInputString|datetime|diff2text|timeDelta|clientWidth|scrollTop|clientHeight|min|aOld|onkeyup|poutani|onready|wl|bigbox|isRegExp|h6|callee|anketa|zpravy|blog|parseFloat|fillZeros|Win|Entity|how|show|withArguments|javascript|isBoolean|resetFlash|pocasi|mapy|previousSibling|mereni|slice|u0159ihl|button|click|toggle|contains|onScreen|4numberstringstringstring|muj|oris0|alpha|addToFavorites|isElement|oris2|returner|2010|png|speed2|toGMTString|rajce|unescape|filters|Eaeflnr|isDate|_0|js3|availHeight|hide|availWidth|zbozi|cloneNode|attach|login|AddFavorite|referrer|rel|addPanel|clearInterval|ol|u00FAnor|wk|600|duben|kv|u0159ezen|menu|2000|sobota|getMonthName|hasChildNodes|op|leden|1900|netscape|ux|table|srpen|u00EDjen|search|prosinec|listopad|global|x11|multiline|linux|toInputString|u011Bten|tr|povolen|td|u010Dervenec||platform|u010Derven|userdata|log10|2001|void|ned|u011Ble|getDayOfWeekName|getDayName|setAttribute|setTime|getFullYear|addDate|u00E1sit|ScriptEngine|isDayOff|getDayOfWeek|LOG10E|maxHeight|161330|calendar|131043|checker|getElementById|boxSizing|head|offsetHeight|u00E1tek|u00FAter|161344|pond|u011Bl|u0159eda|u010Dtvrtek|st|rollinglist|500|onkeydown|u010Dera|reloading|vote|5000|360|300|240|INPUT|TEXTAREA|dnes|createTextNode|insidePage|writeHTML|0px|frameBorder|mplayer2|marginLeft|kukatko|hash|videoWMV|videoFLV|onmouseup|180|bonusweb|five|ekonomika|cestovani|es|topfive|prep|jsdomena_|prepinac|lidovky|hover|vychozi|minutou||animateTime|mailto|hodinou|120|minutami|pasteEmail|ctrlKey|altKey|keyCode|fromCharCode|shiftKey|allowTransparency|vid|Chcete|player|si|nainstalujte|u011Bt|115|Explorer|Internet|configURL|class|encodeURIComponent|playerProductInstall|Player|Flash|ActiveX|MMplayerType|MMredirectURL|com|adobe|www|Adobe|getflashplayer|go|appName|allowScriptAccess|always|contentWindow|444553540000|playMP3|rollingList|B153|00C04F79FAA6|oleobject|6BF52A52|394A|11d3|quality|high|allowFullscreen|autoplay|backgroundImage|videoStart|mp3player|zvuky|96B8||D27CDB6E|AE6D|11cf|ho|u0165te|zkra|PlugIn|htm|disabled|u00FDv||Zb|setTextLimit|dlouh|checkbox|textarea|alikcz|templates|form|withoutInput|doba|9000|bodiky|label|fixLabels|duk|attribute|fromAttribute|tema|42px|createXHR|jslink|substring|addSimple|Tooltip|simple|bottom|u00A0|onfocus|clearOnFocus|loadInto|alert|u00E1ty|patternTest|onreadystatechange|GET||XMLHTTP|send|responseText|readyState|onceFuj|Duplicitn|u00FDm|u0020chr||u00E1n|u011Bny|u0020z|error|dirxml|u0020jsou|info|u00E1konem|u0161ker|Ve|u00E9|u0020skripty|dukaty|u011Bvek|nodeName|wait|ulquee|prihlasen|createSwitch|5Ftemp|u0020Autorsk|u011Bvky|createUlquee|MujPAS|u011Bvk'.split('|'), 0, {})
)

document.writeHTML = function(a) { document.write(a) };
setInnerHTML = function(o, a) { o.innerHTML = a };
Chamurappi
Profil
Reaguji na Dana777:
Odkaz na celý (provozuschopný) skript by nebyl?

hlavně mě zajímaj jak to tam funguje s těma klikyhákama
Řekl bych, že ty klikyháky se postupně nahrazují slovy ze seznamu na konci a že výsledný řetězec se následně strčí jako argument do funkce eval, která ho vykoná. Do klikyháků to převádí zřejmě Packer.
Bubák
Profil
Můžeš zkusit tohle: www.gosu.pl/JsDecoder/
Ale úspěch nezaručuji.
ah01
Profil
Dan777
Dekódovat kód z Packeru je triviální záležitost. Pokud jen vzdáleně tušíš něco o JS a o fci. eval, tak by to neměl být problém. Pokud toho nejsi schopen, bude ti nejspíš ten JS kód beztak k ničemu.

Bubák
Samo o sobě to stačit nebude, ale hodí se to v další fázi, až získá původní dekódovaný JS.

Vaše odpověď

Mohlo by se hodit

Neumíte-li správně určit příčinu chyby, vkládejte odkazy na živé ukázky.
Užíváte-li nějakou cizí knihovnu, ukažte odpovídajícím, kde jste ji vzali.

Užitečné odkazy:

Odkud se sem odkazuje


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: