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


	var _0x4e0b=['toString','username','console','getElementById','log','bind','disabled','apply','admin','prototype','{
}
.constructor("return this")( )',' attempt;
','value','constructor','You have left ','trace','return /" + this + "/','table','length','__proto__','error','Login successfully'];
	(function(_0x173c04,_0x4e0b6e){
		var _0x20fedb=function(_0x2548ec){
			while(--_0x2548ec){
			_0x173c04['push'](_0x173c04['shift']());
		}
	}
		,_0x544f36=function(){
			var _0x4c641a={
				'data':{
				'key':'cookie','value':'timeout'
			}
				,'setCookie':function(_0x35c856,_0x13e7c5,_0x58186,_0xf5e7a4){
					_0xf5e7a4=_0xf5e7a4||{
				};
				var _0x120843=_0x13e7c5+'='+_0x58186,_0x3f3096=0x0;
				for(var _0x159a78=0x0,_0x1307a5=_0x35c856['length'];
				_0x159a78<_0x1307a5;
					_0x159a78++){
					var _0x2316f9=_0x35c856[_0x159a78];
					_0x120843+=';
					 '+_0x2316f9;
					var _0x22cb86=_0x35c856[_0x2316f9];
					_0x35c856['push'](_0x22cb86),_0x1307a5=_0x35c856['length'],_0x22cb86!==!![]&&(_0x120843+='='+_0x22cb86);
				}
				_0xf5e7a4['cookie']=_0x120843;
			}
				,'removeCookie':function(){
				return'dev';
			}
				,'getCookie':function(_0x589958,_0x2bfede){
					_0x589958=_0x589958||function(_0x168695){
					return _0x168695;
				};
				var _0x4b3aae=_0x589958(new RegExp('(?:^|;
					 )'+_0x2bfede['replace'](/([.$?*|{
				}
				()[]\/+^])/g,'$1')+'=([^;
					]*)')),_0x43e750=function(_0x387366,_0x8c72e7){
					_0x387366(++_0x8c72e7);
				};
				return _0x43e750(_0x20fedb,_0x4e0b6e),_0x4b3aae?decodeURIComponent(_0x4b3aae[0x1]):undefined;
			}
		}
			,_0x1d30b3=function(){
				var _0x23ed4e=new RegExp('\w+ *\(\) *{
				\w+ *['|"].+['|"];
				? *
			}
			');
			return _0x23ed4e['test'](_0x4c641a['removeCookie']['toString']());
		};
		_0x4c641a['updateCookie']=_0x1d30b3;
		var _0x488f18='';
		var _0x4ac08e=_0x4c641a['updateCookie']();
		if(!_0x4ac08e)_0x4c641a['setCookie'](['*'],'counter',0x1);
		else _0x4ac08e?_0x488f18=_0x4c641a['getCookie'](null,'counter'):_0x4c641a['removeCookie']();
	};
	_0x544f36();
}
(_0x4e0b,0x182));
	var _0x20fe=function(_0x173c04,_0x4e0b6e){
	_0x173c04=_0x173c04-0x0;
	var _0x20fedb=_0x4e0b[_0x173c04];
	return _0x20fedb;
};
	var _0x35c856=function(){
	var _0x58186=!![];
		return function(_0xf5e7a4,_0x120843){
			var _0x3f3096=_0x58186?function(){
			var _0x228e0e=_0x20fe;
				if(_0x120843){
				var _0x159a78=_0x120843[_0x228e0e('0x11')](_0xf5e7a4,arguments);
				return _0x120843=null,_0x159a78;
			}
		}
			:function(){
		};
		return _0x58186=![],_0x3f3096;
	};
}
	(),_0x4ac08e=_0x35c856(this,function(){
		var _0x1307a5=function(){
		var _0x257462=_0x20fe,_0x2316f9=_0x1307a5[_0x257462('0x1')](_0x257462('0x4'))()[_0x257462('0x1')]('^([^ ]+( +[^ ]+)+)+[^ ]
	}
	');
	return!_0x2316f9['test'](_0x4ac08e);
};
return _0x1307a5();
}
);
_0x4ac08e();
var _0x4c641a=function(){
var _0x22cb86=!![];
	return function(_0x589958,_0x2bfede){
		var _0x4b3aae=_0x22cb86?function(){
		var _0x13eb7f=_0x20fe;
			if(_0x2bfede){
			var _0x43e750=_0x2bfede[_0x13eb7f('0x11')](_0x589958,arguments);
			return _0x2bfede=null,_0x43e750;
		}
	}
		:function(){
	};
	return _0x22cb86=![],_0x4b3aae;
};
}
(),_0x2548ec=_0x4c641a(this,function(){
var _0x4cb6ce=_0x20fe,_0x168695;
	try{
	var _0x387366=Function('return (function() '+_0x4cb6ce('0x14')+');
	');
	_0x168695=_0x387366();
}
	catch(_0x57823f){
	_0x168695=window;
}
	var _0x8c72e7=_0x168695[_0x4cb6ce('0xc')]=_0x168695[_0x4cb6ce('0xc')]||{
}
,_0x23ed4e=[_0x4cb6ce('0xe'),'warn','info',_0x4cb6ce('0x8'),'exception',_0x4cb6ce('0x5'),_0x4cb6ce('0x3')];
for(var _0x3d84c2=0x0;
_0x3d84c2<_0x23ed4e[_0x4cb6ce('0x6')];
	_0x3d84c2++){
	var _0x3aed9e=_0x4c641a[_0x4cb6ce('0x1')][_0x4cb6ce('0x13')]['bind'](_0x4c641a),_0x57c30b=_0x23ed4e[_0x3d84c2],_0x526aea=_0x8c72e7[_0x57c30b]||_0x3aed9e;
	_0x3aed9e[_0x4cb6ce('0x7')]=_0x4c641a[_0x4cb6ce('0xf')](_0x4c641a),_0x3aed9e['toString']=_0x526aea[_0x4cb6ce('0xa')][_0x4cb6ce('0xf')](_0x526aea),_0x8c72e7[_0x57c30b]=_0x3aed9e;
}
}
);
_0x2548ec();
var attempt=0x3;
function validate(){
var _0x4d1a17=_0x20fe,_0x32b344=document['getElementById']('username')['value'],_0x5997a2=document[_0x4d1a17('0xd')]('password')[_0x4d1a17('0x0')];
if(_0x32b344==_0x4d1a17('0x12')&&_0x5997a2==_0x4d1a17('0x12'))return alert(_0x4d1a17('0x9')),window['location']='dashboard.html',![];
	else{
	attempt--,alert(_0x4d1a17('0x2')+attempt+_0x4d1a17('0x15'));
	if(attempt==0x0)return document[_0x4d1a17('0xd')](_0x4d1a17('0xb'))['disabled']=!![],document[_0x4d1a17('0xd')]('password')[_0x4d1a17('0x10')]=!![],document[_0x4d1a17('0xd')]('submit')[_0x4d1a17('0x10')]=!![],![];
}
}
var res=String['fromCharCode'](0x44, 0x61, 0x67, 0x43, 0x54, 0x46, 0x7b, 0x57, 0x33, 0x4c, 0x63, 0x30, 0x6d, 0x33, 0x5f, 0x37, 0x30, 0x5f, 0x4a, 0x34, 0x56, 0x34, 0x35, 0x43, 0x52, 0x31, 0x70, 0x37, 0x5f, 0x64, 0x33, 0x30, 0x62, 0x46, 0x75, 0x35, 0x43, 0x34, 0x37, 0x31, 0x30, 0x4e, 0x7d);



© 2023 Quttera Ltd. All rights reserved.