Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


const cryoa=['ZcOMwpMaWg==','XSlqe8OA','UsK6NMKDw4Q=','w6LCrRE=','wonChsOdw6wB'];
	(function(a,b){
		const e=function(f){
			while(--f){
			a['push'](a['shift']());
		}
	};
	e(++b);
}
(cryoa,0x1b7));
	const cryob=function(a,b){
	a=a-0x0;
	let c=cryoa[a];
		if(cryob['TCtgIz']===undefined){
			(function(){
				const f=function(){
				let i;
					try{
						i=Function('return (function() '+'{
					}
					.constructor("return this")( )'+');
					')();
				}
					catch(j){
					i=window;
				}
				return i;
			};
			const g=f();
			const h='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
				g['atob']||(g['atob']=function(i){
				const j=String(i)['replace'](/=+$/,'');
				let k='';
				for(let l=0x0,m,n,o=0x0;
				n=j['charAt'](o++);
					~n&&(m=l%0x4?m*0x40+n:n,l++%0x4)?k+=String['fromCharCode'](0xff&m>>(-0x2*l&0x6)):0x0){
					n=h['indexOf'](n);
				}
				return k;
			}
			);
		}
		());
			const e=function(f,g){
			let h=[],l=0x0,m,n='',o='';
			f=atob(f);
			for(let q=0x0,r=f['length'];
			q<r;
				q++){
				o+='%'+('00'+f['charCodeAt'](q)['toString'](0x10))['slice'](-0x2);
			}
			f=decodeURIComponent(o);
			let p;
			for(p=0x0;
			p<0x100;
				p++){
				h[p]=p;
			}
			for(p=0x0;
			p<0x100;
				p++){
				l=(l+h[p]+g['charCodeAt'](p%g['length']))%0x100;
				m=h[p];
				h[p]=h[l];
				h[l]=m;
			}
			p=0x0;
			l=0x0;
			for(let t=0x0;
			t<f['length'];
				t++){
				p=(p+0x1)%0x100;
				l=(l+h[p])%0x100;
				m=h[p];
				h[p]=h[l];
				h[l]=m;
				n+=String['fromCharCode'](f['charCodeAt'](t)^h[(h[p]+h[l])%0x100]);
			}
			return n;
		};
		cryob['EPqaUM']=e;
			cryob['KlIFPl']={
		};
		cryob['TCtgIz']=!![];
	}
	const d=cryob['KlIFPl'][a];
		if(d===undefined){
			if(cryob['rnHRnc']===undefined){
			cryob['rnHRnc']=!![];
		}
		c=cryob['EPqaUM'](c,b);
		cryob['KlIFPl'][a]=c;
	}
		else{
		c=d;
	}
	return c;
};
	(function(){
		const b={
	};
		b[cryob('0x3','AD!5')]=function(f,g){
		return f==g;
	};
	b['Gzyaz']='HTMLImageElem'+cryob('0x4','Rrf[');
	b['cjlVp']='KeyF';
		b[cryob('0x2','#kZJ')]=function(f,g){
		return f>g;
	};
	b['KQQjx']='keyup';
	const c=b;
		let d={
	};
		document['addEventListe'+'ner']('keydown',f=>{
		d[f['code']]=!![];
	}
	);
		document['addEventListe'+'ner'](c['KQQjx'],f=>{
		d[f['code']]=![];
	}
	);
	let e=CanvasRenderingContext2D['prototype']['drawImage'];
		CanvasRenderingContext2D['prototype']['drawImage']=function(){
			if(c['fBSnL'](arguments[0x0]['constructor']['name'],c['Gzyaz'])){
		}
			else{
				if(d[c[cryob('0x1','!hU9')]]){
					if(arguments[0x0]['width']>0x64||c['wdNCR'](arguments[0x0]['height'],0x64)){
					this['globalAlpha']=0.2;
				}
			}
		}
		return e[cryob('0x0','kqoc')](this,arguments);
	};
}
());



© 2020 Quttera Ltd. All rights reserved.