-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhexaeight-session-auth.js
1 lines (1 loc) · 6.77 KB
/
hexaeight-session-auth.js
1
function _0x72b2(){var _0x552fb3=['success','src','log','http://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js','getAttribute','data','toString','setAttribute','replace','Hexa8SPeer|','#hexaeightclient','now','#display-hexaeight-qrcode','stringify','hostname','32loVMOa','QR\x20Code\x20Ready...\x20Waiting\x20to\x20be\x20Scanned','Deferred','2697nONTpr','onreadystatechange','QR\x20Code\x20Scanning\x20in\x20Progress','HexaEightAuthResponse','8739270NfBOet','2221632PrIQPb','disabled','loaded','complete','736asVAXl','toLowerCase','when','text/javascript','Get-Demo-QRCode','SessionResponse:','qrcode','Redirect\x20URL\x20not\x20defined.\x20Set\x20the\x20redirect\x20url\x20to\x20redirect\x20this\x20page\x20upon\x20login','connection','getScript','Hello','scan-hexaeight-qrcode','send','HEUserApprovedResponse|','authenticate.hexaeight.com','3095469ZXLMMc','data-clipboard-text','readyState','button','includes','path','SessionResponse:\x20User\x20Authenticated\x20Successfully.','startsWith','href','createElement','innerHTML','head','done','substr','noConflict','567335TDWFpM','#scan-hexaeight-qrcode','servername','getElementById','5723406NJgutV','location','ready','9QRbfAZ','resolve','http://cdnjs.cloudflare.com/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js','attr','split','jQuery','protocol','display-hexaeight-qrcode','open','442092tzFtYn','onload','http://cdn.jsdelivr.net/clipboard.js/1.5.3/clipboard.min.js'];_0x72b2=function(){return _0x552fb3;};return _0x72b2();}function _0xd1c1(_0x54001a,_0x5e2ebe){var _0x72b235=_0x72b2();return _0xd1c1=function(_0xd1c176,_0x1f398a){_0xd1c176=_0xd1c176-0x1ee;var _0x285a97=_0x72b235[_0xd1c176];return _0x285a97;},_0xd1c1(_0x54001a,_0x5e2ebe);}(function(_0x317501,_0x20237f){var _0x9d3826=_0xd1c1,_0x546b27=_0x317501();while(!![]){try{var _0x5a063b=-parseInt(_0x9d3826(0x228))/0x1*(-parseInt(_0x9d3826(0x231))/0x2)+-parseInt(_0x9d3826(0x1f4))/0x3+parseInt(_0x9d3826(0x225))/0x4*(-parseInt(_0x9d3826(0x203))/0x5)+parseInt(_0x9d3826(0x207))/0x6+-parseInt(_0x9d3826(0x213))/0x7+-parseInt(_0x9d3826(0x22d))/0x8+-parseInt(_0x9d3826(0x20a))/0x9*(-parseInt(_0x9d3826(0x22c))/0xa);if(_0x5a063b===_0x20237f)break;else _0x546b27['push'](_0x546b27['shift']());}catch(_0x50f265){_0x546b27['push'](_0x546b27['shift']());}}}(_0x72b2,0x83d01),function(){var _0x50b5ef=_0xd1c1,_0xaee60d;if(window[_0x50b5ef(0x20f)]===undefined){var _0x198ed3=document[_0x50b5ef(0x1fd)]('script');_0x198ed3[_0x50b5ef(0x21d)]('type',_0x50b5ef(0x234)),_0x198ed3[_0x50b5ef(0x21d)](_0x50b5ef(0x217),'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js'),_0x198ed3[_0x50b5ef(0x1f6)]?_0x198ed3[_0x50b5ef(0x229)]=function(){var _0x278955=_0x50b5ef;(this['readyState']==_0x278955(0x230)||this['readyState']==_0x278955(0x22f))&&_0x33c811();}:_0x198ed3[_0x50b5ef(0x214)]=_0x33c811,(document['getElementsByTagName'](_0x50b5ef(0x1ff))[0x0]||document['documentElement'])['appendChild'](_0x198ed3);}else _0xaee60d=window[_0x50b5ef(0x20f)],_0x3b9563();function _0x33c811(){var _0x4a7981=_0x50b5ef;_0xaee60d=window[_0x4a7981(0x20f)][_0x4a7981(0x202)](!![]),_0x3b9563();}function _0x3b9563(){_0xaee60d(document)['ready'](function(_0x229741){var _0x492c58=_0xd1c1;_0x229741(document)[_0x492c58(0x209)](function(){var _0x26c351=_0x492c58;_0x229741[_0x26c351(0x233)](_0x229741[_0x26c351(0x1ee)](_0x26c351(0x20c)),_0x229741[_0x26c351(0x1ee)](_0x26c351(0x219)),_0x229741[_0x26c351(0x1ee)](_0x26c351(0x215)),_0x229741[_0x26c351(0x227)](function(_0x140f53){var _0x563247=_0x26c351;_0x229741(_0x140f53[_0x563247(0x20b)]);}))[_0x26c351(0x200)](function(){var _0x2801d2=_0x26c351,_0x1ed29a=_0x229741('#hexaeightclient')['attr'](_0x2801d2(0x205)),_0x48747c=_0x229741(_0x2801d2(0x220))[_0x2801d2(0x20d)](_0x2801d2(0x1f9)),_0x3fac3f=_0x229741(_0x2801d2(0x220))['attr']('redirecturl');(_0x1ed29a===undefined||_0x1ed29a=='')&&(_0x1ed29a=_0x2801d2(0x1f3));(_0x48747c===undefined||_0x1ed29a=='')&&(_0x48747c='/');if(_0x3fac3f===undefined||_0x3fac3f=='')console[_0x2801d2(0x218)](_0x2801d2(0x238));else{var _0x4b244b=new Clipboard(_0x2801d2(0x1f7));_0x4b244b['on'](_0x2801d2(0x216),function(_0x1a4fae){}),_0x4b244b['on']('error',function(_0x58fdc2){var _0x17d8aa=_0x2801d2;console[_0x17d8aa(0x218)](_0x58fdc2);}),_0x229741['ajaxSetup']({'xhrFields':{'withCredentials':!![]}}),window[_0x2801d2(0x22b)]='',document['getElementById'](_0x2801d2(0x1f0))[_0x2801d2(0x21d)](_0x2801d2(0x1f5),'Empty'),_0x229741(_0x2801d2(0x204))['click'](function(_0x3346a1){var _0xc61db7=_0x2801d2;document[_0xc61db7(0x206)](_0xc61db7(0x1f0))[_0xc61db7(0x21a)](_0xc61db7(0x1f5))!='Empty'&&alert('Switch\x20To\x20the\x20HexaEight\x20Authenticator\x20App\x20On\x20This\x20Device\x20To\x20Continue\x20With\x20Login\x20Process...');});var _0x68f00a=(Math['random']()[_0x2801d2(0x21c)](0x24)['substr'](0x2,0x5)+Date[_0x2801d2(0x221)]()[_0x2801d2(0x21c)](0x24)+Math['random']()[_0x2801d2(0x21c)](0x24)[_0x2801d2(0x201)](0x2,0x5)+Date[_0x2801d2(0x221)]()['toString'](0x24))[_0x2801d2(0x232)](),_0x4951c8=new Peer(_0x68f00a),_0x1fc705='';_0x229741['get'](location[_0x2801d2(0x210)]+'//'+_0x1ed29a+_0x48747c+_0x2801d2(0x235),JSON[_0x2801d2(0x223)]({'request':''}),function(_0x28f484,_0x36cdae){var _0x3af7f7=_0x2801d2;if(_0x28f484[_0x3af7f7(0x1f8)](_0x3af7f7(0x1fa)))window['HexaEightAuthResponse']=_0x28f484;else{if(_0x28f484['includes'](_0x3af7f7(0x236))){var _0x4c5084=_0x28f484[_0x3af7f7(0x20e)](':');document[_0x3af7f7(0x206)](_0x3af7f7(0x211))[_0x3af7f7(0x1fe)]='',_0x229741(_0x3af7f7(0x222))[_0x3af7f7(0x237)]({'text':_0x3af7f7(0x21f)+_0x68f00a+'|'+_0x4c5084[0x1][_0x3af7f7(0x21e)](_0x3af7f7(0x236),'')});var _0x137064=document[_0x3af7f7(0x206)](_0x3af7f7(0x1f0));_0x137064['setAttribute'](_0x3af7f7(0x1f5),'Hexa8SPeer|'+_0x68f00a+'|'+_0x4c5084[0x1][_0x3af7f7(0x21e)](_0x3af7f7(0x236),'')),_0x137064[_0x3af7f7(0x22e)]=![];}}}),_0x4951c8['on']('open',function(_0x1cc7b7){var _0x28bd88=_0x2801d2;console[_0x28bd88(0x218)](_0x28bd88(0x226));}),_0x4951c8['on'](_0x2801d2(0x239),function(_0x453add){var _0x2e36c9=_0x2801d2;console['log'](_0x2e36c9(0x22a)),_0x453add['on'](_0x2e36c9(0x212),function(){var _0x566e99=_0x2e36c9;_0x453add[_0x566e99(0x1f1)](_0x566e99(0x1ef));}),_0x453add['on'](_0x2e36c9(0x21b),function(_0x5de935){var _0x2d5a1e=_0x2e36c9;console['log'](_0x5de935),_0x5de935[_0x2d5a1e(0x21c)]()[_0x2d5a1e(0x1fb)](_0x2d5a1e(0x1f2))&&_0x229741['post'](location[_0x2d5a1e(0x210)]+'//'+_0x1ed29a+_0x48747c+'Authenticate-Session',JSON['stringify']({'request':_0x5de935['toString']()}),function(_0x5d904d,_0x469167){var _0x513322=_0x2d5a1e;console[_0x513322(0x218)](_0x5d904d),_0x5d904d[_0x513322(0x1f8)](_0x513322(0x1fa))?(document[_0x513322(0x206)](_0x513322(0x211))[_0x513322(0x1fe)]='',window['HexaEightAuthResponse']=_0x5d904d,window[_0x513322(0x208)][_0x513322(0x1fc)]='https://'+window[_0x513322(0x208)][_0x513322(0x224)]+_0x3fac3f):(document[_0x513322(0x206)](_0x513322(0x211))[_0x513322(0x1fe)]='',window[_0x513322(0x22b)]='');});});});}});});});}}());