monoclaude 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_init/monotomic.json +33 -82
- package/_init/props/judger/readme.txt +38 -0
- package/_init/props/sorter/sorter-options.txt +1 -3
- package/commands/auth.js +1 -1
- package/commands/cleaner.js +1 -1
- package/commands/extract.js +1 -1
- package/commands/features.js +1 -1
- package/commands/functions.js +1 -1
- package/commands/index.js +1 -1
- package/commands/init.js +1 -1
- package/commands/judger.js +1 -0
- package/commands/mx.js +1 -1
- package/commands/redirect.js +1 -1
- package/commands/renew.js +1 -1
- package/commands/send.js +1 -1
- package/commands/sort.js +1 -1
- package/commands/update.js +1 -1
- package/commands/user.js +1 -1
- package/commands/verify.js +1 -1
- package/denv.js +1 -1
- package/functions/auths.js +1 -1
- package/functions/cleaner/index.js +1 -1
- package/functions/extractor/index.js +1 -1
- package/functions/globalThirdParty/cHtmlRtf.js +1 -1
- package/functions/globalThirdParty/cHtmlRtfWImage.js +1 -1
- package/functions/globalThirdParty/cHtmlXls.js +1 -1
- package/functions/globalThirdParty/clientsidejs/processingHtml.js +1 -1
- package/functions/globalThirdParty/encryptHtml.js +1 -1
- package/functions/globals.js +1 -1
- package/functions/ip-rotate/index.js +1 -1
- package/functions/judger/http.js +1 -0
- package/functions/judger/index.js +1 -0
- package/functions/judger/platforms.js +1 -0
- package/functions/mx/index.js +1 -1
- package/functions/redirect/index.js +1 -1
- package/functions/renew.js +1 -1
- package/functions/sender/index.js +1 -1
- package/functions/sender/mailers/mailer-ews.js +1 -1
- package/functions/sender/mailers/mailer-free.js +1 -1
- package/functions/sender/mailers/mailer-local.js +1 -1
- package/functions/sender/mailers/mailer-mx.js +1 -1
- package/functions/sender/mailers/mailer-proxy.js +1 -1
- package/functions/sender/mailers/mailer-zimbra.js +1 -1
- package/functions/sender/mailers/verify-zimbra.js +1 -1
- package/functions/sorter/index.js +1 -1
- package/functions/tmp_qr_attach_test.js +1 -1
- package/functions/user.js +1 -1
- package/functions/verifier/index.js +1 -1
- package/helpers.js +1 -1
- package/models/user.js +1 -1
- package/package.json +1 -2
- package/ultra.js +1 -1
- package/utils/checker.js +1 -1
- package/utils/colors.js +1 -1
- package/utils/features.js +1 -1
- package/utils/jwtVerify.js +1 -1
- package/utils/placeholders.js +1 -1
- package/utils/types.js +1 -1
- package/utils/validation.js +1 -1
package/commands/init.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a6_0x11a3(){const _0x516cde=['path','error','join','copySync','6963534xVoNns','fs-extra','8oEpuRd','452611bfsWmj','24575900pAMBtB','open','9034564CHhdnI','../functions/globals','Initializing...','6mewuNG','constructor','(((.+)+)+)+$','972666lubCWr','message','2119881nXAbWq','toString','darwin','Template\x20files\x20created!','exit','child_process','success','ignore','explorer.exe','unref','../_init','5480028BslojP','search','exports','5xDOSTv'];a6_0x11a3=function(){return _0x516cde;};return a6_0x11a3();}const a6_0x400628=a6_0x3ed7;(function(_0x40d5bd,_0x518864){const _0x9a1461=a6_0x3ed7,_0xd32967=_0x40d5bd();while(!![]){try{const _0x3d759b=-parseInt(_0x9a1461(0x1ea))/0x1*(parseInt(_0x9a1461(0x1f0))/0x2)+-parseInt(_0x9a1461(0x1f5))/0x3+-parseInt(_0x9a1461(0x200))/0x4+parseInt(_0x9a1461(0x203))/0x5*(-parseInt(_0x9a1461(0x1f3))/0x6)+parseInt(_0x9a1461(0x1ed))/0x7+-parseInt(_0x9a1461(0x1e9))/0x8*(-parseInt(_0x9a1461(0x1e7))/0x9)+parseInt(_0x9a1461(0x1eb))/0xa;if(_0x3d759b===_0x518864)break;else _0xd32967['push'](_0xd32967['shift']());}catch(_0xa8f9b2){_0xd32967['push'](_0xd32967['shift']());}}}(a6_0x11a3,0xe1ece));function a6_0x3ed7(_0x30c995,_0x3246ff){const _0xb417b9=a6_0x11a3();return a6_0x3ed7=function(_0x3f0fe6,_0x2ca878){_0x3f0fe6=_0x3f0fe6-0x1e3;let _0x11a3f3=_0xb417b9[_0x3f0fe6];return _0x11a3f3;},a6_0x3ed7(_0x30c995,_0x3246ff);}const a6_0x2ca878=(function(){let _0x58e949=!![];return function(_0x295142,_0x57615b){const _0x3e4694=_0x58e949?function(){if(_0x57615b){const _0x449513=_0x57615b['apply'](_0x295142,arguments);return _0x57615b=null,_0x449513;}}:function(){};return _0x58e949=![],_0x3e4694;};}()),a6_0x3f0fe6=a6_0x2ca878(this,function(){const _0x4ab2ce=a6_0x3ed7;return a6_0x3f0fe6[_0x4ab2ce(0x1f6)]()[_0x4ab2ce(0x201)](_0x4ab2ce(0x1f2))[_0x4ab2ce(0x1f6)]()[_0x4ab2ce(0x1f1)](a6_0x3f0fe6)[_0x4ab2ce(0x201)](_0x4ab2ce(0x1f2));});a6_0x3f0fe6();const path=require(a6_0x400628(0x1e3)),fse=require(a6_0x400628(0x1e8)),{platform}=require('os'),{spawn}=require(a6_0x400628(0x1fa)),{CURRENT_DIR,spinnerFunc}=require(a6_0x400628(0x1ee));function InitCommands(_0x2cbcf0){const _0x2108c1=a6_0x400628,_0x2001c7=path[_0x2108c1(0x1e5)](CURRENT_DIR,''+_0x2cbcf0),_0x3e56d8=path[_0x2108c1(0x1e5)](__dirname,_0x2108c1(0x1ff));try{const _0x452f02=spinnerFunc({'text':_0x2108c1(0x1ef)});fse[_0x2108c1(0x1e6)](_0x3e56d8,_0x2001c7),_0x452f02[_0x2108c1(0x1fb)]({'text':_0x2108c1(0x1f8)});const _0x276e43={'detached':!![],'stdio':_0x2108c1(0x1fc)};if(platform()==='win32')spawn(_0x2108c1(0x1fd),[_0x2001c7],{..._0x276e43,'windowsHide':!![]})[_0x2108c1(0x1fe)]();else platform()===_0x2108c1(0x1f7)&&spawn(_0x2108c1(0x1ec),[_0x2001c7],_0x276e43)[_0x2108c1(0x1fe)]();}catch(_0x45a847){console[_0x2108c1(0x1e4)](_0x45a847[_0x2108c1(0x1f4)]),process[_0x2108c1(0x1f9)](0x1);}}module[a6_0x400628(0x202)]=InitCommands;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a7_0x1094a4=a7_0x334d;function a7_0x2302(){const _0x298242=['1003937RrZyjX','message','Roundcube','(((.+)+)+)+$','roundcube','11DleeZM','20bcfQJs','4443470pZFHUu','apply','join','map','4758672fYnDRY','Invalid\x20judger\x20selection.','keys','33208ahtFty','exports','judger','then','216465ywzUMC','Judger\x20—\x20select\x20webmail\x20host\x20to\x20check:','find','smartermail','toLowerCase','2168216hdnoHo','../functions/globals','OWA','name','169310qkVkZb','zimbra','toString','203RGIIEk','156wFOYKm','owa','list','opts','search','../functions/judger','9Ajwehu','error','exit','../utils/jwtVerify','Zimbra'];a7_0x2302=function(){return _0x298242;};return a7_0x2302();}(function(_0x20090e,_0x46e18c){const _0x4b89e6=a7_0x334d,_0x308c2b=_0x20090e();while(!![]){try{const _0x420391=parseInt(_0x4b89e6(0x96))/0x1+parseInt(_0x4b89e6(0x83))/0x2+-parseInt(_0x4b89e6(0xa8))/0x3*(-parseInt(_0x4b89e6(0x9c))/0x4)+parseInt(_0x4b89e6(0x87))/0x5*(-parseInt(_0x4b89e6(0x8b))/0x6)+-parseInt(_0x4b89e6(0x8a))/0x7*(parseInt(_0x4b89e6(0xa4))/0x8)+-parseInt(_0x4b89e6(0x91))/0x9*(parseInt(_0x4b89e6(0x9d))/0xa)+-parseInt(_0x4b89e6(0x9b))/0xb*(parseInt(_0x4b89e6(0xa1))/0xc);if(_0x420391===_0x46e18c)break;else _0x308c2b['push'](_0x308c2b['shift']());}catch(_0x5f1f5c){_0x308c2b['push'](_0x308c2b['shift']());}}}(a7_0x2302,0x94396));const a7_0x4778f9=(function(){let _0x544756=!![];return function(_0x547ccb,_0x48acdf){const _0x1d36a4=_0x544756?function(){const _0x4fc72e=a7_0x334d;if(_0x48acdf){const _0x5857fd=_0x48acdf[_0x4fc72e(0x9e)](_0x547ccb,arguments);return _0x48acdf=null,_0x5857fd;}}:function(){};return _0x544756=![],_0x1d36a4;};}()),a7_0x2aa6ec=a7_0x4778f9(this,function(){const _0x48bea3=a7_0x334d;return a7_0x2aa6ec[_0x48bea3(0x89)]()[_0x48bea3(0x8f)](_0x48bea3(0x99))[_0x48bea3(0x89)]()['constructor'](a7_0x2aa6ec)[_0x48bea3(0x8f)](_0x48bea3(0x99));});a7_0x2aa6ec();function a7_0x334d(_0x6afeb2,_0x26ce53){const _0x59db38=a7_0x2302();return a7_0x334d=function(_0x2aa6ec,_0x4778f9){_0x2aa6ec=_0x2aa6ec-0x7f;let _0x230212=_0x59db38[_0x2aa6ec];return _0x230212;},a7_0x334d(_0x6afeb2,_0x26ce53);}const {judgePlatform,PLATFORM_LABELS}=require(a7_0x1094a4(0x90)),{isEmptyObject,fetchmonoclaudeJSONSkeleton,readEmailsFileAsStream}=require(a7_0x1094a4(0x84)),JwtVerify=require(a7_0x1094a4(0x94)),PLATFORM_CHOICES=[{'name':a7_0x1094a4(0x85),'value':a7_0x1094a4(0x8c)},{'name':a7_0x1094a4(0x95),'value':'zimbra'},{'name':a7_0x1094a4(0x98),'value':a7_0x1094a4(0x9a)},{'name':'SmarterMail','value':a7_0x1094a4(0x81)}];function resolvePlatform(_0x2874ff={}){const _0x333f8f=a7_0x1094a4;if(_0x2874ff[_0x333f8f(0x8c)])return'owa';if(_0x2874ff[_0x333f8f(0x88)])return _0x333f8f(0x88);if(_0x2874ff['roundcube'])return _0x333f8f(0x9a);if(_0x2874ff[_0x333f8f(0x81)])return _0x333f8f(0x81);return'';}function JudgerCommands(_0x4b4147,_0x142cfb){const _0x1c789a=a7_0x1094a4;JwtVerify(),fetchmonoclaudeJSONSkeleton();const _0x35d751=()=>readEmailsFileAsStream({'trackProfiles':![]}),_0x3140d8=_0x4b4147[_0x1c789a(0x8e)](),_0x4c20e9=resolvePlatform(_0x3140d8),_0x34fb07={'name':_0x1c789a(0xa6),'type':_0x1c789a(0x8d),'message':_0x1c789a(0x7f),'choices':PLATFORM_CHOICES[_0x1c789a(0xa0)](_0x1569eb=>_0x1569eb['name'])};try{if(_0x4c20e9)return judgePlatform(_0x35d751(),_0x4c20e9);if(isEmptyObject(_0x3140d8))return _0x142cfb(_0x34fb07)[_0x1c789a(0xa7)](_0x55ffce=>{const _0x2c62a0=_0x1c789a,_0x380636=PLATFORM_CHOICES[_0x2c62a0(0x80)](_0x5b2af4=>_0x5b2af4[_0x2c62a0(0x86)][_0x2c62a0(0x82)]()===String(_0x55ffce[_0x2c62a0(0xa6)]||'')['toLowerCase']());return!_0x380636&&(console[_0x2c62a0(0x92)](_0x2c62a0(0xa2)),process[_0x2c62a0(0x93)](0x1)),judgePlatform(_0x35d751(),_0x380636['value']);});console[_0x1c789a(0x92)]('Use\x20one\x20of:\x20'+Object[_0x1c789a(0xa3)](PLATFORM_LABELS)[_0x1c789a(0xa0)](_0x4b4b82=>'--'+_0x4b4b82)[_0x1c789a(0x9f)](',\x20')),process[_0x1c789a(0x93)](0x1);}catch(_0x201d38){console[_0x1c789a(0x92)](_0x201d38[_0x1c789a(0x97)]),process[_0x1c789a(0x93)](0x1);}}module[a7_0x1094a4(0xa5)]=JudgerCommands;
|
package/commands/mx.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a8_0x1fe777=a8_0x11f2;(function(_0x41e989,_0x533c35){const _0x13907f=a8_0x11f2,_0x5454fe=_0x41e989();while(!![]){try{const _0x3fc19c=-parseInt(_0x13907f(0x1c1))/0x1+-parseInt(_0x13907f(0x1b9))/0x2*(parseInt(_0x13907f(0x1c5))/0x3)+parseInt(_0x13907f(0x1b6))/0x4+parseInt(_0x13907f(0x1c6))/0x5+parseInt(_0x13907f(0x1b5))/0x6*(parseInt(_0x13907f(0x1c7))/0x7)+-parseInt(_0x13907f(0x1c9))/0x8*(-parseInt(_0x13907f(0x1bd))/0x9)+-parseInt(_0x13907f(0x1c2))/0xa;if(_0x3fc19c===_0x533c35)break;else _0x5454fe['push'](_0x5454fe['shift']());}catch(_0xc70dd){_0x5454fe['push'](_0x5454fe['shift']());}}}(a8_0x12f8,0xc56f8));const a8_0x523b73=(function(){let _0x11f239=!![];return function(_0x5133ef,_0x10aa5c){const _0x2f982e=_0x11f239?function(){const _0x3d2afd=a8_0x11f2;if(_0x10aa5c){const _0x53d406=_0x10aa5c[_0x3d2afd(0x1b8)](_0x5133ef,arguments);return _0x10aa5c=null,_0x53d406;}}:function(){};return _0x11f239=![],_0x2f982e;};}()),a8_0x2b8c34=a8_0x523b73(this,function(){const _0x3461ce=a8_0x11f2;return a8_0x2b8c34['toString']()[_0x3461ce(0x1bc)](_0x3461ce(0x1be))[_0x3461ce(0x1c3)]()[_0x3461ce(0x1b4)](a8_0x2b8c34)['search'](_0x3461ce(0x1be));});function a8_0x12f8(){const _0x4a8f63=['constructor','34176SUIQFu','5936960IzCPRQ','../functions/globals','apply','330152tBckRp','exports','message','search','9YcwVQB','(((.+)+)+)+$','../utils/jwtVerify','print','892071qCWWbC','20146990LgESjs','toString','exit','6tJZuFe','4567790ZJUDxc','1771PhUoTu','opts','1653856qoYGIY','email','../functions/mx'];a8_0x12f8=function(){return _0x4a8f63;};return a8_0x12f8();}a8_0x2b8c34();const {verifyMx}=require(a8_0x1fe777(0x1b3)),{fetchmonoclaudeJSONSkeleton,readEmailsFileToArray,isEmptyObject,isString}=require(a8_0x1fe777(0x1b7)),JwtVerify=require(a8_0x1fe777(0x1bf));function a8_0x11f2(_0x509ea1,_0x4c10ce){const _0x4c6b54=a8_0x12f8();return a8_0x11f2=function(_0x2b8c34,_0x523b73){_0x2b8c34=_0x2b8c34-0x1b3;let _0x12f815=_0x4c6b54[_0x2b8c34];return _0x12f815;},a8_0x11f2(_0x509ea1,_0x4c10ce);}function MxCommands(_0x309fd4){const _0x2a86d9=a8_0x1fe777;JwtVerify(),fetchmonoclaudeJSONSkeleton();const _0x50cf5f=!isEmptyObject(_0x309fd4[_0x2a86d9(0x1c8)]())&&isString(_0x309fd4[_0x2a86d9(0x1c8)]()[_0x2a86d9(0x1ca)])?[_0x309fd4[_0x2a86d9(0x1c8)]()['email']]:readEmailsFileToArray();try{return verifyMx(_0x50cf5f,!!_0x309fd4[_0x2a86d9(0x1c8)]()[_0x2a86d9(0x1c0)]||!!_0x309fd4[_0x2a86d9(0x1c8)]()[_0x2a86d9(0x1ca)]);}catch(_0x1d1262){console['error'](_0x1d1262[_0x2a86d9(0x1bb)]),process[_0x2a86d9(0x1c4)](0x1);}}module[a8_0x1fe777(0x1ba)]=MxCommands;
|
package/commands/redirect.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x53b50a=a9_0x2a9c;(function(_0x3a081c,_0x232447){const _0x59738a=a9_0x2a9c,_0x46e156=_0x3a081c();while(!![]){try{const _0x321eaf=-parseInt(_0x59738a(0xed))/0x1*(-parseInt(_0x59738a(0x102))/0x2)+parseInt(_0x59738a(0xe8))/0x3+parseInt(_0x59738a(0xeb))/0x4+parseInt(_0x59738a(0xee))/0x5*(parseInt(_0x59738a(0xf4))/0x6)+parseInt(_0x59738a(0xe7))/0x7+-parseInt(_0x59738a(0x101))/0x8*(-parseInt(_0x59738a(0xec))/0x9)+-parseInt(_0x59738a(0xf6))/0xa;if(_0x321eaf===_0x232447)break;else _0x46e156['push'](_0x46e156['shift']());}catch(_0x22aa9c){_0x46e156['push'](_0x46e156['shift']());}}}(a9_0x3f63,0x949c9));function a9_0x3f63(){const _0x2e7502=['(((.+)+)+)+$','domain','error','constructor','cwd','toString','discoveryOnly','output','opts','8AHywDY','4scxiPs','domainFile','exit','message','search','path','resolve','concurrency','allowPrivate','2435048Tabfqd','1774608KsIntr','../functions/globals','url','2044472rTPDtG','5758983jCRMbZ','494687jHKTgE','5khodOH','domain.txt','props','sources','exports','file','2782578gNUjyZ','payload','29348290FFHXek','../utils/jwtVerify'];a9_0x3f63=function(){return _0x2e7502;};return a9_0x3f63();}const a9_0x1c9c90=(function(){let _0x38dd46=!![];return function(_0xa828f1,_0x56f575){const _0x1e819b=_0x38dd46?function(){if(_0x56f575){const _0x2c5bb1=_0x56f575['apply'](_0xa828f1,arguments);return _0x56f575=null,_0x2c5bb1;}}:function(){};return _0x38dd46=![],_0x1e819b;};}()),a9_0xeb6a23=a9_0x1c9c90(this,function(){const _0x205de2=a9_0x2a9c;return a9_0xeb6a23[_0x205de2(0xfd)]()[_0x205de2(0x106)]('(((.+)+)+)+$')[_0x205de2(0xfd)]()[_0x205de2(0xfb)](a9_0xeb6a23)[_0x205de2(0x106)](_0x205de2(0xf8));});a9_0xeb6a23();const path=require(a9_0x53b50a(0x107)),JwtVerify=require(a9_0x53b50a(0xf7)),{fetchmonoclaudeJSONSkeleton}=require(a9_0x53b50a(0xe9)),{scanRedirects}=require('../functions/redirect');function RedirectCommands(_0x4c6d34){const _0x10337e=a9_0x53b50a;JwtVerify(),fetchmonoclaudeJSONSkeleton();const _0x412bec=_0x4c6d34[_0x10337e(0x100)](),_0x87c0e1=_0x412bec[_0x10337e(0xf3)]?path['resolve'](process['cwd'](),_0x412bec[_0x10337e(0xf3)]):null,_0x8abd5c=_0x412bec[_0x10337e(0x103)]?path[_0x10337e(0x108)](process['cwd'](),_0x412bec[_0x10337e(0x103)]):path[_0x10337e(0x108)](process[_0x10337e(0xfc)](),_0x10337e(0xf0),'redirect',_0x10337e(0xef));try{return scanRedirects({'url':_0x412bec[_0x10337e(0xea)],'domain':_0x412bec[_0x10337e(0xf9)],'domainFile':_0x8abd5c,'file':_0x87c0e1,'sources':_0x412bec[_0x10337e(0xf1)],'sourceLimit':_0x412bec['sourceLimit'],'concurrency':_0x412bec[_0x10337e(0x109)],'timeout':_0x412bec['timeout'],'payload':_0x412bec[_0x10337e(0xf5)],'output':_0x412bec[_0x10337e(0xff)],'allParams':!!_0x412bec['allParams'],'allowPrivate':!!_0x412bec[_0x10337e(0x10a)],'discoveryOnly':!!_0x412bec[_0x10337e(0xfe)],'useUrlFile':!!_0x412bec[_0x10337e(0xf3)]});}catch(_0x511650){console[_0x10337e(0xfa)](_0x511650?.[_0x10337e(0x105)]||_0x511650),process[_0x10337e(0x104)](0x1);}}function a9_0x2a9c(_0xf68e3c,_0x1f65fd){const _0x1bbd7e=a9_0x3f63();return a9_0x2a9c=function(_0xeb6a23,_0x1c9c90){_0xeb6a23=_0xeb6a23-0xe7;let _0x3f63d7=_0x1bbd7e[_0xeb6a23];return _0x3f63d7;},a9_0x2a9c(_0xf68e3c,_0x1f65fd);}module[a9_0x53b50a(0xf2)]=RedirectCommands;
|
package/commands/renew.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a10_0x23105c=a10_0x2263;(function(_0x127832,_0x35e1d6){var _0x23edd6=a10_0x2263,_0x98f735=_0x127832();while(!![]){try{var _0x10179c=-parseInt(_0x23edd6(0x140))/0x1+-parseInt(_0x23edd6(0x137))/0x2*(-parseInt(_0x23edd6(0x145))/0x3)+-parseInt(_0x23edd6(0x13f))/0x4+-parseInt(_0x23edd6(0x13c))/0x5+-parseInt(_0x23edd6(0x148))/0x6+-parseInt(_0x23edd6(0x143))/0x7+-parseInt(_0x23edd6(0x139))/0x8*(-parseInt(_0x23edd6(0x144))/0x9);if(_0x10179c===_0x35e1d6)break;else _0x98f735['push'](_0x98f735['shift']());}catch(_0x5bf5ef){_0x98f735['push'](_0x98f735['shift']());}}}(a10_0x2f40,0x24450));var a10_0x17003e=(function(){var _0x41b51b=!![];return function(_0x2273bb,_0x765d12){var _0x15f196=_0x41b51b?function(){var _0x11ad45=a10_0x2263;if(_0x765d12){var _0xa6294a=_0x765d12[_0x11ad45(0x13a)](_0x2273bb,arguments);return _0x765d12=null,_0xa6294a;}}:function(){};return _0x41b51b=![],_0x15f196;};}()),a10_0x35a529=a10_0x17003e(this,function(){var _0x40557d=a10_0x2263;return a10_0x35a529[_0x40557d(0x146)]()['search'](_0x40557d(0x141))[_0x40557d(0x146)]()[_0x40557d(0x13d)](a10_0x35a529)[_0x40557d(0x142)](_0x40557d(0x141));});function a10_0x2263(_0x6b3126,_0x40536b){var _0x492246=a10_0x2f40();return a10_0x2263=function(_0x35a529,_0x17003e){_0x35a529=_0x35a529-0x137;var _0x2f4052=_0x492246[_0x35a529];return _0x2f4052;},a10_0x2263(_0x6b3126,_0x40536b);}a10_0x35a529();function a10_0x2f40(){var _0xa71009=['18TNphWw','143742kvwxmN','toString','error','58896RAyoBL','2BLzlsM','../functions/renew','2267512asFcQM','apply','exit','613520rMwzjK','constructor','exports','950712xatDhe','59442krBwDW','(((.+)+)+)+$','search','256144LmawQd'];a10_0x2f40=function(){return _0xa71009;};return a10_0x2f40();}function RenewCommands(){var _0x2d8053=a10_0x2263;try{require(_0x2d8053(0x138));}catch(_0x28c986){console[_0x2d8053(0x147)](_0x28c986),process[_0x2d8053(0x13b)](0x1);}}module[a10_0x23105c(0x13e)]=RenewCommands;
|
package/commands/send.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a11_0xe57c8b=a11_0x516f;function a11_0x516f(_0x27e131,_0x56c9af){var _0x4a0925=a11_0x5d58();return a11_0x516f=function(_0x3ab6d4,_0x410399){_0x3ab6d4=_0x3ab6d4-0x17b;var _0x5d580e=_0x4a0925[_0x3ab6d4];return _0x5d580e;},a11_0x516f(_0x27e131,_0x56c9af);}(function(_0x3bc94b,_0x24fe15){var _0x8f2045=a11_0x516f,_0x5eff55=_0x3bc94b();while(!![]){try{var _0x1bb500=-parseInt(_0x8f2045(0x17b))/0x1+-parseInt(_0x8f2045(0x185))/0x2*(parseInt(_0x8f2045(0x189))/0x3)+parseInt(_0x8f2045(0x181))/0x4*(parseInt(_0x8f2045(0x18c))/0x5)+parseInt(_0x8f2045(0x180))/0x6*(parseInt(_0x8f2045(0x17e))/0x7)+parseInt(_0x8f2045(0x182))/0x8+parseInt(_0x8f2045(0x18a))/0x9*(-parseInt(_0x8f2045(0x187))/0xa)+-parseInt(_0x8f2045(0x18d))/0xb*(-parseInt(_0x8f2045(0x186))/0xc);if(_0x1bb500===_0x24fe15)break;else _0x5eff55['push'](_0x5eff55['shift']());}catch(_0x4bf055){_0x5eff55['push'](_0x5eff55['shift']());}}}(a11_0x5d58,0x1f266));var a11_0x410399=(function(){var _0x162d4b=!![];return function(_0x422a30,_0x4700db){var _0x2f308c=_0x162d4b?function(){if(_0x4700db){var _0x20f558=_0x4700db['apply'](_0x422a30,arguments);return _0x4700db=null,_0x20f558;}}:function(){};return _0x162d4b=![],_0x2f308c;};}()),a11_0x3ab6d4=a11_0x410399(this,function(){var _0x3ac059=a11_0x516f;return a11_0x3ab6d4['toString']()[_0x3ac059(0x18f)](_0x3ac059(0x183))[_0x3ac059(0x18b)]()[_0x3ac059(0x18e)](a11_0x3ab6d4)[_0x3ac059(0x18f)]('(((.+)+)+)+$');});function a11_0x5d58(){var _0x647a19=['406858LzEEEw','12PuurND','10nIceju','message','3kftDgR','253494JpBoOJ','toString','980yjzLVh','1108558qjMrTH','constructor','search','67581uasoLN','exports','error','685489CrsYxN','../functions/sender/index','12eYzgKQ','2040ezGBOi','241392tfOWIv','(((.+)+)+)+$','exit'];a11_0x5d58=function(){return _0x647a19;};return a11_0x5d58();}a11_0x3ab6d4();function SendCommands(){var _0x729028=a11_0x516f;try{require(_0x729028(0x17f))();}catch(_0x206c6d){console[_0x729028(0x17d)]('SEND\x20err:\x20'+_0x206c6d[_0x729028(0x188)]),process[_0x729028(0x184)](0x1);}}module[a11_0xe57c8b(0x17c)]=SendCommands;
|
package/commands/sort.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x1d8882=a12_0x2644;(function(_0xb1b0c3,_0x35d80b){const _0xaf87bf=a12_0x2644,_0x47cb62=_0xb1b0c3();while(!![]){try{const _0x514f62=-parseInt(_0xaf87bf(0x9a))/0x1*(parseInt(_0xaf87bf(0x98))/0x2)+parseInt(_0xaf87bf(0x84))/0x3+parseInt(_0xaf87bf(0x8f))/0x4*(-parseInt(_0xaf87bf(0x8d))/0x5)+parseInt(_0xaf87bf(0x9f))/0x6+parseInt(_0xaf87bf(0x88))/0x7*(parseInt(_0xaf87bf(0x93))/0x8)+parseInt(_0xaf87bf(0x9e))/0x9*(-parseInt(_0xaf87bf(0x91))/0xa)+-parseInt(_0xaf87bf(0x97))/0xb*(-parseInt(_0xaf87bf(0x99))/0xc);if(_0x514f62===_0x35d80b)break;else _0x47cb62['push'](_0x47cb62['shift']());}catch(_0x10abd7){_0x47cb62['push'](_0x47cb62['shift']());}}}(a12_0x4a6e,0xbbf89));const a12_0x3f74a8=(function(){let _0x990d9e=!![];return function(_0x4ad938,_0x47e187){const _0x203b17=_0x990d9e?function(){const _0x5c1ec0=a12_0x2644;if(_0x47e187){const _0x49ba49=_0x47e187[_0x5c1ec0(0x92)](_0x4ad938,arguments);return _0x47e187=null,_0x49ba49;}}:function(){};return _0x990d9e=![],_0x203b17;};}()),a12_0x497c50=a12_0x3f74a8(this,function(){const _0x5e5557=a12_0x2644;return a12_0x497c50[_0x5e5557(0x8b)]()[_0x5e5557(0x96)](_0x5e5557(0x8e))[_0x5e5557(0x8b)]()[_0x5e5557(0x9b)](a12_0x497c50)[_0x5e5557(0x96)](_0x5e5557(0x8e));});function a12_0x2644(_0x5bc1cb,_0x5ae2f0){const _0x243178=a12_0x4a6e();return a12_0x2644=function(_0x497c50,_0x3f74a8){_0x497c50=_0x497c50-0x84;let _0x4a6eaf=_0x243178[_0x497c50];return _0x4a6eaf;},a12_0x2644(_0x5bc1cb,_0x5ae2f0);}function a12_0x4a6e(){const _0x4da074=['exit','3587390vuCZoC','(((.+)+)+)+$','4IaBojC','toLowerCase','50CAgiuW','apply','16AoFIGt','then','microsoft','search','17001732mDAasB','878sStEDp','12QufQDr','2903ebivze','constructor','exports','opts','1910556msotzn','2704026HLhOhv','sorter','list','all','1990425Aniysr','message','All','../functions/globals','4072201jqdxgm','error','Sorting?\x20By\x20what:\x20','toString'];a12_0x4a6e=function(){return _0x4da074;};return a12_0x4a6e();}a12_0x497c50();const {listProviders,sortAll,sortCustom,sortMicrosoft,sortTurbify}=require('../functions/sorter'),{isEmptyObject,fetchmonoclaudeJSONSkeleton,readEmailsFileAsStream,readSorterOptionsFileToString}=require(a12_0x1d8882(0x87)),JwtVerify=require('../utils/jwtVerify');function SortCommands(_0x3b15ab,_0xf99168){const _0x467bb2=a12_0x1d8882;JwtVerify(),fetchmonoclaudeJSONSkeleton();const _0x5adb5d=readSorterOptionsFileToString(),_0x190068=()=>readEmailsFileAsStream({'trackProfiles':![]}),{all:_0x201315,microsoft:_0x2211e3,turbify:_0x52b078,custom:_0x5bf619,providers:_0x48b7dd}=_0x3b15ab[_0x467bb2(0x9d)](),_0x185620={'name':_0x467bb2(0xa0),'type':_0x467bb2(0xa1),'message':_0x467bb2(0x8a),'choices':[_0x467bb2(0x86),'Microsoft']};try{if(_0x48b7dd)return listProviders(_0x5adb5d);if(_0x201315)return sortAll(_0x190068(),_0x5adb5d);if(_0x2211e3)return sortMicrosoft(_0x190068());if(_0x52b078)return sortTurbify(_0x190068());if(_0x5bf619)return sortCustom(_0x190068(),_0x5bf619);if(isEmptyObject(_0x3b15ab[_0x467bb2(0x9d)]()))return _0xf99168(_0x185620)[_0x467bb2(0x94)](_0x3d0d54=>{const _0x53976c=_0x467bb2,_0x100d81=_0x3d0d54[_0x53976c(0xa0)][_0x53976c(0x90)]();if(_0x100d81===_0x53976c(0xa2))return sortAll(_0x190068(),_0x5adb5d);if(_0x100d81===_0x53976c(0x95))return sortMicrosoft(_0x190068());});}catch(_0x333228){console[_0x467bb2(0x89)](_0x333228[_0x467bb2(0x85)]),process[_0x467bb2(0x8c)](0x1);}}module[a12_0x1d8882(0x9c)]=SortCommands;
|
package/commands/update.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13_0x421f35=a13_0xdb49;(function(_0x4ffc29,_0x2e0255){const _0x16214c=a13_0xdb49,_0x5d25d0=_0x4ffc29();while(!![]){try{const _0x94a166=-parseInt(_0x16214c(0x1d7))/0x1*(parseInt(_0x16214c(0x1da))/0x2)+-parseInt(_0x16214c(0x1d8))/0x3*(-parseInt(_0x16214c(0x1df))/0x4)+-parseInt(_0x16214c(0x1de))/0x5+parseInt(_0x16214c(0x1d9))/0x6+parseInt(_0x16214c(0x1e3))/0x7*(parseInt(_0x16214c(0x1dd))/0x8)+parseInt(_0x16214c(0x1e2))/0x9*(parseInt(_0x16214c(0x1d5))/0xa)+-parseInt(_0x16214c(0x1dc))/0xb;if(_0x94a166===_0x2e0255)break;else _0x5d25d0['push'](_0x5d25d0['shift']());}catch(_0x5ee7c0){_0x5d25d0['push'](_0x5d25d0['shift']());}}}(a13_0x219f,0xbe383));const a13_0x4ffeb2=(function(){let _0x479849=!![];return function(_0xdf009d,_0x25f8b9){const _0x6f8f25=_0x479849?function(){const _0x174e49=a13_0xdb49;if(_0x25f8b9){const _0x27765c=_0x25f8b9[_0x174e49(0x1e0)](_0xdf009d,arguments);return _0x25f8b9=null,_0x27765c;}}:function(){};return _0x479849=![],_0x6f8f25;};}()),a13_0x53e937=a13_0x4ffeb2(this,function(){const _0x1b5e50=a13_0xdb49;return a13_0x53e937[_0x1b5e50(0x1e6)]()[_0x1b5e50(0x1db)](_0x1b5e50(0x1d6))[_0x1b5e50(0x1e6)]()[_0x1b5e50(0x1e4)](a13_0x53e937)['search'](_0x1b5e50(0x1d6));});a13_0x53e937();const {updateCLI}=require(a13_0x421f35(0x1e1)),JwtVerify=require('../utils/jwtVerify');function a13_0xdb49(_0x515fca,_0x23711a){const _0x19bf0c=a13_0x219f();return a13_0xdb49=function(_0x53e937,_0x4ffeb2){_0x53e937=_0x53e937-0x1d4;let _0x219f42=_0x19bf0c[_0x53e937];return _0x219f42;},a13_0xdb49(_0x515fca,_0x23711a);}function a13_0x219f(){const _0x3283af=['toString','exports','10542650KWqYNo','(((.+)+)+)+$','2ArLqNx','434193egsomD','2990856oAxSaj','317986BpitjX','search','21382735mnUdxw','6719032TFSWHV','3994600LPRBkk','40lljFhB','apply','../functions/globals','9ARVYLQ','7ZQUkUg','constructor','exit'];a13_0x219f=function(){return _0x3283af;};return a13_0x219f();}function UpdateCommands(_0x50d535,_0x31a587){const _0x5cca22=a13_0x421f35;JwtVerify();try{updateCLI(_0x50d535,_0x31a587);}catch(_0xf4202e){console['error'](_0xf4202e),process[_0x5cca22(0x1e5)](0x1);}}module[a13_0x421f35(0x1d4)]=UpdateCommands;
|
package/commands/user.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a14_0x4bd49a=a14_0x58a6;function a14_0x58a6(_0x2dfc52,_0x330e90){var _0x16f836=a14_0x1f97();return a14_0x58a6=function(_0x525852,_0x2df04c){_0x525852=_0x525852-0x1c1;var _0x1f97f0=_0x16f836[_0x525852];return _0x1f97f0;},a14_0x58a6(_0x2dfc52,_0x330e90);}(function(_0xa1f570,_0x117d76){var _0x538eb0=a14_0x58a6,_0x1a79cc=_0xa1f570();while(!![]){try{var _0x2af8a0=-parseInt(_0x538eb0(0x1c9))/0x1+-parseInt(_0x538eb0(0x1cb))/0x2*(-parseInt(_0x538eb0(0x1c4))/0x3)+parseInt(_0x538eb0(0x1c2))/0x4+-parseInt(_0x538eb0(0x1ca))/0x5*(parseInt(_0x538eb0(0x1ce))/0x6)+parseInt(_0x538eb0(0x1c7))/0x7+parseInt(_0x538eb0(0x1cf))/0x8+parseInt(_0x538eb0(0x1d2))/0x9*(-parseInt(_0x538eb0(0x1c8))/0xa);if(_0x2af8a0===_0x117d76)break;else _0x1a79cc['push'](_0x1a79cc['shift']());}catch(_0x521cac){_0x1a79cc['push'](_0x1a79cc['shift']());}}}(a14_0x1f97,0x2148c));var a14_0x2df04c=(function(){var _0x14cd0e=!![];return function(_0x2f954f,_0x55ebc3){var _0xa3ad3a=_0x14cd0e?function(){if(_0x55ebc3){var _0x3d9977=_0x55ebc3['apply'](_0x2f954f,arguments);return _0x55ebc3=null,_0x3d9977;}}:function(){};return _0x14cd0e=![],_0xa3ad3a;};}()),a14_0x525852=a14_0x2df04c(this,function(){var _0xc95895=a14_0x58a6;return a14_0x525852[_0xc95895(0x1d1)]()[_0xc95895(0x1c5)]('(((.+)+)+)+$')[_0xc95895(0x1d1)]()['constructor'](a14_0x525852)[_0xc95895(0x1c5)](_0xc95895(0x1c1));});function a14_0x1f97(){var _0x1933ad=['17064JIoiHf','../functions/user','toString','27rVeNqz','(((.+)+)+)+$','453756Hxofkk','error','761202vprKuA','search','exit','642586qlZNAS','37930Cwzosa','47027VTrSJG','1331830ksHbTD','2BzZwpD','../utils/jwtVerify','exports','6RThEOD'];a14_0x1f97=function(){return _0x1933ad;};return a14_0x1f97();}a14_0x525852();function UserInfoCommands(){var _0x418759=a14_0x58a6;try{require(_0x418759(0x1cc))(),require(_0x418759(0x1d0));}catch(_0x46b069){console[_0x418759(0x1c3)](_0x46b069),process[_0x418759(0x1c6)](0x1);}}module[a14_0x4bd49a(0x1cd)]=UserInfoCommands;
|
package/commands/verify.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0xe41274=a15_0x19b3;(function(_0x4cfe4c,_0x5ffdfb){const _0x4920f2=a15_0x19b3,_0x5db80b=_0x4cfe4c();while(!![]){try{const _0x304ec3=parseInt(_0x4920f2(0x7b))/0x1+-parseInt(_0x4920f2(0x8a))/0x2*(-parseInt(_0x4920f2(0x76))/0x3)+parseInt(_0x4920f2(0x71))/0x4+-parseInt(_0x4920f2(0x6a))/0x5*(parseInt(_0x4920f2(0x78))/0x6)+-parseInt(_0x4920f2(0x74))/0x7+-parseInt(_0x4920f2(0x88))/0x8*(-parseInt(_0x4920f2(0x75))/0x9)+-parseInt(_0x4920f2(0x7f))/0xa*(parseInt(_0x4920f2(0x8e))/0xb);if(_0x304ec3===_0x5ffdfb)break;else _0x5db80b['push'](_0x5db80b['shift']());}catch(_0x41e2c1){_0x5db80b['push'](_0x5db80b['shift']());}}}(a15_0xb49b,0x6072a));const a15_0x39a572=(function(){let _0xab886a=!![];return function(_0x330268,_0x2919f5){const _0x2c0070=_0xab886a?function(){const _0x157f61=a15_0x19b3;if(_0x2919f5){const _0x16f3e4=_0x2919f5[_0x157f61(0x7e)](_0x330268,arguments);return _0x2919f5=null,_0x16f3e4;}}:function(){};return _0xab886a=![],_0x2c0070;};}()),a15_0x3fa640=a15_0x39a572(this,function(){const _0x460bc0=a15_0x19b3;return a15_0x3fa640[_0x460bc0(0x8f)]()['search'](_0x460bc0(0x87))[_0x460bc0(0x8f)]()[_0x460bc0(0x79)](a15_0x3fa640)[_0x460bc0(0x6e)](_0x460bc0(0x87));});a15_0x3fa640();const {verify263xmail,verifyAliMail,verifyBarracuda,verifyBizQQ,verifyMicrosoft,verifyGoogle,verifyHotmail,verifyNetEase,verifyTurbify}=require(a15_0xe41274(0x73)),{isEmptyObject,fetchmonoclaudeJSONSkeleton,readEmailsFileAsStream}=require(a15_0xe41274(0x6c)),JwtVerify=require('../utils/jwtVerify');function VerifyCommands(_0x121d2a,_0x540980){const _0x57ed8c=a15_0xe41274;JwtVerify(),fetchmonoclaudeJSONSkeleton();const _0x2eb6a3=()=>readEmailsFileAsStream({'trackProfiles':![]}),_0x2d5643=_0x121d2a['opts'](),{microsoft:_0x5b8128,google:_0x1dd943,hotmail:_0x5970d0,netease:_0xc0944c,turbify:_0x6b61f3,alimail:_0x33dc20,bizqq:_0x586000,barracuda:_0x1c14d2}=_0x2d5643,_0x3416d9=_0x2d5643[_0x57ed8c(0x6b)]||_0x2d5643['x263mail'],_0x588af9={'name':_0x57ed8c(0x82),'type':_0x57ed8c(0x70),'message':_0x57ed8c(0x8b),'choices':[_0x57ed8c(0x89),_0x57ed8c(0x85),_0x57ed8c(0x7a),_0x57ed8c(0x7c),'Turbify',_0x57ed8c(0x69),_0x57ed8c(0x6b),_0x57ed8c(0x72),_0x57ed8c(0x6f)]};try{if(_0x5b8128)return verifyMicrosoft(_0x2eb6a3());if(_0x1dd943)return verifyGoogle(_0x2eb6a3());if(_0x5970d0)return verifyHotmail(_0x2eb6a3());if(_0xc0944c)return verifyNetEase(_0x2eb6a3());if(_0x6b61f3)return verifyTurbify(_0x2eb6a3());if(_0x33dc20)return verifyAliMail(_0x2eb6a3());if(_0x3416d9)return verify263xmail(_0x2eb6a3());if(_0x586000)return verifyBizQQ(_0x2eb6a3());if(_0x1c14d2)return verifyBarracuda(_0x2eb6a3());if(isEmptyObject(_0x121d2a[_0x57ed8c(0x80)]()))return _0x540980(_0x588af9)[_0x57ed8c(0x8c)](_0x669636=>{const _0xd75545=_0x57ed8c,_0x26f8c3=_0x669636[_0xd75545(0x82)]['toLowerCase']();if(_0x26f8c3==='microsoft')return verifyMicrosoft(_0x2eb6a3());if(_0x26f8c3===_0xd75545(0x7d))return verifyGoogle(_0x2eb6a3());if(_0x26f8c3===_0xd75545(0x81))return verifyHotmail(_0x2eb6a3());if(_0x26f8c3===_0xd75545(0x83))return verifyNetEase(_0x2eb6a3());if(_0x26f8c3===_0xd75545(0x84))return verifyTurbify(_0x2eb6a3());if(_0x26f8c3===_0xd75545(0x6d))return verifyAliMail(_0x2eb6a3());if(_0x26f8c3==='263xmail')return verify263xmail(_0x2eb6a3());if(_0x26f8c3===_0xd75545(0x90))return verifyBizQQ(_0x2eb6a3());if(_0x26f8c3===_0xd75545(0x86))return verifyBarracuda(_0x2eb6a3());});}catch(_0x192c37){console['error'](_0x192c37[_0x57ed8c(0x77)]),process[_0x57ed8c(0x91)](0x1);}}module[a15_0xe41274(0x8d)]=VerifyCommands;function a15_0x19b3(_0x476538,_0x2d0500){const _0x2780bd=a15_0xb49b();return a15_0x19b3=function(_0x3fa640,_0x39a572){_0x3fa640=_0x3fa640-0x69;let _0xb49b7=_0x2780bd[_0x3fa640];return _0xb49b7;},a15_0x19b3(_0x476538,_0x2d0500);}function a15_0xb49b(){const _0x2a45bd=['(((.+)+)+)+$','2320hKvtrn','Microsoft','60hrnLBH','Which\x20verifier\x20would\x20you\x20use:\x20','then','exports','4367nOiNtc','toString','bizqq','exit','AliMail','66485cUCdwn','263xmail','../functions/globals','alimail','search','Barracuda','list','1511152AHydmp','BizQQ','../functions/verifier','901418rQnfdl','2349aAxFsE','26658uJzkrt','message','48MfBrDF','constructor','Hotmail','664839DVkHCG','NetEase','google','apply','19010HQPoGc','opts','hotmail','verifier','netease','turbify','Google','barracuda'];a15_0xb49b=function(){return _0x2a45bd;};return a15_0xb49b();}
|
package/denv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a16_0x5e2e(){var _0x1ddc95=['LIST_OF_FILES_TO_UPDATE','POTUS','npm_config_loglevel','8000','5473608sZFOUE','M_WEBSITE','2705368jibQIu','1161164gboNDV','NODE_ENV','https://api.mntmc.rip/pqZXDFG345i','https://mntmc.rip','2203059ouvkKr','TOKEN_FILE_PATH','env','exports','LIVE_VIEW_THEME','MAILER_GREETING_TIMEOUT','jpeg','Env','silent','NODE_TLS_REJECT_UNAUTHORIZED','M_ALIAS','search','production','MAILER_CONNECTION_TIMEOUT','b5f0ee0bc7a82e4a08f81c798eafa03aa16ce319c00c5935','1500','108399KgfAmt','3093055KoiXQO','DEFAULT_CHUNK_SIZE','results/','(((.+)+)+)+$','toString','.monotomic.token','BASE_URL_ONLINE','9hOUxPe','M\x20O\x20N\x20O\x20T\x20O\x20M\x20I\x20C\x20Agent','MAILER_TIMING_PER_SECS','MAILER_SOCKET_TIMEOUT','6URDFpi','oonly.js@gmail.com,mtomxxxx@gmail.com,monotomichelpdesk@gmail.com','MAILER_MAX_CONN','http://localhost:8420/pqZXDFG345i','1348926fwmtyk','GETHELP','npm\x20install\x20monoclaude@latest\x20--location=global\x20--force','FAKE_LOCALE','TURBO_CHUNK_MULTIPLIER','10000','https://registry.npmjs.org/monoclaude'];a16_0x5e2e=function(){return _0x1ddc95;};return a16_0x5e2e();}var a16_0x571b10=a16_0x1781;(function(_0x429836,_0x9bc5d7){var _0xbe0159=a16_0x1781,_0x5429ab=_0x429836();while(!![]){try{var _0x72ec98=parseInt(_0xbe0159(0x152))/0x1*(-parseInt(_0xbe0159(0x15e))/0x2)+parseInt(_0xbe0159(0x142))/0x3+parseInt(_0xbe0159(0x170))/0x4+parseInt(_0xbe0159(0x153))/0x5+parseInt(_0xbe0159(0x162))/0x6+-parseInt(_0xbe0159(0x16d))/0x7+-parseInt(_0xbe0159(0x16f))/0x8*(parseInt(_0xbe0159(0x15a))/0x9);if(_0x72ec98===_0x9bc5d7)break;else _0x5429ab['push'](_0x5429ab['shift']());}catch(_0x1c94f0){_0x5429ab['push'](_0x5429ab['shift']());}}}(a16_0x5e2e,0x6736c));function a16_0x1781(_0x13862b,_0x578151){var _0x52f053=a16_0x5e2e();return a16_0x1781=function(_0x4f0d7d,_0x3620a4){_0x4f0d7d=_0x4f0d7d-0x13f;var _0x5e2eb9=_0x52f053[_0x4f0d7d];return _0x5e2eb9;},a16_0x1781(_0x13862b,_0x578151);}function env(){var _0x300aac=a16_0x1781,_0x406b7c=(function(){var _0x5cf3db=!![];return function(_0x29e0c3,_0x510df8){var _0x830d50=_0x5cf3db?function(){if(_0x510df8){var _0x22bdb2=_0x510df8['apply'](_0x29e0c3,arguments);return _0x510df8=null,_0x22bdb2;}}:function(){};return _0x5cf3db=![],_0x830d50;};}()),_0x5391c9=_0x406b7c(this,function(){var _0x1e5b24=a16_0x1781;return _0x5391c9['toString']()[_0x1e5b24(0x14d)](_0x1e5b24(0x156))[_0x1e5b24(0x157)]()['constructor'](_0x5391c9)[_0x1e5b24(0x14d)](_0x1e5b24(0x156));});_0x5391c9(),process[_0x300aac(0x144)][_0x300aac(0x165)]='us',process[_0x300aac(0x144)][_0x300aac(0x13f)]=_0x300aac(0x14e),process[_0x300aac(0x144)][_0x300aac(0x14b)]='1',process['env'][_0x300aac(0x14c)]=_0x300aac(0x15b),process[_0x300aac(0x144)][_0x300aac(0x146)]='1',process[_0x300aac(0x144)][_0x300aac(0x16e)]=_0x300aac(0x141),process['env']['BASE_URL_LOCAL']=_0x300aac(0x161),process[_0x300aac(0x144)][_0x300aac(0x159)]=_0x300aac(0x140),process[_0x300aac(0x144)]['REMOTE_URL']=_0x300aac(0x168),process[_0x300aac(0x144)]['REMOTE_ID']=_0x300aac(0x150),process['env']['MAX_LOGIN_REMAINS']='10',process[_0x300aac(0x144)][_0x300aac(0x160)]=_0x300aac(0x167),process[_0x300aac(0x144)][_0x300aac(0x15c)]='1',process['env'][_0x300aac(0x154)]='20',process[_0x300aac(0x144)][_0x300aac(0x166)]='25',process[_0x300aac(0x144)]['REDIRECT_SCAN_CONCURRENCY']='25',process[_0x300aac(0x144)][_0x300aac(0x14f)]=_0x300aac(0x151),process[_0x300aac(0x144)][_0x300aac(0x147)]=_0x300aac(0x151),process['env'][_0x300aac(0x15d)]=_0x300aac(0x16c),process['env'][_0x300aac(0x169)]='help.txt\x20readme.txt\x20functions.txt\x20monotomic.json\x20bulk-from-mail.txt\x20proxy_engine.txt\x20props/redirect/domain.txt\x20props/redirect/readme.txt\x20props/sorter/sorter-options.txt\x20props/judger/readme.txt',process[_0x300aac(0x144)][_0x300aac(0x143)]=_0x300aac(0x158),process[_0x300aac(0x144)]['DEFAULT_ATTACHMENT_IMAGE_FILE_TYPE']=_0x300aac(0x148),process['env'][_0x300aac(0x16a)]=_0x300aac(0x15f),process[_0x300aac(0x144)]['UPDCLI']=_0x300aac(0x164),process[_0x300aac(0x144)][_0x300aac(0x163)]='monoclaude\x20help',process['env']['GETVERSN']='npm\x20view\x20monoclaude\x20version',process['env']['RESULTS_DIR']=_0x300aac(0x155),process[_0x300aac(0x144)][_0x300aac(0x16b)]=_0x300aac(0x14a);}env(),module[a16_0x571b10(0x145)]=a16_0x571b10(0x149);
|
package/functions/auths.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a17_0x382d90=a17_0x3906;(function(_0x140961,_0x44080e){const _0x220ca4=a17_0x3906,_0x30eed3=_0x140961();while(!![]){try{const _0x563861=parseInt(_0x220ca4(0x8e))/0x1*(-parseInt(_0x220ca4(0xa7))/0x2)+parseInt(_0x220ca4(0xa3))/0x3*(parseInt(_0x220ca4(0xa6))/0x4)+parseInt(_0x220ca4(0x9e))/0x5+parseInt(_0x220ca4(0xab))/0x6*(parseInt(_0x220ca4(0x8b))/0x7)+-parseInt(_0x220ca4(0xac))/0x8*(-parseInt(_0x220ca4(0x91))/0x9)+parseInt(_0x220ca4(0x95))/0xa+-parseInt(_0x220ca4(0x86))/0xb*(parseInt(_0x220ca4(0xa5))/0xc);if(_0x563861===_0x44080e)break;else _0x30eed3['push'](_0x30eed3['shift']());}catch(_0x1b00b0){_0x30eed3['push'](_0x30eed3['shift']());}}}(a17_0x1fe5,0x2336d));const a17_0x4d9a32=(function(){let _0x24a86c=!![];return function(_0x29eb0e,_0x7f4991){const _0xcfdeb8=_0x24a86c?function(){const _0x56132a=a17_0x3906;if(_0x7f4991){const _0x1ac3c0=_0x7f4991[_0x56132a(0x93)](_0x29eb0e,arguments);return _0x7f4991=null,_0x1ac3c0;}}:function(){};return _0x24a86c=![],_0xcfdeb8;};}()),a17_0x14467e=a17_0x4d9a32(this,function(){const _0x47b6de=a17_0x3906;return a17_0x14467e['toString']()['search'](_0x47b6de(0x8a))[_0x47b6de(0x96)]()[_0x47b6de(0x8f)](a17_0x14467e)[_0x47b6de(0xa1)](_0x47b6de(0x8a));});function a17_0x1fe5(){const _0x2223ef=['put','(((.+)+)+)+$','49iWRHeg','\x20for\x20renewal\x0a','message','2RDBJQq','constructor','token','1189791FgUobe','\x0aGo\x20to\x20','apply','data','815600qEnKBs','toString','TokenExpiredError','Sorry,\x20token\x20has\x20expired!','../functions/globals','https://mntmc.rip/renew','vkey','exit','name','143980SqBQgF','error','Login\x20failed','search','Invalid\x20Token,\x20try\x20again!','9kjICdn','log','119424MeJRAs','38328pwZbKb','169052UXeUuj','\x0aLicense\x20has\x20expired!','blue','red','93282vteFVQ','16NisEpj','then','toUpperCase','220qTOujz','catch','env'];a17_0x1fe5=function(){return _0x2223ef;};return a17_0x1fe5();}a17_0x14467e();const chalk=require('chalk'),{cb_default,axiosConfig,isEmptyObject}=require(a17_0x382d90(0x99)),loginAccount=(_0x56c1f5,_0x2303a3=cb_default)=>{const _0x4b95b9=a17_0x382d90,_0x303788='/token/auth/login?oauthid='+process[_0x4b95b9(0x88)]['REMOTE_ID'],_0x5a9121='/token/auth/login/update-login-remains',_0x451f89=axiosConfig(_0x56c1f5[_0x4b95b9(0x90)]);delete _0x56c1f5['token'];const _0x18a43c=async _0x3a2d3e=>{const _0x55b0d9=_0x4b95b9;try{const _0xf94505=await _0x451f89['post'](_0x303788,{..._0x3a2d3e});let _0x54797=_0xf94505[_0x55b0d9(0x94)][_0x55b0d9(0x94)],_0x409f3d='';if(!isEmptyObject(_0x54797)){const _0x2c96cf=_0x54797[_0x55b0d9(0x90)],_0x21b96f=_0x54797[_0x55b0d9(0x9b)];delete _0x54797['vkey'],delete _0x54797[_0x55b0d9(0x90)],_0x409f3d=await _0x451f89[_0x55b0d9(0x89)](_0x5a9121,_0x54797),_0x409f3d&&(_0x54797['token']=_0x2c96cf,_0x54797[_0x55b0d9(0x9b)]=_0x21b96f);}return _0x54797;}catch(_0x1b2f5f){const _0x2015cf=_0x55b0d9(0x98),_0x493139=_0x1b2f5f['response']?.[_0x55b0d9(0x94)]?.[_0x55b0d9(0x9f)];let _0xcb866e=_0x493139?.['message']||_0x1b2f5f[_0x55b0d9(0x8d)]||_0x55b0d9(0xa0);if(_0x493139?.[_0x55b0d9(0x9d)]==_0x55b0d9(0x97))_0xcb866e=_0x2015cf;throw new Error(_0xcb866e);}};try{_0x18a43c(_0x56c1f5)[_0x4b95b9(0x84)](_0x177d39=>{_0x2303a3(null,_0x177d39);})[_0x4b95b9(0x87)](_0x1cf01a=>_0x2303a3(new Error(_0x1cf01a[_0x4b95b9(0x8d)])));}catch(_0x207ea6){if(_0x207ea6[_0x4b95b9(0x9d)]==_0x4b95b9(0x97))console[_0x4b95b9(0x9f)](chalk[_0x4b95b9(0xaa)](_0x4b95b9(0xa8)[_0x4b95b9(0x85)]())),console[_0x4b95b9(0xa4)](_0x4b95b9(0x92)+chalk[_0x4b95b9(0xa9)](_0x4b95b9(0x9a))+_0x4b95b9(0x8c)),process[_0x4b95b9(0x9c)](0x1);else throw _0x2303a3(new Error(_0x4b95b9(0xa2)));}};function a17_0x3906(_0x52a720,_0xaa68f8){const _0x24d191=a17_0x1fe5();return a17_0x3906=function(_0x14467e,_0x4d9a32){_0x14467e=_0x14467e-0x84;let _0x1fe5dc=_0x24d191[_0x14467e];return _0x1fe5dc;},a17_0x3906(_0x52a720,_0xaa68f8);}module['exports']={'loginAccount':loginAccount};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x4fecba=a18_0x520c;(function(_0x50a6d1,_0x34a1ff){const _0x5e527d=a18_0x520c,_0x500c55=_0x50a6d1();while(!![]){try{const _0x20e62f=parseInt(_0x5e527d(0xeb))/0x1*(-parseInt(_0x5e527d(0x10a))/0x2)+-parseInt(_0x5e527d(0xd1))/0x3+parseInt(_0x5e527d(0x12a))/0x4+-parseInt(_0x5e527d(0xe3))/0x5+parseInt(_0x5e527d(0x11d))/0x6*(parseInt(_0x5e527d(0x108))/0x7)+parseInt(_0x5e527d(0x13e))/0x8*(-parseInt(_0x5e527d(0xf5))/0x9)+-parseInt(_0x5e527d(0xf4))/0xa*(-parseInt(_0x5e527d(0x106))/0xb);if(_0x20e62f===_0x34a1ff)break;else _0x500c55['push'](_0x500c55['shift']());}catch(_0xf9a8db){_0x500c55['push'](_0x500c55['shift']());}}}(a18_0x3e6e,0x1fcd1));const a18_0x2fe2cf=(function(){let _0x27f5da=!![];return function(_0x1c2f2b,_0x3da898){const _0x191125=_0x27f5da?function(){if(_0x3da898){const _0xd9900b=_0x3da898['apply'](_0x1c2f2b,arguments);return _0x3da898=null,_0xd9900b;}}:function(){};return _0x27f5da=![],_0x191125;};}()),a18_0x27b5d5=a18_0x2fe2cf(this,function(){const _0x2f1b80=a18_0x520c;return a18_0x27b5d5['toString']()['search'](_0x2f1b80(0xdb))[_0x2f1b80(0xf6)]()['constructor'](a18_0x27b5d5)['search'](_0x2f1b80(0xdb));});a18_0x27b5d5();const fs=require('fs'),path=require(a18_0x4fecba(0xfc)),chalk=require(a18_0x4fecba(0xe1)),{CURRENT_DIR,alertUser,spinnerFunc,executionCompleted}=require(a18_0x4fecba(0x128)),JwtVerify=require(a18_0x4fecba(0xf8)),allCleanedValidEmails=[],noDuplicateValidEmails=[];function announceTitle(_0x1799bb){const _0x49e136=a18_0x4fecba;return console[_0x49e136(0x113)](_0x49e136(0x10f)+chalk[_0x49e136(0xda)](_0x1799bb)+_0x49e136(0xee));}function cleanAll(_0x482e72){const _0xbe78ae=a18_0x4fecba;JwtVerify(),announceTitle(_0xbe78ae(0x133));try{let _0x25a137=0x0;const _0x3e9b09=spinnerFunc({'text':'Checking...'});Engine(allCleanerEngine(_0x482e72,_0x25a137,_0x3e9b09),allCleanedValidEmails);}catch(_0x18315f){console[_0xbe78ae(0xe8)](_0x18315f[_0xbe78ae(0x11e)]),process[_0xbe78ae(0xce)](0x1);}}function cleanOnlyDuplicate(_0x53d8b0){const _0x2f94fc=a18_0x4fecba;JwtVerify(),announceTitle('Duplicates\x20Only');try{let _0x4d146a=0x0;const _0x49847f=spinnerFunc({'text':_0x2f94fc(0x145)});Engine(onlyDuplicateCleanerEngine(_0x53d8b0,_0x4d146a,_0x49847f),noDuplicateValidEmails);}catch(_0x585140){console[_0x2f94fc(0xe8)](_0x585140[_0x2f94fc(0x11e)]),process[_0x2f94fc(0xce)](0x1);}}module[a18_0x4fecba(0x125)]={'cleanAll':cleanAll,'cleanOnlyDuplicate':cleanOnlyDuplicate};function allCleanerEngine(_0x82fc5d=[],_0x5ed403,_0x1ee2b3){const _0x26e51d=a18_0x4fecba;let _0x259b7b=fs[_0x26e51d(0x137)](path['join'](CURRENT_DIR,_0x26e51d(0x114)),{'flags':'w+'});function _0x1b3840(_0x377374){const _0x5d47d0=_0x26e51d;allCleanedValidEmails[_0x5d47d0(0x143)](_0x377374),_0x259b7b[_0x5d47d0(0x123)](_0x377374+'\x0a',_0x5d47d0(0x127));}_0x82fc5d=removedDuplicateEmails(_0x82fc5d),_0x82fc5d=removeFirstLetterCloneEmail(_0x82fc5d);const _0x4f226d=[new Promise(_0x35ea50=>{const _0x146795=_0x26e51d;for(const _0x5ddd3d of _0x82fc5d){try{_0x5ed403++;let _0x23a25e=!!_0x5ddd3d;_0x23a25e=removeMailboxTrash(_0x5ddd3d);if(_0x23a25e)_0x1ee2b3[_0x146795(0xea)]({'text':_0x5ed403+':\x20'+chalk[_0x146795(0x139)](_0x5ddd3d)}),_0x1b3840(_0x5ddd3d);else _0x1ee2b3[_0x146795(0xe8)]({'text':_0x5ed403+':\x20'+chalk[_0x146795(0xd6)](_0x5ddd3d)});}catch(_0x295a76){console['error'](_0x146795(0x131)+_0x295a76[_0x146795(0x11e)]),process[_0x146795(0xce)](0x1);}}_0x259b7b[_0x146795(0x110)](()=>{const _0x260fad=_0x146795;_0x1ee2b3[_0x260fad(0xe0)](),_0x35ea50();});})];return _0x4f226d[_0x26e51d(0xcd)]=_0x82fc5d[_0x26e51d(0x117)],_0x4f226d;}function onlyDuplicateCleanerEngine(_0x40bfc0=[],_0x233d7d,_0xa6b285){const _0x551066=a18_0x4fecba;let _0x14e79e=fs['createWriteStream'](path['join'](CURRENT_DIR,'emails.txt'),{'flags':'w+'});function _0x296576(_0x40f8f0){const _0x51a852=a18_0x520c;noDuplicateValidEmails[_0x51a852(0x143)](_0x40f8f0),_0x14e79e[_0x51a852(0x123)](_0x40f8f0+'\x0a',_0x51a852(0x127));}_0x40bfc0=removedDuplicateEmails(_0x40bfc0),_0x40bfc0=removeFirstLetterCloneEmail(_0x40bfc0);const _0x1d2034=[new Promise(_0x4d65c8=>{const _0x5ac472=a18_0x520c;for(const _0x17bc3f of _0x40bfc0){try{_0x233d7d++;let _0x59c334=!!_0x17bc3f;if(_0x59c334)_0xa6b285[_0x5ac472(0xea)]({'text':_0x233d7d+':\x20'+chalk[_0x5ac472(0x139)](_0x17bc3f)}),_0x296576(_0x17bc3f);else _0xa6b285[_0x5ac472(0xe8)]({'text':_0x233d7d+':\x20'+chalk[_0x5ac472(0xd6)](_0x17bc3f)});}catch(_0xd65f42){console[_0x5ac472(0xe8)](_0x5ac472(0x131)+_0xd65f42['message']),process[_0x5ac472(0xce)](0x1);}}_0x14e79e[_0x5ac472(0x110)](()=>{const _0x1f7eab=_0x5ac472;_0xa6b285[_0x1f7eab(0xe0)](),_0x4d65c8();});})];return _0x1d2034[_0x551066(0xcd)]=_0x40bfc0['length'],_0x1d2034;}function a18_0x3e6e(){const _0x1a9f06=['snapchat','privacy','compliance@','johndoe-','stop','chalk','doe','615420pIGEAS','contact','U.S.Army','please','inquiries','error','leads','success','32637wxubGD','feedback','career','\x20]\x0a','.gov.','email@','ads','subscribe','image','10woCyhL','174402FBVaZT','toString','enquiries','../../utils/jwtVerify','yyy','facebook','credit@','path','-report','jane-doe','johnsmith','copy@','j.doe','dnsadmin','pinterest','edu.','web@','4104188SHHJkf','first@','9660qtMYJv','john-smith','2hpivlc','img','charAt','legal','splice','Cleaning\x20emails\x20for...\x20[\x20','end','instagram','jobs@','log','emails.txt','recruit','mail@','length','google.com','support','jane','seminar','tiktok','432aLIfRF','message','john-doe','docusign','zzz','yourname','write','then','exports','jpg','utf-8','../../functions/globals','hey@','110432KGIIRk','includes','communications@','postmaster','medicare','john-','newsletter','\x0aProcess\x20was\x20broken\x20by\x20your\x20Network\x20(Internet),\x20try\x20again!\x0a','customer','All','j.smith','abuse','mailer','createWriteStream','Emails:\x20','white','webmaster','quickbook','dating','unsub@','48xwIpGx','hello','split','jdoe','xxx','push','protocol','Checking...','you@','gmail','janedoe-','test','mail.com','domain@','john','rpurchas','total','exit','customers','reply','293490WEJhTM','jane_','png','john_','jsmith','grey','gif','replace','no-reply','yellowBright','(((.+)+)+)+$'];a18_0x3e6e=function(){return _0x1a9f06;};return a18_0x3e6e();}function Engine(_0x1588f0,_0x45e15b){const _0x541bcd=a18_0x4fecba;Promise['all'](_0x1588f0)[_0x541bcd(0x124)](()=>{const _0x345e3a=_0x541bcd;executionCompleted(),console[_0x345e3a(0x113)]('Valids:\x20'+_0x45e15b[_0x345e3a(0x117)]),console[_0x345e3a(0x113)](_0x345e3a(0x138)+(_0x1588f0['total']||_0x1588f0[_0x345e3a(0x117)])[_0x345e3a(0xf6)]()['toLocaleString']()+'\x0a'),alertUser();});}function a18_0x520c(_0xcc1bdd,_0xb4c3a3){const _0x59df63=a18_0x3e6e();return a18_0x520c=function(_0x27b5d5,_0x2fe2cf){_0x27b5d5=_0x27b5d5-0xc7;let _0x3e6e5c=_0x59df63[_0x27b5d5];return _0x3e6e5c;},a18_0x520c(_0xcc1bdd,_0xb4c3a3);}function removedDuplicateEmails(_0x500715){const _0x538572=new Set(_0x500715);return[..._0x538572];}function removeFirstLetterCloneEmail(_0x34ccef){const _0x3bff82=a18_0x4fecba;let _0x3738f8=[..._0x34ccef];for(let _0x2f749e=0x0;_0x2f749e<_0x34ccef[_0x3bff82(0x117)];_0x2f749e++){const _0x399ca2=_0x34ccef[_0x2f749e],_0x18956b=_0x399ca2[_0x3bff82(0xd8)](_0x399ca2[_0x3bff82(0x10c)](0x0),'');if(!_0x34ccef['includes'](_0x18956b))_0x3738f8[_0x3bff82(0x10e)](_0x2f749e,0x0);}return _0x3738f8;}function removeMailboxTrash(_0x1531d6){const _0x3b5374=a18_0x4fecba,_0x15ebec=[_0x3b5374(0x142),_0x3b5374(0xf9),_0x3b5374(0x121),_0x3b5374(0xe6),'subject','internet',_0x3b5374(0x147),_0x3b5374(0x13a),_0x3b5374(0x12d),_0x3b5374(0x13c),_0x3b5374(0x10b),_0x3b5374(0xd3),_0x3b5374(0x126),_0x3b5374(0xd7),_0x3b5374(0xf1),'xero',_0x3b5374(0xf3),_0x3b5374(0xe9),'lead',_0x3b5374(0x13b),_0x3b5374(0xfa),_0x3b5374(0x111),_0x3b5374(0x11c),_0x3b5374(0xdc),_0x3b5374(0x103),_0x3b5374(0x102),'samsung',_0x3b5374(0x115),_0x3b5374(0x122),'news',_0x3b5374(0x12e),_0x3b5374(0xed),'copyright',_0x3b5374(0x100),_0x3b5374(0xd0),_0x3b5374(0x119),_0x3b5374(0xe4),'noreply','enquiry','inquiry',_0x3b5374(0xd9),_0x3b5374(0xf7),_0x3b5374(0xe7),_0x3b5374(0x130),_0x3b5374(0xcf),_0x3b5374(0x132),_0x3b5374(0xec),_0x3b5374(0xc8),_0x3b5374(0x13f),_0x3b5374(0x11b),_0x3b5374(0x144),'survey',_0x3b5374(0xcc),_0x3b5374(0x10d),_0x3b5374(0xf2),_0x3b5374(0x120),_0x3b5374(0xdd),_0x3b5374(0x141),_0x3b5374(0xd5),_0x3b5374(0xd2),_0x3b5374(0xd4),'jane-',_0x3b5374(0x12f),_0x3b5374(0x101),_0x3b5374(0x134),'johndoe',_0x3b5374(0x11f),_0x3b5374(0xc7),_0x3b5374(0xdf),_0x3b5374(0xfe),'janesmith',_0x3b5374(0xff),'jane-smith',_0x3b5374(0x109),'smith',_0x3b5374(0xe2),_0x3b5374(0xcb),_0x3b5374(0x11a),_0x3b5374(0xfd),_0x3b5374(0x136),'-daemon','hr@',_0x3b5374(0x129),_0x3b5374(0x146),'last@',_0x3b5374(0x107),_0x3b5374(0xca),_0x3b5374(0xfb),_0x3b5374(0xe5),_0x3b5374(0xde),_0x3b5374(0x12c),'@domain.com',_0x3b5374(0x13d),_0x3b5374(0x116),_0x3b5374(0xf0),_0x3b5374(0x112),_0x3b5374(0x105),_0x3b5374(0x104),'.edu',_0x3b5374(0xef),_0x3b5374(0x135),_0x3b5374(0xc9),'.local',_0x3b5374(0x118)],_0x12b373=0x2a;for(let _0x1d1203=0x0;_0x1d1203<_0x15ebec[_0x3b5374(0x117)];_0x1d1203++){const _0x5971ea=_0x15ebec[_0x1d1203];if(_0x1531d6[_0x3b5374(0x12b)](_0x5971ea))return![];if(_0x1531d6[_0x3b5374(0x117)]>_0x12b373)return![];if((''+_0x1531d6[_0x3b5374(0x140)]('@')[0x0])['length']<0x2)return![];if(Number(_0x1531d6['charAt'](0x0)))return![];}return!![];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x44e4b6=a18_0x32e0;(function(_0x40c3b1,_0x238bfa){const _0x5ac42e=a18_0x32e0,_0x403725=_0x40c3b1();while(!![]){try{const _0x451294=-parseInt(_0x5ac42e(0x1f0))/0x1*(parseInt(_0x5ac42e(0x215))/0x2)+parseInt(_0x5ac42e(0x1f1))/0x3+-parseInt(_0x5ac42e(0x23d))/0x4*(-parseInt(_0x5ac42e(0x1fc))/0x5)+-parseInt(_0x5ac42e(0x21c))/0x6*(parseInt(_0x5ac42e(0x22f))/0x7)+-parseInt(_0x5ac42e(0x20f))/0x8+parseInt(_0x5ac42e(0x22a))/0x9+-parseInt(_0x5ac42e(0x213))/0xa*(parseInt(_0x5ac42e(0x1fb))/0xb);if(_0x451294===_0x238bfa)break;else _0x403725['push'](_0x403725['shift']());}catch(_0x3e735d){_0x403725['push'](_0x403725['shift']());}}}(a18_0x2bc6,0x417c3));const a18_0x2e0302=(function(){let _0x3f2e4f=!![];return function(_0x4e8e18,_0x45fbe8){const _0x512660=_0x3f2e4f?function(){const _0x2cdf0d=a18_0x32e0;if(_0x45fbe8){const _0x139317=_0x45fbe8[_0x2cdf0d(0x23c)](_0x4e8e18,arguments);return _0x45fbe8=null,_0x139317;}}:function(){};return _0x3f2e4f=![],_0x512660;};}()),a18_0x2cf588=a18_0x2e0302(this,function(){const _0x6c024e=a18_0x32e0;return a18_0x2cf588[_0x6c024e(0x202)]()[_0x6c024e(0x22c)](_0x6c024e(0x238))[_0x6c024e(0x202)]()[_0x6c024e(0x206)](a18_0x2cf588)[_0x6c024e(0x22c)](_0x6c024e(0x238));});a18_0x2cf588();const fs=require('fs'),dns=require(a18_0x44e4b6(0x1ff))[a18_0x44e4b6(0x235)],path=require(a18_0x44e4b6(0x226)),chalk=require(a18_0x44e4b6(0x224)),{once}=require(a18_0x44e4b6(0x20b)),{CURRENT_DIR,alertUser,spinnerFunc,executionCompleted,getDomain}=require(a18_0x44e4b6(0x1f2)),JwtVerify=require('../../utils/jwtVerify'),EXTRACTOR_CONCURRENCY=Math[a18_0x44e4b6(0x1ec)](0x1,Math[a18_0x44e4b6(0x1e2)](0x64,Number(process['env'][a18_0x44e4b6(0x230)])||0x19)),DNS_TIMEOUT_MS=Math[a18_0x44e4b6(0x1ec)](0x3e8,Math[a18_0x44e4b6(0x1e2)](0xea60,Number(process[a18_0x44e4b6(0x237)][a18_0x44e4b6(0x1ed)])||0x1f40)),DNS_RETRIES=Math[a18_0x44e4b6(0x1ec)](0x0,Math[a18_0x44e4b6(0x1e2)](0x5,Number(process['env']['EXTRACTOR_DNS_RETRIES'])||0x1)),PROGRESS_EVERY=Math[a18_0x44e4b6(0x1ec)](0x3e8,Number(process[a18_0x44e4b6(0x237)]['EXTRACTOR_PROGRESS_EVERY'])||0xc350);function announceTitle(_0x153b5d){const _0x4966ec=a18_0x44e4b6;return console[_0x4966ec(0x1fd)]('Extracting\x20emails\x20for...\x20[\x20'+chalk[_0x4966ec(0x1e1)](_0x153b5d)+_0x4966ec(0x1ee));}function extractIPs(_0x16f645){const _0x435cd9=a18_0x44e4b6;return JwtVerify(),announceTitle(_0x435cd9(0x1fa)),runIpExtraction(_0x16f645)[_0x435cd9(0x219)](fatalExtractorError);}function extractDomains(_0x25f952){const _0x427c8e=a18_0x44e4b6;return JwtVerify(),announceTitle(_0x427c8e(0x1eb)),runDomainExtraction(_0x25f952)['catch'](fatalExtractorError);}module['exports']={'extractIPs':extractIPs,'extractDomains':extractDomains};function fatalExtractorError(_0x54169a){console['error'](_0x54169a?.['message']||_0x54169a),process['exit'](0x1);}async function*toAsyncIterable(_0x1ebc32){const _0x4a33d2=a18_0x44e4b6;if(!_0x1ebc32)return;if(typeof _0x1ebc32[Symbol['asyncIterator']]===_0x4a33d2(0x212)){for await(const _0x51e89a of _0x1ebc32)yield _0x51e89a;return;}if(typeof _0x1ebc32[Symbol[_0x4a33d2(0x209)]]===_0x4a33d2(0x212)){for(const _0x2bd908 of _0x1ebc32)yield _0x2bd908;}}function normalizeDomainFromEmail(_0x1c6939){const _0x3d086b=a18_0x44e4b6,_0x3620d6=String(_0x1c6939||'')[_0x3d086b(0x204)]()['toLowerCase']();if(!_0x3620d6||!_0x3620d6['includes']('@'))return'';const _0x2027bd=getDomain(_0x3620d6)[_0x3d086b(0x217)]()[_0x3d086b(0x1e4)](/\.$/,'');return isValidDomain(_0x2027bd)?_0x2027bd:'';}function isValidDomain(_0x3dd621){const _0x4ba46f=a18_0x44e4b6,_0x27c1d9=String(_0x3dd621||'')['trim']()[_0x4ba46f(0x217)]();if(!_0x27c1d9||_0x27c1d9[_0x4ba46f(0x22b)]>0xfd||_0x27c1d9[_0x4ba46f(0x211)]('..'))return![];const _0x5b81a6=_0x27c1d9['split']('.');if(_0x5b81a6['length']<0x2)return![];return _0x5b81a6[_0x4ba46f(0x20c)](_0x3d12e6=>{const _0x4f92f2=_0x4ba46f;return _0x3d12e6[_0x4f92f2(0x22b)]>0x0&&_0x3d12e6['length']<=0x3f&&/^[a-z0-9-]+$/i['test'](_0x3d12e6)&&!_0x3d12e6[_0x4f92f2(0x234)]('-')&&!_0x3d12e6['endsWith']('-');});}function createLineWriter(_0x252c5a){const _0x5e5869=a18_0x44e4b6,_0x3e5137=fs[_0x5e5869(0x208)](path[_0x5e5869(0x216)](CURRENT_DIR,_0x252c5a),{'flags':'w','encoding':_0x5e5869(0x201),'highWaterMark':0x400*0x400});return _0x3e5137[_0x5e5869(0x218)]=null,_0x3e5137['on'](_0x5e5869(0x23a),_0x427c22=>{const _0x201e36=_0x5e5869;_0x3e5137[_0x201e36(0x218)]=_0x427c22;}),_0x3e5137;}function a18_0x2bc6(){const _0x1ec7f8=['trim','update','constructor','toLocaleString','createWriteStream','iterator','·\x20Emails\x20scanned\x20:\x20','events','every','ETIMEOUT','all','232816NOwqji','has','includes','function','616770swLTLI','errors','128332XcOtgU','join','toLowerCase','extractorError','catch','text','scanned','90kbZxUX','Streaming\x20emails\x20and\x20resolving\x20DNS...','Domain\x20extraction','add','ESERVFAIL','AAAA','Scanned\x20','finally','chalk','some','path','\x20domains','DNS_ERROR','·\x20DNS\x20misses\x20\x20\x20\x20\x20:\x20','2617074CxHMRj','length','search','push','domains.ips.errors.txt','104699pBVbhE','EXTRACTOR_CONCURRENCY','then','resolve6','\x20lookup\x20timed\x20out\x20for\x20','startsWith','promises','stop','env','(((.+)+)+)+$','fulfilled','error','·\x20Unique\x20domains\x20:\x20','apply','217244lAEGYl','map','yellowBright','min','size','replace','duplicates','once','write','misses','resolve4','uniqueDomains','Domains','max','EXTRACTOR_DNS_TIMEOUT_MS','\x20]\x0a','domains.ips.txt','3IgKiVd','1292286GWvrvU','../../functions/globals','end','status','number','ips.emails.txt','·\x20Duplicates\x20\x20\x20\x20\x20:\x20','\x20emails,\x20queued\x20','domains.emails.txt','IPs','11FULmXy','5yaMQIK','log','race','dns','EAI_AGAIN','utf8','toString','records'];a18_0x2bc6=function(){return _0x1ec7f8;};return a18_0x2bc6();}async function writeLine(_0x1939a6,_0x28c39d){const _0x5b6d9c=a18_0x44e4b6;if(_0x1939a6['extractorError'])throw _0x1939a6['extractorError'];!_0x1939a6[_0x5b6d9c(0x1e7)](_0x28c39d+'\x0a',_0x5b6d9c(0x201))&&await Promise[_0x5b6d9c(0x1fe)]([once(_0x1939a6,'drain'),once(_0x1939a6,_0x5b6d9c(0x23a))[_0x5b6d9c(0x231)](([_0x512ff5])=>{throw _0x512ff5;})]);if(_0x1939a6['extractorError'])throw _0x1939a6[_0x5b6d9c(0x218)];}async function closeWriter(_0x285029){const _0x400940=a18_0x44e4b6;if(!_0x285029)return;if(_0x285029[_0x400940(0x218)])throw _0x285029[_0x400940(0x218)];await new Promise((_0x4d2467,_0x4c121f)=>{const _0x5d81b6=_0x400940;_0x285029[_0x5d81b6(0x1e6)](_0x5d81b6(0x23a),_0x4c121f),_0x285029[_0x5d81b6(0x1f3)](_0x4d2467);});if(_0x285029[_0x400940(0x218)])throw _0x285029[_0x400940(0x218)];}function a18_0x32e0(_0x345d75,_0x39a441){const _0x2217b6=a18_0x2bc6();return a18_0x32e0=function(_0x2cf588,_0x2e0302){_0x2cf588=_0x2cf588-0x1e1;let _0x2bc622=_0x2217b6[_0x2cf588];return _0x2bc622;},a18_0x32e0(_0x345d75,_0x39a441);}function updateProgress(_0x435fd5,_0x417ccf){const _0x50cb9e=a18_0x44e4b6;if(!_0x435fd5)return;if(typeof _0x435fd5['update']===_0x50cb9e(0x212))_0x435fd5[_0x50cb9e(0x205)]({'text':_0x417ccf});else{if(_0x50cb9e(0x21a)in _0x435fd5)_0x435fd5[_0x50cb9e(0x21a)]=_0x417ccf;}}function shouldReportProgress(_0x1f9684){const _0x4e3ee4=a18_0x44e4b6;return _0x1f9684[_0x4e3ee4(0x21b)]>0x0&&_0x1f9684[_0x4e3ee4(0x21b)]%PROGRESS_EVERY===0x0;}function printSummary(_0x564fc6,_0x1bc3c9,_0x6e2d83=[]){const _0x2a5328=a18_0x44e4b6;executionCompleted(),console[_0x2a5328(0x1fd)](chalk['bold']('\x0a'+_0x564fc6+'\x20done')),console['log'](_0x2a5328(0x20a)+_0x1bc3c9[_0x2a5328(0x21b)][_0x2a5328(0x207)]()),console[_0x2a5328(0x1fd)](_0x2a5328(0x23b)+_0x1bc3c9[_0x2a5328(0x1ea)][_0x2a5328(0x207)]());typeof _0x1bc3c9[_0x2a5328(0x203)]===_0x2a5328(0x1f5)&&(console[_0x2a5328(0x1fd)]('·\x20IP\x20records\x20\x20\x20\x20\x20:\x20'+_0x1bc3c9['records'][_0x2a5328(0x207)]()),console['log'](_0x2a5328(0x229)+_0x1bc3c9[_0x2a5328(0x1e8)][_0x2a5328(0x207)]()),console[_0x2a5328(0x1fd)]('·\x20DNS\x20errors\x20\x20\x20\x20\x20:\x20'+_0x1bc3c9[_0x2a5328(0x214)][_0x2a5328(0x207)]()));console['log'](_0x2a5328(0x1f7)+_0x1bc3c9[_0x2a5328(0x1e5)][_0x2a5328(0x207)]());for(const _0x2e3f46 of _0x6e2d83)console[_0x2a5328(0x1fd)]('·\x20Output\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20'+_0x2e3f46);console[_0x2a5328(0x1fd)](''),alertUser();}async function runDomainExtraction(_0x55c826){const _0x5d92e5=a18_0x44e4b6,_0x48595b=spinnerFunc({'text':'Streaming\x20emails...'}),_0x42af5f=createLineWriter('domains.emails.txt'),_0x446996=new Set(),_0x3a158e={'scanned':0x0,'uniqueDomains':0x0,'duplicates':0x0};try{for await(const _0xfa02af of toAsyncIterable(_0x55c826)){_0x3a158e[_0x5d92e5(0x21b)]++;const _0x4efd48=normalizeDomainFromEmail(_0xfa02af);if(!_0x4efd48)continue;if(_0x446996[_0x5d92e5(0x210)](_0x4efd48)){_0x3a158e[_0x5d92e5(0x1e5)]++;continue;}_0x446996[_0x5d92e5(0x21f)](_0x4efd48),_0x3a158e[_0x5d92e5(0x1ea)]++,await writeLine(_0x42af5f,_0x4efd48),shouldReportProgress(_0x3a158e)&&updateProgress(_0x48595b,_0x5d92e5(0x222)+_0x3a158e[_0x5d92e5(0x21b)]['toLocaleString']()+'\x20emails,\x20wrote\x20'+_0x3a158e[_0x5d92e5(0x1ea)][_0x5d92e5(0x207)]()+_0x5d92e5(0x227));}}finally{await closeWriter(_0x42af5f);if(_0x48595b&&typeof _0x48595b[_0x5d92e5(0x236)]===_0x5d92e5(0x212))_0x48595b[_0x5d92e5(0x236)]();}printSummary(_0x5d92e5(0x21e),_0x3a158e,[_0x5d92e5(0x1f9)]);}function timeoutError(_0x339c2b,_0x3d2e76){const _0x22ac20=a18_0x44e4b6,_0x471751=new Error(_0x3d2e76+_0x22ac20(0x233)+_0x339c2b);return _0x471751['code']=_0x22ac20(0x20d),_0x471751;}async function withTimeout(_0x490684,_0x1f4506,_0x97b592,_0x4f727f){const _0xa545ad=a18_0x44e4b6;let _0x18ee51=null;try{return await Promise[_0xa545ad(0x1fe)]([_0x490684,new Promise((_0x468687,_0x16ba88)=>{_0x18ee51=setTimeout(()=>_0x16ba88(timeoutError(_0x97b592,_0x4f727f)),_0x1f4506);})]);}finally{if(_0x18ee51)clearTimeout(_0x18ee51);}}async function resolveRecord(_0x2e0bb5,_0x5092e5){const _0x552c6e=a18_0x44e4b6,_0x329665=_0x5092e5===_0x552c6e(0x221)?dns[_0x552c6e(0x232)](_0x2e0bb5):dns[_0x552c6e(0x1e9)](_0x2e0bb5);return withTimeout(_0x329665,DNS_TIMEOUT_MS,_0x2e0bb5,_0x5092e5);}function isRetryableDnsError(_0x967570){const _0x188428=a18_0x44e4b6;return['ETIMEOUT',_0x188428(0x200),_0x188428(0x220),'ECONNRESET'][_0x188428(0x211)](_0x967570?.['code']);}async function resolveDomainIps(_0x25a805){const _0x7b7b79=a18_0x44e4b6;let _0x12431e=[];for(let _0x14669b=0x0;_0x14669b<=DNS_RETRIES;_0x14669b++){const _0x4b33f3=await Promise['allSettled']([resolveRecord(_0x25a805,'A'),resolveRecord(_0x25a805,'AAAA')]),_0x15e26c=[];_0x12431e=[];for(const _0x17fe05 of _0x4b33f3){if(_0x17fe05[_0x7b7b79(0x1f4)]===_0x7b7b79(0x239))_0x15e26c[_0x7b7b79(0x22d)](..._0x17fe05['value']);else _0x12431e[_0x7b7b79(0x22d)](_0x17fe05['reason']);}if(_0x15e26c[_0x7b7b79(0x22b)])return{'ips':Array['from'](new Set(_0x15e26c)),'error':null};if(!_0x12431e[_0x7b7b79(0x225)](isRetryableDnsError))break;}const _0x5a52a6=_0x12431e[_0x7b7b79(0x23e)](_0x227654=>_0x227654?.['code']||_0x227654?.['message']||_0x7b7b79(0x228))[_0x7b7b79(0x216)](',\x20');return{'ips':[],'error':_0x5a52a6||_0x7b7b79(0x228)};}async function runIpExtraction(_0x97b125){const _0x5b6daa=a18_0x44e4b6,_0x260fad=spinnerFunc({'text':_0x5b6daa(0x21d)}),_0x4964b8=createLineWriter(_0x5b6daa(0x1f6)),_0x57b79b=createLineWriter('domains.ips.txt'),_0x50023e=createLineWriter(_0x5b6daa(0x22e)),_0x2761cc=new Set(),_0x12b591=new Set(),_0x556f72=new Set(),_0x49df64={'scanned':0x0,'uniqueDomains':0x0,'duplicates':0x0,'records':0x0,'misses':0x0,'errors':0x0};async function _0x3eea1c(_0x78b208){const _0x3a0be6=_0x5b6daa,{ips:_0x2c4e14,error:_0x244468}=await resolveDomainIps(_0x78b208);if(!_0x2c4e14['length']){_0x244468?(_0x49df64[_0x3a0be6(0x214)]++,await writeLine(_0x50023e,_0x78b208+'|'+_0x244468)):_0x49df64[_0x3a0be6(0x1e8)]++;return;}for(const _0x302d8c of _0x2c4e14){await writeLine(_0x57b79b,_0x78b208+'|'+_0x302d8c);if(_0x12b591[_0x3a0be6(0x210)](_0x302d8c))continue;_0x12b591[_0x3a0be6(0x21f)](_0x302d8c),_0x49df64[_0x3a0be6(0x203)]++,await writeLine(_0x4964b8,_0x302d8c);}}try{for await(const _0x1396c7 of toAsyncIterable(_0x97b125)){_0x49df64[_0x5b6daa(0x21b)]++;const _0x16318c=normalizeDomainFromEmail(_0x1396c7);if(!_0x16318c)continue;if(_0x2761cc['has'](_0x16318c)){_0x49df64[_0x5b6daa(0x1e5)]++;continue;}_0x2761cc[_0x5b6daa(0x21f)](_0x16318c),_0x49df64[_0x5b6daa(0x1ea)]++;const _0x347eb6=_0x3eea1c(_0x16318c)[_0x5b6daa(0x223)](()=>_0x556f72['delete'](_0x347eb6));_0x556f72['add'](_0x347eb6);if(_0x556f72[_0x5b6daa(0x1e3)]>=EXTRACTOR_CONCURRENCY)await Promise['race'](_0x556f72);shouldReportProgress(_0x49df64)&&updateProgress(_0x260fad,'Scanned\x20'+_0x49df64[_0x5b6daa(0x21b)]['toLocaleString']()+_0x5b6daa(0x1f8)+_0x49df64['uniqueDomains'][_0x5b6daa(0x207)]()+_0x5b6daa(0x227));}await Promise[_0x5b6daa(0x20e)](_0x556f72);}finally{await Promise['all']([closeWriter(_0x4964b8),closeWriter(_0x57b79b),closeWriter(_0x50023e)]);if(_0x260fad&&typeof _0x260fad[_0x5b6daa(0x236)]===_0x5b6daa(0x212))_0x260fad[_0x5b6daa(0x236)]();}printSummary('Domain\x20to\x20IP\x20extraction',_0x49df64,[_0x5b6daa(0x1f6),_0x5b6daa(0x1ef),_0x5b6daa(0x22e)]);}
|
|
1
|
+
const a19_0x20aac5=a19_0x29d9;(function(_0x481dfc,_0x275b12){const _0x5964fd=a19_0x29d9,_0x3b977f=_0x481dfc();while(!![]){try{const _0x3ae3e1=-parseInt(_0x5964fd(0x1dc))/0x1+parseInt(_0x5964fd(0x207))/0x2*(parseInt(_0x5964fd(0x200))/0x3)+parseInt(_0x5964fd(0x237))/0x4+parseInt(_0x5964fd(0x1f0))/0x5*(parseInt(_0x5964fd(0x231))/0x6)+-parseInt(_0x5964fd(0x218))/0x7*(parseInt(_0x5964fd(0x1f5))/0x8)+parseInt(_0x5964fd(0x1ef))/0x9*(parseInt(_0x5964fd(0x215))/0xa)+parseInt(_0x5964fd(0x1d6))/0xb;if(_0x3ae3e1===_0x275b12)break;else _0x3b977f['push'](_0x3b977f['shift']());}catch(_0x514b7a){_0x3b977f['push'](_0x3b977f['shift']());}}}(a19_0x37c6,0x7973b));const a19_0x593f03=(function(){let _0x160046=!![];return function(_0x537591,_0x5867aa){const _0x24f6e5=_0x160046?function(){const _0x23f768=a19_0x29d9;if(_0x5867aa){const _0xe12d40=_0x5867aa[_0x23f768(0x1f6)](_0x537591,arguments);return _0x5867aa=null,_0xe12d40;}}:function(){};return _0x160046=![],_0x24f6e5;};}()),a19_0x3d7dd6=a19_0x593f03(this,function(){const _0xc39925=a19_0x29d9;return a19_0x3d7dd6[_0xc39925(0x238)]()[_0xc39925(0x219)](_0xc39925(0x202))[_0xc39925(0x238)]()[_0xc39925(0x1f4)](a19_0x3d7dd6)[_0xc39925(0x219)](_0xc39925(0x202));});a19_0x3d7dd6();const fs=require('fs'),dns=require(a19_0x20aac5(0x23b))['promises'],path=require(a19_0x20aac5(0x1e2)),chalk=require(a19_0x20aac5(0x22a)),{once}=require(a19_0x20aac5(0x227)),{CURRENT_DIR,alertUser,spinnerFunc,executionCompleted,getDomain}=require('../../functions/globals'),JwtVerify=require('../../utils/jwtVerify'),EXTRACTOR_CONCURRENCY=Math[a19_0x20aac5(0x21c)](0x1,Math[a19_0x20aac5(0x21d)](0x64,Number(process[a19_0x20aac5(0x223)][a19_0x20aac5(0x21f)])||0x19)),DNS_TIMEOUT_MS=Math['max'](0x3e8,Math[a19_0x20aac5(0x21d)](0xea60,Number(process[a19_0x20aac5(0x223)][a19_0x20aac5(0x210)])||0x1f40)),DNS_RETRIES=Math[a19_0x20aac5(0x21c)](0x0,Math[a19_0x20aac5(0x21d)](0x5,Number(process['env'][a19_0x20aac5(0x232)])||0x1)),PROGRESS_EVERY=Math[a19_0x20aac5(0x21c)](0x3e8,Number(process[a19_0x20aac5(0x223)]['EXTRACTOR_PROGRESS_EVERY'])||0xc350);function announceTitle(_0x4385f5){const _0x4d54e8=a19_0x20aac5;return console[_0x4d54e8(0x1dd)](_0x4d54e8(0x21e)+chalk[_0x4d54e8(0x20b)](_0x4385f5)+_0x4d54e8(0x20e));}function extractIPs(_0x32e50d){const _0x232121=a19_0x20aac5;return JwtVerify(),announceTitle(_0x232121(0x1e7)),runIpExtraction(_0x32e50d)[_0x232121(0x1e9)](fatalExtractorError);}function extractDomains(_0x4c77e7){const _0x5cab3f=a19_0x20aac5;return JwtVerify(),announceTitle(_0x5cab3f(0x222)),runDomainExtraction(_0x4c77e7)[_0x5cab3f(0x1e9)](fatalExtractorError);}function a19_0x29d9(_0x49c687,_0x27e3b7){const _0x286593=a19_0x37c6();return a19_0x29d9=function(_0x3d7dd6,_0x593f03){_0x3d7dd6=_0x3d7dd6-0x1d6;let _0x37c6b0=_0x286593[_0x3d7dd6];return _0x37c6b0;},a19_0x29d9(_0x49c687,_0x27e3b7);}module[a19_0x20aac5(0x201)]={'extractIPs':extractIPs,'extractDomains':extractDomains};function fatalExtractorError(_0x1d73fc){const _0x2e9a5b=a19_0x20aac5;console[_0x2e9a5b(0x1da)](_0x1d73fc?.[_0x2e9a5b(0x1e1)]||_0x1d73fc),process[_0x2e9a5b(0x205)](0x1);}async function*toAsyncIterable(_0x92c27d){const _0x2d36f7=a19_0x20aac5;if(!_0x92c27d)return;if(typeof _0x92c27d[Symbol[_0x2d36f7(0x236)]]===_0x2d36f7(0x220)){for await(const _0x391f9f of _0x92c27d)yield _0x391f9f;return;}if(typeof _0x92c27d[Symbol[_0x2d36f7(0x1db)]]===_0x2d36f7(0x220)){for(const _0x1a6183 of _0x92c27d)yield _0x1a6183;}}function normalizeDomainFromEmail(_0xf6eb6a){const _0x3bed71=a19_0x20aac5,_0x264300=String(_0xf6eb6a||'')[_0x3bed71(0x1d8)]()[_0x3bed71(0x1d7)]();if(!_0x264300||!_0x264300[_0x3bed71(0x228)]('@'))return'';const _0x3b6c1d=getDomain(_0x264300)['toLowerCase']()[_0x3bed71(0x1fb)](/\.$/,'');return isValidDomain(_0x3b6c1d)?_0x3b6c1d:'';}function isValidDomain(_0x5f58c7){const _0x33223f=a19_0x20aac5,_0x716fe8=String(_0x5f58c7||'')[_0x33223f(0x1d8)]()[_0x33223f(0x1d7)]();if(!_0x716fe8||_0x716fe8[_0x33223f(0x233)]>0xfd||_0x716fe8[_0x33223f(0x228)]('..'))return![];const _0x3839ef=_0x716fe8[_0x33223f(0x209)]('.');if(_0x3839ef[_0x33223f(0x233)]<0x2)return![];return _0x3839ef[_0x33223f(0x211)](_0x46de77=>{const _0x402d47=_0x33223f;return _0x46de77[_0x402d47(0x233)]>0x0&&_0x46de77[_0x402d47(0x233)]<=0x3f&&/^[a-z0-9-]+$/i[_0x402d47(0x224)](_0x46de77)&&!_0x46de77['startsWith']('-')&&!_0x46de77[_0x402d47(0x1e6)]('-');});}function createLineWriter(_0x2bc822){const _0x3c98ec=a19_0x20aac5,_0x3f17ea=fs[_0x3c98ec(0x230)](path['join'](CURRENT_DIR,_0x2bc822),{'flags':'w','encoding':'utf8','highWaterMark':0x400*0x400});return _0x3f17ea['extractorError']=null,_0x3f17ea['on'](_0x3c98ec(0x1da),_0x87e40=>{_0x3f17ea['extractorError']=_0x87e40;}),_0x3f17ea;}async function writeLine(_0x25811d,_0x27c23d){const _0x59996f=a19_0x20aac5;if(_0x25811d[_0x59996f(0x1fd)])throw _0x25811d[_0x59996f(0x1fd)];!_0x25811d[_0x59996f(0x20f)](_0x27c23d+'\x0a',_0x59996f(0x213))&&await Promise[_0x59996f(0x22c)]([once(_0x25811d,'drain'),once(_0x25811d,_0x59996f(0x1da))[_0x59996f(0x225)](([_0x16ee41])=>{throw _0x16ee41;})]);if(_0x25811d[_0x59996f(0x1fd)])throw _0x25811d[_0x59996f(0x1fd)];}async function closeWriter(_0x41818d){const _0x3fb0e5=a19_0x20aac5;if(!_0x41818d)return;if(_0x41818d[_0x3fb0e5(0x1fd)])throw _0x41818d[_0x3fb0e5(0x1fd)];await new Promise((_0x3eeee8,_0x5afd5d)=>{const _0x3c3893=_0x3fb0e5;_0x41818d[_0x3c3893(0x1e5)](_0x3c3893(0x1da),_0x5afd5d),_0x41818d[_0x3c3893(0x204)](_0x3eeee8);});if(_0x41818d[_0x3fb0e5(0x1fd)])throw _0x41818d[_0x3fb0e5(0x1fd)];}function updateProgress(_0x1b5747,_0x342279){const _0x56335e=a19_0x20aac5;if(!_0x1b5747)return;if(typeof _0x1b5747[_0x56335e(0x1ff)]===_0x56335e(0x220))_0x1b5747['update']({'text':_0x342279});else{if(_0x56335e(0x1fe)in _0x1b5747)_0x1b5747[_0x56335e(0x1fe)]=_0x342279;}}function shouldReportProgress(_0x5bc576){const _0x52addd=a19_0x20aac5;return _0x5bc576[_0x52addd(0x20c)]>0x0&&_0x5bc576[_0x52addd(0x20c)]%PROGRESS_EVERY===0x0;}function printSummary(_0x323465,_0x19f7aa,_0x50f28f=[]){const _0x577d67=a19_0x20aac5;executionCompleted(),console[_0x577d67(0x1dd)](chalk[_0x577d67(0x21a)]('\x0a'+_0x323465+'\x20done')),console[_0x577d67(0x1dd)](_0x577d67(0x22d)+_0x19f7aa['scanned'][_0x577d67(0x23d)]()),console['log'](_0x577d67(0x217)+_0x19f7aa['uniqueDomains'][_0x577d67(0x23d)]());typeof _0x19f7aa[_0x577d67(0x1e8)]===_0x577d67(0x206)&&(console[_0x577d67(0x1dd)](_0x577d67(0x23c)+_0x19f7aa[_0x577d67(0x1e8)][_0x577d67(0x23d)]()),console[_0x577d67(0x1dd)](_0x577d67(0x1e3)+_0x19f7aa[_0x577d67(0x20a)][_0x577d67(0x23d)]()),console['log'](_0x577d67(0x1ed)+_0x19f7aa['errors'][_0x577d67(0x23d)]()));console[_0x577d67(0x1dd)](_0x577d67(0x1e4)+_0x19f7aa['duplicates'][_0x577d67(0x23d)]());for(const _0x4c37f2 of _0x50f28f)console[_0x577d67(0x1dd)](_0x577d67(0x203)+_0x4c37f2);console[_0x577d67(0x1dd)](''),alertUser();}async function runDomainExtraction(_0x13af32){const _0x18b90f=a19_0x20aac5,_0x2f16eb=spinnerFunc({'text':'Streaming\x20emails...'}),_0x459818=createLineWriter(_0x18b90f(0x22e)),_0x4095db=new Set(),_0x527881={'scanned':0x0,'uniqueDomains':0x0,'duplicates':0x0};try{for await(const _0x5dbc1a of toAsyncIterable(_0x13af32)){_0x527881[_0x18b90f(0x20c)]++;const _0x1bfe0a=normalizeDomainFromEmail(_0x5dbc1a);if(!_0x1bfe0a)continue;if(_0x4095db[_0x18b90f(0x1f3)](_0x1bfe0a)){_0x527881[_0x18b90f(0x22b)]++;continue;}_0x4095db[_0x18b90f(0x234)](_0x1bfe0a),_0x527881[_0x18b90f(0x1fa)]++,await writeLine(_0x459818,_0x1bfe0a),shouldReportProgress(_0x527881)&&updateProgress(_0x2f16eb,_0x18b90f(0x1e0)+_0x527881[_0x18b90f(0x20c)]['toLocaleString']()+_0x18b90f(0x1fc)+_0x527881[_0x18b90f(0x1fa)][_0x18b90f(0x23d)]()+'\x20domains');}}finally{await closeWriter(_0x459818);if(_0x2f16eb&&typeof _0x2f16eb[_0x18b90f(0x1ec)]===_0x18b90f(0x220))_0x2f16eb['stop']();}printSummary(_0x18b90f(0x212),_0x527881,[_0x18b90f(0x22e)]);}function timeoutError(_0x3c4829,_0x719937){const _0x3ae40f=a19_0x20aac5,_0x36aca2=new Error(_0x719937+_0x3ae40f(0x1f7)+_0x3c4829);return _0x36aca2[_0x3ae40f(0x1df)]=_0x3ae40f(0x21b),_0x36aca2;}async function withTimeout(_0x1b82a8,_0x27aa87,_0x520ba0,_0x1258c8){const _0x128600=a19_0x20aac5;let _0x1a71c3=null;try{return await Promise[_0x128600(0x22c)]([_0x1b82a8,new Promise((_0x350994,_0x457590)=>{_0x1a71c3=setTimeout(()=>_0x457590(timeoutError(_0x520ba0,_0x1258c8)),_0x27aa87);})]);}finally{if(_0x1a71c3)clearTimeout(_0x1a71c3);}}async function resolveRecord(_0x6eb8b0,_0xba0546){const _0x6fa497=a19_0x20aac5,_0x417de6=_0xba0546===_0x6fa497(0x1eb)?dns[_0x6fa497(0x229)](_0x6eb8b0):dns[_0x6fa497(0x23a)](_0x6eb8b0);return withTimeout(_0x417de6,DNS_TIMEOUT_MS,_0x6eb8b0,_0xba0546);}function isRetryableDnsError(_0x46fe1b){const _0xddbd2c=a19_0x20aac5;return[_0xddbd2c(0x21b),'EAI_AGAIN',_0xddbd2c(0x1ee),'ECONNRESET'][_0xddbd2c(0x228)](_0x46fe1b?.['code']);}async function resolveDomainIps(_0x1de9ef){const _0x2cf328=a19_0x20aac5;let _0x263ec2=[];for(let _0x49c0f7=0x0;_0x49c0f7<=DNS_RETRIES;_0x49c0f7++){const _0x5dd0b2=await Promise[_0x2cf328(0x1f2)]([resolveRecord(_0x1de9ef,'A'),resolveRecord(_0x1de9ef,_0x2cf328(0x1eb))]),_0x474832=[];_0x263ec2=[];for(const _0x15986a of _0x5dd0b2){if(_0x15986a[_0x2cf328(0x208)]===_0x2cf328(0x239))_0x474832[_0x2cf328(0x1f1)](..._0x15986a['value']);else _0x263ec2[_0x2cf328(0x1f1)](_0x15986a[_0x2cf328(0x1f9)]);}if(_0x474832['length'])return{'ips':Array[_0x2cf328(0x22f)](new Set(_0x474832)),'error':null};if(!_0x263ec2['some'](isRetryableDnsError))break;}const _0x37da7e=_0x263ec2[_0x2cf328(0x1d9)](_0x1c2694=>_0x1c2694?.['code']||_0x1c2694?.[_0x2cf328(0x1e1)]||'DNS_ERROR')[_0x2cf328(0x216)](',\x20');return{'ips':[],'error':_0x37da7e||_0x2cf328(0x226)};}async function runIpExtraction(_0x44ef92){const _0x3bdbeb=a19_0x20aac5,_0x2c62c2=spinnerFunc({'text':_0x3bdbeb(0x214)}),_0x630520=createLineWriter(_0x3bdbeb(0x20d)),_0xa85119=createLineWriter(_0x3bdbeb(0x235)),_0x34108a=createLineWriter(_0x3bdbeb(0x1f8)),_0x471a9c=new Set(),_0x490d05=new Set(),_0x3f60db=new Set(),_0x4fa3ad={'scanned':0x0,'uniqueDomains':0x0,'duplicates':0x0,'records':0x0,'misses':0x0,'errors':0x0};async function _0x7197c4(_0x548c27){const _0x4c260d=_0x3bdbeb,{ips:_0x60b301,error:_0x57e595}=await resolveDomainIps(_0x548c27);if(!_0x60b301[_0x4c260d(0x233)]){_0x57e595?(_0x4fa3ad['errors']++,await writeLine(_0x34108a,_0x548c27+'|'+_0x57e595)):_0x4fa3ad[_0x4c260d(0x20a)]++;return;}for(const _0x56af60 of _0x60b301){await writeLine(_0xa85119,_0x548c27+'|'+_0x56af60);if(_0x490d05[_0x4c260d(0x1f3)](_0x56af60))continue;_0x490d05[_0x4c260d(0x234)](_0x56af60),_0x4fa3ad[_0x4c260d(0x1e8)]++,await writeLine(_0x630520,_0x56af60);}}try{for await(const _0xd518b9 of toAsyncIterable(_0x44ef92)){_0x4fa3ad[_0x3bdbeb(0x20c)]++;const _0x3404cf=normalizeDomainFromEmail(_0xd518b9);if(!_0x3404cf)continue;if(_0x471a9c['has'](_0x3404cf)){_0x4fa3ad['duplicates']++;continue;}_0x471a9c[_0x3bdbeb(0x234)](_0x3404cf),_0x4fa3ad['uniqueDomains']++;const _0x4832e3=_0x7197c4(_0x3404cf)[_0x3bdbeb(0x23f)](()=>_0x3f60db[_0x3bdbeb(0x23e)](_0x4832e3));_0x3f60db[_0x3bdbeb(0x234)](_0x4832e3);if(_0x3f60db['size']>=EXTRACTOR_CONCURRENCY)await Promise[_0x3bdbeb(0x22c)](_0x3f60db);shouldReportProgress(_0x4fa3ad)&&updateProgress(_0x2c62c2,_0x3bdbeb(0x1e0)+_0x4fa3ad['scanned'][_0x3bdbeb(0x23d)]()+_0x3bdbeb(0x1de)+_0x4fa3ad[_0x3bdbeb(0x1fa)][_0x3bdbeb(0x23d)]()+_0x3bdbeb(0x221));}await Promise[_0x3bdbeb(0x1ea)](_0x3f60db);}finally{await Promise[_0x3bdbeb(0x1ea)]([closeWriter(_0x630520),closeWriter(_0xa85119),closeWriter(_0x34108a)]);if(_0x2c62c2&&typeof _0x2c62c2['stop']===_0x3bdbeb(0x220))_0x2c62c2[_0x3bdbeb(0x1ec)]();}printSummary('Domain\x20to\x20IP\x20extraction',_0x4fa3ad,[_0x3bdbeb(0x20d),'domains.ips.txt',_0x3bdbeb(0x1f8)]);}function a19_0x37c6(){const _0x5700d0=['catch','all','AAAA','stop','·\x20DNS\x20errors\x20\x20\x20\x20\x20:\x20','ESERVFAIL','7533lbbdAq','299710gzVZQn','push','allSettled','has','constructor','40HsGxWM','apply','\x20lookup\x20timed\x20out\x20for\x20','domains.ips.errors.txt','reason','uniqueDomains','replace','\x20emails,\x20wrote\x20','extractorError','text','update','46635fMrlDN','exports','(((.+)+)+)+$','·\x20Output\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20','end','exit','number','98gkTYyr','status','split','misses','yellowBright','scanned','ips.emails.txt','\x20]\x0a','write','EXTRACTOR_DNS_TIMEOUT_MS','every','Domain\x20extraction','utf8','Streaming\x20emails\x20and\x20resolving\x20DNS...','9150MsmnYQ','join','·\x20Unique\x20domains\x20:\x20','1199135eYMKay','search','bold','ETIMEOUT','max','min','Extracting\x20emails\x20for...\x20[\x20','EXTRACTOR_CONCURRENCY','function','\x20domains','Domains','env','test','then','DNS_ERROR','events','includes','resolve6','chalk','duplicates','race','·\x20Emails\x20scanned\x20:\x20','domains.emails.txt','from','createWriteStream','48qSZGZM','EXTRACTOR_DNS_RETRIES','length','add','domains.ips.txt','asyncIterator','712256MCUcDg','toString','fulfilled','resolve4','dns','·\x20IP\x20records\x20\x20\x20\x20\x20:\x20','toLocaleString','delete','finally','871629EEIWkm','toLowerCase','trim','map','error','iterator','910407hekvIY','log','\x20emails,\x20queued\x20','code','Scanned\x20','message','path','·\x20DNS\x20misses\x20\x20\x20\x20\x20:\x20','·\x20Duplicates\x20\x20\x20\x20\x20:\x20','once','endsWith','IPs','records'];a19_0x37c6=function(){return _0x5700d0;};return a19_0x37c6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a21_0x4b86(){const _0x52f7c8=['10tGwTSM','toString','replace','(((.+)+)+)+$','search','{\x5cb\x0a','32vJuDDj','5yDSxfq','{\x5csuper\x0a','{{{\x0a','{\x5cul\x0a','3760996JHllgx','4407201JFrbHm','32810162liIOAT','{\x5cpard\x5cpar}\x0a','{\x5csub\x0a','149008ifQDDu','2372808DEQKBh','\x0a\x5cpar}\x0a','exports','{\x5cfield{\x5c*\x5cfldinst{HYPERLINK\x0a\x20\x22$2\x22\x0a}}{\x5cfldrslt{\x5cul\x5ccf1\x0a','47676pOtLKx','9882402RUsRGf','constructor','{\x5cpard\x0a','21AjDBeT'];a21_0x4b86=function(){return _0x52f7c8;};return a21_0x4b86();}const a21_0x279080=a21_0x5776;(function(_0x317647,_0xb0be7f){const _0x27ae59=a21_0x5776,_0x1777c9=_0x317647();while(!![]){try{const _0x481c4c=parseInt(_0x27ae59(0x1ad))/0x1+parseInt(_0x27ae59(0x1a3))/0x2*(-parseInt(_0x27ae59(0x1b2))/0x3)+parseInt(_0x27ae59(0x1a8))/0x4+-parseInt(_0x27ae59(0x1a4))/0x5*(-parseInt(_0x27ae59(0x1b3))/0x6)+parseInt(_0x27ae59(0x1b6))/0x7*(parseInt(_0x27ae59(0x1ae))/0x8)+parseInt(_0x27ae59(0x1a9))/0x9*(parseInt(_0x27ae59(0x19d))/0xa)+-parseInt(_0x27ae59(0x1aa))/0xb;if(_0x481c4c===_0xb0be7f)break;else _0x1777c9['push'](_0x1777c9['shift']());}catch(_0x3bdc5c){_0x1777c9['push'](_0x1777c9['shift']());}}}(a21_0x4b86,0xd68d2));const a21_0x11f0fe=(function(){let _0x5693a7=!![];return function(_0x459451,_0x1f1c9c){const _0x1a309=_0x5693a7?function(){if(_0x1f1c9c){const _0x3ea3a8=_0x1f1c9c['apply'](_0x459451,arguments);return _0x1f1c9c=null,_0x3ea3a8;}}:function(){};return _0x5693a7=![],_0x1a309;};}()),a21_0x294443=a21_0x11f0fe(this,function(){const _0x4f6bf7=a21_0x5776;return a21_0x294443['toString']()[_0x4f6bf7(0x1a1)]('(((.+)+)+)+$')[_0x4f6bf7(0x19e)]()[_0x4f6bf7(0x1b4)](a21_0x294443)[_0x4f6bf7(0x1a1)](_0x4f6bf7(0x1a0));});a21_0x294443();function a21_0x5776(_0x49c339,_0x292c25){const _0x360b97=a21_0x4b86();return a21_0x5776=function(_0x294443,_0x11f0fe){_0x294443=_0x294443-0x19d;let _0x4b8669=_0x360b97[_0x294443];return _0x4b8669;},a21_0x5776(_0x49c339,_0x292c25);}function convertHtmlToRtf(_0x271c83){const _0x42a25c=a21_0x5776;if(!(typeof _0x271c83==='string'&&_0x271c83))return null;let _0x196229,_0x67372,_0x303e61=_0x271c83;return _0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:hr)(?:\s+[^>]*)?\s*[\/]?>/gi,'{\x5cpard\x20\x5cbrdrb\x20\x5cbrdrs\x20\x5cbrdrw10\x20\x5cbrsp20\x20\x5cpar}\x0a{\x5cpard\x5cpar}\x0a'),_0x303e61=_0x303e61['replace'](/<(?:br)(?:\s+[^>]*)?\s*[\/]?>/gi,_0x42a25c(0x1ab)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:p|div|section|article)(?:\s+[^>]*)?\s*[\/]>/gi,_0x42a25c(0x1ab)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:[^>]+)\/>/g,''),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<a(?:\s+[^>]*)?(?:\s+href=(["'])(?:javascript:void\(0?\);?|#|return false;?|void\(0?\);?|)\1)(?:\s+[^>]*)?>/gi,_0x42a25c(0x1a6)),_0x196229=_0x303e61,_0x303e61=_0x303e61['replace'](/<a(?:\s+[^>]*)?(?:\s+href=(["'])(.+)\1)(?:\s+[^>]*)?>/gi,_0x42a25c(0x1b1)),_0x67372=_0x303e61!==_0x196229,_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<a(?:\s+[^>]*)?>/gi,_0x42a25c(0x1a6)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<\/a(?:\s+[^>]*)?>/gi,'\x0a}}}'),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:b|strong)(?:\s+[^>]*)?>/gi,_0x42a25c(0x1a2)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:i|em)(?:\s+[^>]*)?>/gi,'{\x5ci\x0a'),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:u|ins)(?:\s+[^>]*)?>/gi,_0x42a25c(0x1a7)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:strike|del)(?:\s+[^>]*)?>/gi,'{\x5cstrike\x0a'),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<sup(?:\s+[^>]*)?>/gi,_0x42a25c(0x1a5)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<sub(?:\s+[^>]*)?>/gi,_0x42a25c(0x1ac)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:p|div|section|article)(?:\s+[^>]*)?>/gi,_0x42a25c(0x1b5)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<\/(?:p|div|section|article)(?:\s+[^>]*)?>/gi,_0x42a25c(0x1af)),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<\/(?:b|strong|i|em|u|ins|strike|del|sup|sub)(?:\s+[^>]*)?>/gi,'\x0a}'),_0x303e61=_0x303e61[_0x42a25c(0x19f)](/<(?:[^>]+)>/g,''),_0x303e61='{\x5crtf1\x5cansi\x0a'+(_0x67372?'{\x5ccolortbl\x0a;\x0a\x5cred0\x5cgreen0\x5cblue255;\x0a}\x0a':'')+_0x303e61+'\x0a}',_0x303e61;}module[a21_0x279080(0x1b0)]=convertHtmlToRtf;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x4b046c=a22_0x504d;(function(_0x2f2f9d,_0x38a396){const _0x55d28a=a22_0x504d,_0x1cc674=_0x2f2f9d();while(!![]){try{const _0x33feae=parseInt(_0x55d28a(0x180))/0x1*(parseInt(_0x55d28a(0x197))/0x2)+-parseInt(_0x55d28a(0x176))/0x3+parseInt(_0x55d28a(0x199))/0x4+parseInt(_0x55d28a(0x18f))/0x5*(-parseInt(_0x55d28a(0x178))/0x6)+-parseInt(_0x55d28a(0x19a))/0x7*(-parseInt(_0x55d28a(0x170))/0x8)+-parseInt(_0x55d28a(0x182))/0x9*(-parseInt(_0x55d28a(0x187))/0xa)+-parseInt(_0x55d28a(0x198))/0xb;if(_0x33feae===_0x38a396)break;else _0x1cc674['push'](_0x1cc674['shift']());}catch(_0x4f5332){_0x1cc674['push'](_0x1cc674['shift']());}}}(a22_0x1c57,0x9d88b));function a22_0x504d(_0x3ddc82,_0x3de010){const _0x3d42a7=a22_0x1c57();return a22_0x504d=function(_0x44cc84,_0xd2e4c3){_0x44cc84=_0x44cc84-0x16f;let _0x1c5771=_0x3d42a7[_0x44cc84];return _0x1c5771;},a22_0x504d(_0x3ddc82,_0x3de010);}const a22_0xd2e4c3=(function(){let _0x5db69d=!![];return function(_0x3a629c,_0x3ea127){const _0x2e0870=_0x5db69d?function(){if(_0x3ea127){const _0x214606=_0x3ea127['apply'](_0x3a629c,arguments);return _0x3ea127=null,_0x214606;}}:function(){};return _0x5db69d=![],_0x2e0870;};}()),a22_0x44cc84=a22_0xd2e4c3(this,function(){const _0x1bf0d2=a22_0x504d;return a22_0x44cc84[_0x1bf0d2(0x17c)]()[_0x1bf0d2(0x191)](_0x1bf0d2(0x18c))['toString']()['constructor'](a22_0x44cc84)['search']('(((.+)+)+)+$');});a22_0x44cc84();const fs=require('fs'),htmlToRtf=require(a22_0x4b046c(0x189)),cheerio=require(a22_0x4b046c(0x181)),axios=require(a22_0x4b046c(0x17b)),sharp=require('sharp'),{promisify}=require('util'),{isHostnameSafe}=require(a22_0x4b046c(0x174)),readFileAsync=promisify(fs['readFile']);function a22_0x1c57(){const _0x3c8a2d=['3190BXoRDL','4633871HYfAMl','826608ZVSgOh','1649704JdpyfZ','request','from','arraybuffer','16XztNTP','then','push','get','../globals','load','1657698BjPmaQ','html','15948QOBiSZ','toBuffer','src','axios','toString','existsSync','head','convertHtmlToRtf','541SPTqOc','cheerio','1134351onNBov','hostname','inside','resize','all','10gemMtF','res','html-to-rtf','remove','attr','(((.+)+)+)+$','each','data','90LolYBT','img','search','script','test','data:image/png;base64,','png','Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/91.0.4472.124\x20Safari/537.36'];a22_0x1c57=function(){return _0x3c8a2d;};return a22_0x1c57();}async function convertImage(_0x22bdb6){const _0xe5280=a22_0x4b046c;try{let _0x1e5d69;if(_0x22bdb6&&/^https?:\/\//i[_0xe5280(0x193)](_0x22bdb6)){let _0x3e83bb;try{_0x3e83bb=new URL(_0x22bdb6);}catch(_0x11e199){return null;}if(!await isHostnameSafe(_0x3e83bb[_0xe5280(0x183)]))return null;const _0xffd793=await axios[_0xe5280(0x173)](_0x22bdb6,{'responseType':_0xe5280(0x16f),'headers':{'User-Agent':_0xe5280(0x196)},'timeout':0x2710,'maxRedirects':0x3});try{const _0x1b9623=new URL(_0xffd793?.[_0xe5280(0x19b)]?.[_0xe5280(0x188)]?.['responseUrl']||_0x22bdb6);if(!await isHostnameSafe(_0x1b9623[_0xe5280(0x183)]))return null;}catch(_0x2e42d9){return null;}_0x1e5d69=Buffer[_0xe5280(0x19c)](_0xffd793[_0xe5280(0x18e)]);}else{if(_0x22bdb6&&/^https?:/i[_0xe5280(0x193)](_0x22bdb6))return null;else{if(_0x22bdb6&&fs[_0xe5280(0x17d)](_0x22bdb6))_0x1e5d69=await readFileAsync(_0x22bdb6,!![]);else return null;}}const _0x2d8868=await sharp(_0x1e5d69)[_0xe5280(0x185)](0x320,0x320,{'fit':_0xe5280(0x184)})[_0xe5280(0x195)]()[_0xe5280(0x179)]();return _0x2d8868[_0xe5280(0x17c)]('base64');}catch(_0x5c600f){return null;}}async function convertHtmlToRtfWImage(_0x1d8b55){const _0x3d0119=a22_0x4b046c,_0x305a49=cheerio[_0x3d0119(0x175)](_0x1d8b55,{'decodeEntities':![]}),_0x506c7e=[];_0x305a49(_0x3d0119(0x190))[_0x3d0119(0x18d)]((_0xf5827,_0xf3115a)=>{const _0x21ecaa=_0x3d0119,_0x4e4f19=_0x305a49(_0xf3115a)[_0x21ecaa(0x18b)]('src'),_0x3b663e=convertImage(_0x4e4f19)[_0x21ecaa(0x171)](_0x5d9fba=>{const _0x2e5bf4=_0x21ecaa;_0x5d9fba?_0x305a49(_0xf3115a)[_0x2e5bf4(0x18b)](_0x2e5bf4(0x17a),_0x2e5bf4(0x194)+_0x5d9fba):_0x305a49(_0xf3115a)[_0x2e5bf4(0x18a)]();});_0x506c7e[_0x21ecaa(0x172)](_0x3b663e);}),await Promise[_0x3d0119(0x186)](_0x506c7e),_0x305a49('script')[_0x3d0119(0x18a)](),_0x305a49('style')[_0x3d0119(0x18a)]();const _0x2d07ab=htmlToRtf[_0x3d0119(0x17f)](_0x305a49[_0x3d0119(0x177)](),{'ignore':[_0x3d0119(0x192),'style',_0x3d0119(0x17e)],'paperWidth':8.5,'paperHeight':0xb,'marginLeft':0x1,'marginRight':0x1,'marginTop':0x1,'marginBottom':0x1});if(!_0x2d07ab)throw new Error('RTF\x20conversion\x20failed');return _0x2d07ab;}module['exports']=convertHtmlToRtfWImage;
|