passy
Version:
An offline password manager stored locally with CLI interaction
3 lines (2 loc) • 16.9 kB
JavaScript
const a1_0xb81c8a=a1_0x8e9c;(function(_0x592986,_0x29da99){const _0x2b7fe8=a1_0x8e9c,_0x4ee98d=_0x592986();while(!![]){try{const _0x2276c7=-parseInt(_0x2b7fe8(0x208))/0x1+-parseInt(_0x2b7fe8(0x213))/0x2*(-parseInt(_0x2b7fe8(0x20b))/0x3)+-parseInt(_0x2b7fe8(0x200))/0x4*(parseInt(_0x2b7fe8(0x1cf))/0x5)+parseInt(_0x2b7fe8(0x22c))/0x6*(-parseInt(_0x2b7fe8(0x234))/0x7)+-parseInt(_0x2b7fe8(0x1af))/0x8*(-parseInt(_0x2b7fe8(0x1b8))/0x9)+parseInt(_0x2b7fe8(0x1ec))/0xa*(parseInt(_0x2b7fe8(0x1d2))/0xb)+parseInt(_0x2b7fe8(0x1e9))/0xc;if(_0x2276c7===_0x29da99)break;else _0x4ee98d['push'](_0x4ee98d['shift']());}catch(_0x581236){_0x4ee98d['push'](_0x4ee98d['shift']());}}}(a1_0xdea8,0xb1a0a));const fs=require('fs'),path=require(a1_0xb81c8a(0x21d)),readline=require('readline'),crypto=require(a1_0xb81c8a(0x1fa)),sudoPrompt=require(a1_0xb81c8a(0x23f)),{encrypt,decrypt}=require(a1_0xb81c8a(0x1b6)),STORAGE_FILE=path['resolve'](__dirname,a1_0xb81c8a(0x227)),KEY_FILE=path[a1_0xb81c8a(0x1ac)](__dirname,a1_0xb81c8a(0x217)),rl=readline['createInterface']({'input':process[a1_0xb81c8a(0x23d)],'output':process[a1_0xb81c8a(0x1f3)]});function a1_0xdea8(){const _0x406a27=['YjBUU','Goodbye!','No\x20password\x20found\x20for\x20the\x20label:\x20','./encryptor','\x22\x20>\x20\x22','144tCUUGL','qHGrM','dbSpw','dwGaE','Choose\x20an\x20option:\x20','Encryption\x20key\x20not\x20initialized','QiFFt','qynBe','entries','AoioV','HjcjB','zDolH','AcATr','cbBru','mTqwf','AMKIa','SXypj','WXQea','question','existsSync','error','oneYK','DCjSP','1072805lSMKHb','oQSXL','GxVYp','1441374LVMOVF','brhWf','Found!\x20','Ulhsg','LXKLi','qIAMC','SmedT','hex','ZSuLx','randomBytes','MxDqb','ETVfJ','trim','SlsmZ','QKBvY','mpoze','vNkIp','iRNzI','vBnOL','fDpiM','echo\x20\x22','ayBBz','eiUKN','10063116nwQuEd','EdfoJ','yBIka','30WtGynU','exec','wQaTv','close','wfbVg','EalED','lMbAP','stdout','stringify','sVvFF','LqPDF','ZLVRP','HWZeY','xDqOr','crypto','VKdKW','JOLbr','ZTWQd','QClkv','log','4StdCxU','Failed\x20to\x20load\x20passwords:\x20','zNfbM','lSVVy','Invalid\x20option.\x20Please\x20try\x20again.','JRXLG','utf8','sXmym','1272508fjMsEA','Failed\x20to\x20save\x20passwords:\x20','nJWNK','119895DzqjOx','===\x20Stored\x20Passwords\x20===','aISDx','oSGaA','Failed\x20to\x20generate\x20encryption\x20key','message','IGiAv','slpSf','60PKmzzw','ZIFwQ','hqPeR','PKxIp','.encryption_key','cAuQi','writeFileSync','PRPmd','Enter\x20the\x20password:\x20','NBQwY','path','ubpbJ','jRnsb','rlKfl','ItUeU','parse','vRYXa','XtIsf','RRXxP','zIfMR','passwords.json','exit','AUYcW','xqPFQ','cat\x20\x22','12WVeBnw','\x0a\x20\x20\x20\x20██████╗\x20\x20█████╗\x20███████╗███████╗██╗\x20\x20\x20██╗\x0a\x20\x20\x20\x20██╔══██╗██╔══██╗██╔════╝██╔════╝╚██╗\x20██╔╝\x0a\x20\x20\x20\x20██████╔╝███████║███████╗███████╗\x20╚████╔╝\x20\x0a\x20\x20\x20\x20██╔═══╝\x20██╔══██║╚════██║╚════██║\x20\x20╚██╔╝\x20\x20\x0a\x20\x20\x20\x20██║\x20\x20\x20\x20\x20██║\x20\x20██║███████║███████║\x20\x20\x20██║\x20\x20\x20\x0a\x20\x20\x20\x20╚═╝\x20\x20\x20\x20\x20╚═╝\x20\x20╚═╝╚══════╝╚══════╝\x20\x20\x20╚═╝\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20Your\x20Offline\x20Password\x20Manager\x20–\x20Simple.\x20Secure.\x20Offline.\x0a==========================================================================================\x0a1.\x20Store\x20a\x20new\x20password\x0a2.\x20Retrieve\x20all\x20passwords\x0a3.\x20Search\x20for\x20a\x20password\x20by\x20label\x0a4.\x20Exit\x0a==========================================================================================\x0a\x20\x20\x20\x20','KxGoD','kGmjZ','WtRXT','Enter\x20the\x20label\x20to\x20search\x20for:\x20','Ahwmr','orLOX','1280041JHaXTK','toString','Failed\x20to\x20read\x20encryption\x20key','JAeEe','VMmhT','AsNro','xCzZU','tCTZc','IiBky','stdin','zcJwW','sudo-prompt','yCyye','UAyjP','resolve','TjvAS','Password\x20stored\x20successfully!','74856ICAHPU','QIXQh','Failed\x20to\x20initialize:\x20','ElrOZ'];a1_0xdea8=function(){return _0x406a27;};return a1_0xdea8();}let ENCRYPTION_KEY=null,IS_AUTHENTICATED=![];function a1_0x8e9c(_0x137c32,_0x7fba4a){const _0xdea8ef=a1_0xdea8();return a1_0x8e9c=function(_0x8e9cf6,_0x1a3ed8){_0x8e9cf6=_0x8e9cf6-0x1ab;let _0x39b129=_0xdea8ef[_0x8e9cf6];return _0x39b129;},a1_0x8e9c(_0x137c32,_0x7fba4a);}const getEncryptionKey=()=>{const _0x5b0c5d=a1_0xb81c8a,_0x4b01c0={'AsNro':function(_0xc69858,_0x133a6a){return _0xc69858!==_0x133a6a;},'ubpbJ':_0x5b0c5d(0x1f0),'VhEKF':function(_0x35c844,_0xe39e51){return _0x35c844(_0xe39e51);},'mTqwf':'Failed\x20to\x20generate\x20encryption\x20key','PKxIp':function(_0x266e31,_0x2c8874){return _0x266e31(_0x2c8874);},'fDpiM':_0x5b0c5d(0x1bd),'zcJwW':_0x5b0c5d(0x206),'SmedT':_0x5b0c5d(0x236),'aISDx':function(_0x436db1,_0x381b0b){return _0x436db1(_0x381b0b);},'MxDqb':function(_0x1f4c24){return _0x1f4c24();},'lSVVy':_0x5b0c5d(0x20c),'xqPFQ':'Passy','WXQea':_0x5b0c5d(0x214),'vRwuR':function(_0x553630,_0xa8acf2){return _0x553630===_0xa8acf2;},'eiUKN':_0x5b0c5d(0x1d3),'TyyNb':_0x5b0c5d(0x1c7),'sXmym':_0x5b0c5d(0x1d9),'ETVfJ':_0x5b0c5d(0x1d7),'oSGaA':_0x5b0c5d(0x229)};return new Promise((_0x1e4434,_0x49d8c0)=>{const _0x4f75fc=_0x5b0c5d,_0x3dcfc3={'VKdKW':_0x4b01c0[_0x4f75fc(0x1e5)],'vBnOL':_0x4b01c0[_0x4f75fc(0x23e)],'cAuQi':function(_0x44ab35,_0x3d9c51,_0x4e3819){return _0x44ab35(_0x3d9c51,_0x4e3819);},'hqPeR':_0x4b01c0[_0x4f75fc(0x1d8)],'SXypj':function(_0x43547b,_0x518e5f){const _0x338a04=_0x4f75fc;return _0x4b01c0[_0x338a04(0x20d)](_0x43547b,_0x518e5f);},'UAyjP':function(_0x57d65b){const _0x3fb321=_0x4f75fc;return _0x4b01c0[_0x3fb321(0x1dc)](_0x57d65b);},'SlsmZ':_0x4b01c0[_0x4f75fc(0x203)],'tCTZc':function(_0x264c99,_0x445b4b){return _0x4b01c0['AsNro'](_0x264c99,_0x445b4b);},'NBQwY':_0x4f75fc(0x225)},_0x1757f4={'name':_0x4b01c0[_0x4f75fc(0x22a)]};try{if(_0x4f75fc(0x202)!==_0x4b01c0[_0x4f75fc(0x1c9)]){if(!fs[_0x4f75fc(0x1cb)](KEY_FILE)){if(_0x4b01c0['vRwuR'](_0x4b01c0[_0x4f75fc(0x1e8)],_0x4b01c0['TyyNb'])){if(!_0x3dea93[_0x4f75fc(0x1cb)](_0x293752))return{};if(!_0x49c753)throw new _0x3bfae5(_0x3dcfc3[_0x4f75fc(0x1fb)]);const _0x2e1870=_0x295f4c['readFileSync'](_0x408823,_0x3dcfc3[_0x4f75fc(0x1e4)]),_0x3daabb=_0x3dcfc3[_0x4f75fc(0x218)](_0x2df127,_0x2e1870,_0x5b69cb);return _0x565f65['parse'](_0x3daabb);}else{const _0x50cafd=crypto[_0x4f75fc(0x1db)](0x20)[_0x4f75fc(0x235)](_0x4b01c0[_0x4f75fc(0x207)]);sudoPrompt[_0x4f75fc(0x1ed)](_0x4f75fc(0x1e6)+_0x50cafd+_0x4f75fc(0x1b7)+KEY_FILE+'\x22\x20&&\x20chmod\x200600\x20\x22'+KEY_FILE+'\x22',_0x1757f4,_0x213859=>{const _0x2abd4b=_0x4f75fc;_0x4b01c0[_0x2abd4b(0x239)](_0x4b01c0[_0x2abd4b(0x21e)],_0x4b01c0['ubpbJ'])?_0x211f24(new _0x43f790(_0x3dcfc3[_0x2abd4b(0x215)])):_0x213859?_0x4b01c0['VhEKF'](_0x49d8c0,new Error(_0x4b01c0[_0x2abd4b(0x1c6)])):(IS_AUTHENTICATED=!![],_0x4b01c0[_0x2abd4b(0x216)](_0x1e4434,_0x50cafd));});}}else sudoPrompt[_0x4f75fc(0x1ed)](_0x4f75fc(0x22b)+KEY_FILE+'\x22',_0x1757f4,(_0x4d3c21,_0x334f0c)=>{const _0x510418=_0x4f75fc;if(_0x3dcfc3[_0x510418(0x23b)](_0x510418(0x21f),'jRnsb'))_0x48a600?_0x3dcfc3[_0x510418(0x1c8)](_0x37b56,new _0x3528b3(_0x3dcfc3['hqPeR'])):(_0xc73145=!![],_0x57cecf(_0x5bbef8[_0x510418(0x1de)]()));else{if(_0x4d3c21){if(_0x3dcfc3[_0x510418(0x23b)](_0x3dcfc3['NBQwY'],_0x3dcfc3[_0x510418(0x21c)])){const _0x51d62c=_0x3dcfc3[_0x510418(0x1ab)](_0xb08a2d);_0x234ac4['log'](_0x3dcfc3[_0x510418(0x1df)]);for(const [_0x4181de,_0x1780a3]of _0x49e795[_0x510418(0x1c0)](_0x51d62c)){_0x83505['log'](_0x4181de+':\x20'+_0x1780a3);}_0xbb5dcb();}else _0x49d8c0(new Error(_0x3dcfc3[_0x510418(0x215)]));}else IS_AUTHENTICATED=!![],_0x1e4434(_0x334f0c[_0x510418(0x1de)]());}});}else _0x3ab545['error'](_0x4f75fc(0x1b1),_0x1bd950['message']),_0x45c6e7[_0x4f75fc(0x228)](0x1);}catch(_0x2c12f2){_0x4b01c0[_0x4f75fc(0x1dd)]===_0x4b01c0[_0x4f75fc(0x20e)]?_0x4b01c0[_0x4f75fc(0x216)](_0x5b82b8,_0x3fd821):_0x4b01c0['aISDx'](_0x49d8c0,_0x2c12f2);}});},loadPasswords=()=>{const _0x32ff5d=a1_0xb81c8a,_0x288249={'QKBvY':_0x32ff5d(0x224),'xvnUu':_0x32ff5d(0x1c2),'PRPmd':'Encryption\x20key\x20not\x20initialized','KxGoD':'utf8','LbhJA':function(_0x1948f4,_0x468509,_0x53e122){return _0x1948f4(_0x468509,_0x53e122);},'QYxyu':_0x32ff5d(0x23c)};try{if(!fs[_0x32ff5d(0x1cb)](STORAGE_FILE))return _0x288249[_0x32ff5d(0x1e0)]===_0x288249['xvnUu']?(_0x3d6d57[_0x32ff5d(0x1cc)](_0x32ff5d(0x201)+_0x19f2df[_0x32ff5d(0x210)]),{}):{};if(!ENCRYPTION_KEY)throw new Error(_0x288249[_0x32ff5d(0x21a)]);const _0x4c30b6=fs['readFileSync'](STORAGE_FILE,_0x288249[_0x32ff5d(0x22e)]),_0x58e326=_0x288249['LbhJA'](decrypt,_0x4c30b6,ENCRYPTION_KEY);return JSON[_0x32ff5d(0x222)](_0x58e326);}catch(_0x3f5954){if(_0x32ff5d(0x1b0)!==_0x288249['QYxyu'])return console['error'](_0x32ff5d(0x201)+_0x3f5954[_0x32ff5d(0x210)]),{};else _0x59d50f['question'](_0x32ff5d(0x231),_0x5138b9=>{const _0x2a0a24=_0x32ff5d,_0x161341=_0x16e352();_0x161341[_0x5138b9]?_0x231100['log'](_0x2a0a24(0x1d4)+_0x5138b9+':\x20'+_0x161341[_0x5138b9]):_0x4c6290[_0x2a0a24(0x1ff)](_0x2a0a24(0x1b5)+_0x5138b9),_0x15a0b7();});}},savePasswords=_0x5173fa=>{const _0x58fcd1=a1_0xb81c8a,_0x5b5760={'wQaTv':function(_0x19d8c3,_0x145b66){return _0x19d8c3(_0x145b66);},'nJWNK':_0x58fcd1(0x236),'QiFFt':function(_0x1640e4,_0xf6b7f){return _0x1640e4(_0xf6b7f);},'VTVVw':_0x58fcd1(0x20f),'LXKLi':function(_0x20ed52,_0x2972f9){return _0x20ed52===_0x2972f9;},'QClkv':_0x58fcd1(0x1f1),'JRXLG':function(_0x528842,_0x23e362){return _0x528842!==_0x23e362;},'qBDGO':_0x58fcd1(0x1cd),'yCyye':_0x58fcd1(0x1bd),'ZLVRP':function(_0x1d8f3c,_0x48f46c,_0x303f95){return _0x1d8f3c(_0x48f46c,_0x303f95);},'sVvFF':_0x58fcd1(0x206),'qynBe':function(_0x27c5a4,_0x212aa5){return _0x27c5a4===_0x212aa5;},'YlRax':'Oikax','ElrOZ':_0x58fcd1(0x221)};try{if(_0x5b5760[_0x58fcd1(0x1d6)](_0x5b5760[_0x58fcd1(0x1fe)],_0x5b5760[_0x58fcd1(0x1fe)])){if(!ENCRYPTION_KEY){if(_0x5b5760[_0x58fcd1(0x205)](_0x5b5760['qBDGO'],_0x58fcd1(0x1cd))){const _0x43a2a5=_0x1e8b7f();_0x43a2a5[_0x27bce2]?_0x4ce137['log']('Found!\x20'+_0x219856+':\x20'+_0x43a2a5[_0x533419]):_0x40c928[_0x58fcd1(0x1ff)](_0x58fcd1(0x1b5)+_0x2e8d80),_0x27cd52();}else throw new Error(_0x5b5760[_0x58fcd1(0x240)]);}const _0x4d7294=_0x5b5760[_0x58fcd1(0x1f7)](encrypt,JSON[_0x58fcd1(0x1f4)](_0x5173fa),ENCRYPTION_KEY);fs[_0x58fcd1(0x219)](STORAGE_FILE,_0x4d7294,_0x5b5760[_0x58fcd1(0x1f5)]);}else _0x383472[_0x58fcd1(0x1ed)](_0x58fcd1(0x22b)+_0xa1d4ed+'\x22',_0x51c1f4,(_0x4a74b8,_0x49054)=>{const _0x5e1cd7=_0x58fcd1;_0x4a74b8?_0x5b5760[_0x5e1cd7(0x1ee)](_0x540589,new _0x375530(_0x5b5760[_0x5e1cd7(0x20a)])):(_0x2360fc=!![],_0x5b5760[_0x5e1cd7(0x1be)](_0x44a047,_0x49054['trim']()));});}catch(_0x4573d7){_0x5b5760[_0x58fcd1(0x1bf)](_0x5b5760['YlRax'],_0x5b5760[_0x58fcd1(0x1b2)])?_0x3d6a73?_0x5b5760[_0x58fcd1(0x1ee)](_0x41f4ce,new _0x36feaf(_0x5b5760['VTVVw'])):(_0x2dfbcd=!![],_0x5b5760[_0x58fcd1(0x1ee)](_0x54d3fd,_0x4285d4)):console['error'](_0x58fcd1(0x209)+_0x4573d7[_0x58fcd1(0x210)]);}},showMenu=()=>{const _0x5ab05c=a1_0xb81c8a;console[_0x5ab05c(0x1ff)](_0x5ab05c(0x22d));},storePassword=()=>{const _0x513332=a1_0xb81c8a,_0xb77bde={'IGiAv':_0x513332(0x1bd),'xUtPO':function(_0x54f671,_0x74f52c,_0x281e9f){return _0x54f671(_0x74f52c,_0x281e9f);},'vRYXa':'utf8','JOLbr':function(_0x2547c8){return _0x2547c8();},'slpSf':_0x513332(0x1e3),'cQzOg':_0x513332(0x21b)};rl[_0x513332(0x1ca)]('Enter\x20a\x20label\x20for\x20the\x20password:\x20',_0x5cf328=>{const _0x86b599=_0x513332,_0x2be98c={'rlKfl':function(_0x550944,_0x35a8ee){return _0x550944(_0x35a8ee);},'zIfMR':_0x86b599(0x1ae),'USMnk':function(_0xdffd75){const _0x38d8c6=_0x86b599;return _0xb77bde[_0x38d8c6(0x1fc)](_0xdffd75);}};if('iRNzI'===_0xb77bde[_0x86b599(0x212)])rl[_0x86b599(0x1ca)](_0xb77bde['cQzOg'],_0x399da9=>{const _0x174adb=_0x86b599,_0xb3976c=loadPasswords();_0xb3976c[_0x5cf328]=_0x399da9,_0x2be98c[_0x174adb(0x220)](savePasswords,_0xb3976c),console[_0x174adb(0x1ff)](_0x2be98c[_0x174adb(0x226)]),_0x2be98c['USMnk'](main);});else try{if(!_0x4894ee)throw new _0x2cfb9d(_0xb77bde[_0x86b599(0x211)]);const _0x3a58ae=_0xb77bde['xUtPO'](_0x1b7b33,_0x106a13[_0x86b599(0x1f4)](_0x5cd9bf),_0x76fe1d);_0x91027d[_0x86b599(0x219)](_0x82147e,_0x3a58ae,_0xb77bde[_0x86b599(0x223)]);}catch(_0x13fbab){_0xc7a5b5['error'](_0x86b599(0x209)+_0x13fbab[_0x86b599(0x210)]);}});},retrievePasswords=()=>{const _0xc60c93=a1_0xb81c8a,_0x3cde90={'zDolH':function(_0x4b32eb){return _0x4b32eb();}},_0x1c1f26=_0x3cde90[_0xc60c93(0x1c3)](loadPasswords);console[_0xc60c93(0x1ff)](_0xc60c93(0x20c));for(const [_0xe2a003,_0x242770]of Object[_0xc60c93(0x1c0)](_0x1c1f26)){console['log'](_0xe2a003+':\x20'+_0x242770);}_0x3cde90[_0xc60c93(0x1c3)](main);},searchPassword=()=>{const _0x235f20=a1_0xb81c8a,_0x147851={'ZTWQd':function(_0x2e7e57){return _0x2e7e57();},'cbBru':_0x235f20(0x1ae),'vNkIp':_0x235f20(0x21b),'orLOX':function(_0xd2b722,_0x14310d){return _0xd2b722===_0x14310d;},'VwuEq':_0x235f20(0x231)};rl[_0x235f20(0x1ca)](_0x147851['VwuEq'],_0x45fdac=>{const _0x1337d2=_0x235f20,_0x3594b5={'kGmjZ':function(_0x49b9ed){const _0x344549=a1_0x8e9c;return _0x147851[_0x344549(0x1fd)](_0x49b9ed);},'DCjSP':function(_0x4844cb,_0xdd79eb){return _0x4844cb(_0xdd79eb);},'JAeEe':_0x147851[_0x1337d2(0x1c5)],'GxVYp':function(_0x20f435){return _0x20f435();},'Ahwmr':_0x147851[_0x1337d2(0x1e2)]},_0x337b82=_0x147851[_0x1337d2(0x1fd)](loadPasswords);if(_0x337b82[_0x45fdac])console[_0x1337d2(0x1ff)](_0x1337d2(0x1d4)+_0x45fdac+':\x20'+_0x337b82[_0x45fdac]);else{if(_0x147851[_0x1337d2(0x233)](_0x1337d2(0x1ba),'NaVrT')){const _0x489e67={'HWZeY':function(_0x271c8c){const _0x4c8f5c=_0x1337d2;return _0x3594b5[_0x4c8f5c(0x22f)](_0x271c8c);},'nLspr':function(_0x170113,_0x5015a4){const _0x350af8=_0x1337d2;return _0x3594b5[_0x350af8(0x1ce)](_0x170113,_0x5015a4);},'yBIka':_0x3594b5[_0x1337d2(0x237)],'xCzZU':function(_0x264666){const _0x4a9a8b=_0x1337d2;return _0x3594b5[_0x4a9a8b(0x1d1)](_0x264666);}};_0x43f3cb[_0x1337d2(0x1ca)](_0x3594b5[_0x1337d2(0x232)],_0x4f62f1=>{const _0x145f09=_0x1337d2,_0x32122e=_0x489e67[_0x145f09(0x1f8)](_0xce56c3);_0x32122e[_0x3c3cf2]=_0x4f62f1,_0x489e67['nLspr'](_0x2e6cef,_0x32122e),_0x4151a2[_0x145f09(0x1ff)](_0x489e67[_0x145f09(0x1eb)]),_0x489e67[_0x145f09(0x23a)](_0x2b5b2f);});}else console[_0x1337d2(0x1ff)]('No\x20password\x20found\x20for\x20the\x20label:\x20'+_0x45fdac);}main();});},main=async()=>{const _0x456d11=a1_0xb81c8a,_0x231248={'VMmhT':_0x456d11(0x1bd),'vezEt':function(_0x1f8c19,_0x57cbaa,_0x571008){return _0x1f8c19(_0x57cbaa,_0x571008);},'lMbAP':_0x456d11(0x206),'FTslh':_0x456d11(0x1e7),'ZSuLx':function(_0x544b35){return _0x544b35();},'TjvAS':function(_0x2f067c){return _0x2f067c();},'mpoze':_0x456d11(0x1b4),'vFrzR':function(_0x1b8291){return _0x1b8291();},'LqPDF':function(_0x8cc51e,_0x480b72){return _0x8cc51e===_0x480b72;},'AoioV':_0x456d11(0x1b9),'EdfoJ':_0x456d11(0x1d5),'AcATr':_0x456d11(0x1bc)};showMenu(),rl[_0x456d11(0x1ca)](_0x231248[_0x456d11(0x1c4)],async _0x26965d=>{const _0x582390=_0x456d11;try{if(_0x231248['FTslh']===_0x231248['FTslh'])switch(_0x26965d){case'1':_0x231248[_0x582390(0x1da)](storePassword);break;case'2':_0x231248[_0x582390(0x1ad)](retrievePasswords);break;case'3':searchPassword();break;case'4':console[_0x582390(0x1ff)](_0x231248[_0x582390(0x1e1)]),rl[_0x582390(0x1ef)]();break;default:console[_0x582390(0x1ff)](_0x582390(0x204)),_0x231248['vFrzR'](main);}else _0x10ceb2['log'](_0x582390(0x1d4)+_0x22e1f6+':\x20'+_0x6247f2[_0x40801e]);}catch(_0x138a48){if(_0x231248[_0x582390(0x1f6)](_0x231248[_0x582390(0x1c1)],_0x231248[_0x582390(0x1ea)])){if(!_0x17fa8f)throw new _0x13b534(_0x231248[_0x582390(0x238)]);const _0x245eb7=_0x231248['vezEt'](_0x581c29,_0x577c02['stringify'](_0x253511),_0x5cf3aa);_0x3db6de[_0x582390(0x219)](_0x2bf989,_0x245eb7,_0x231248[_0x582390(0x1f2)]);}else console[_0x582390(0x1cc)](_0x138a48['message']),rl[_0x582390(0x1ef)]();}});},initializeApp=async()=>{const _0x369677=a1_0xb81c8a,_0x169128={'WtRXT':function(_0x29221f,_0x33af18){return _0x29221f===_0x33af18;},'dwGaE':_0x369677(0x1f9),'oQSXL':function(_0x5cf5fe){return _0x5cf5fe();},'YjBUU':_0x369677(0x1b1)};try{_0x169128[_0x369677(0x230)](_0x169128[_0x369677(0x1bb)],_0x169128[_0x369677(0x1bb)])?(ENCRYPTION_KEY=await _0x169128[_0x369677(0x1d0)](getEncryptionKey),_0x169128[_0x369677(0x1d0)](main)):(_0x59757f[_0x369677(0x1cc)](_0x2dfcfa['message']),_0x35f0f7[_0x369677(0x1ef)]());}catch(_0x1b1540){console[_0x369677(0x1cc)](_0x169128[_0x369677(0x1b3)],_0x1b1540[_0x369677(0x210)]),process[_0x369677(0x228)](0x1);}};initializeApp();