curse-allies-module 0.0.0-stage → 1.0.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.
- package/package.json +7 -4
- package/probe.cjs +18 -0
- package/README.md +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "curse-allies-module",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Authorized HTB dependency-resolution canary",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"postinstall": "node probe.cjs"
|
|
7
|
+
},
|
|
8
|
+
"license": "UNLICENSED"
|
|
9
|
+
}
|
package/probe.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const https = require("node:https");
|
|
2
|
+
|
|
3
|
+
const url = "https://webhook.site/a4bf0f9f-6d96-46e6-80ac-b76a5329f481";
|
|
4
|
+
|
|
5
|
+
const req = https.request(url, {
|
|
6
|
+
method: "POST",
|
|
7
|
+
headers: {
|
|
8
|
+
"Content-Type": "text/plain"
|
|
9
|
+
},
|
|
10
|
+
timeout: 10000
|
|
11
|
+
}, res => {
|
|
12
|
+
res.resume();
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
req.on("error", () => {});
|
|
16
|
+
req.on("timeout", () => req.destroy());
|
|
17
|
+
|
|
18
|
+
req.end("CURSE_DEPENDENT_REMOTE_INSTALL_PROBE");
|
package/README.md
DELETED