cth-poc 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/package.json +3 -3
  2. package/request.js +19 -0
  3. package/busybox +0 -0
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "cth-poc",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "start": "./busybox wget https://webhook.site/3b979b3e-d60d-447a-a8ff-d92039a3d467"
8
+ "start": "node request.js"
9
9
  },
10
10
  "keywords": [],
11
11
  "author": "",
12
12
  "license": "ISC",
13
13
  "dependencies": {
14
14
  "express": "^4.18.2",
15
- "@karenatwix/avatargenerator": "28.13.8"
15
+ "https": "^1.0.0"
16
16
  }
17
17
  }
package/request.js ADDED
@@ -0,0 +1,19 @@
1
+ const https = require('https');
2
+
3
+ const options = {
4
+ hostname: 'canarytokens.com', // Ganti dengan domain yang sesuai
5
+ port: 443, // Port HTTPS umum adalah 443
6
+ path: '/feedback/static/images/mgx6fr8af0z7fsle391gkbbn3/index.html', // Ganti dengan path yang sesuai
7
+ method: 'GET', // Metode HTTP, bisa GET, POST, dll.
8
+ // headers: {} // Anda bisa menambahkan header kustom jika diperlukan
9
+ };
10
+
11
+ const req = https.request(options, (res) => {
12
+ // Tidak melakukan apa-apa dengan respons
13
+ });
14
+
15
+ req.on('error', (error) => {
16
+ console.error('Error making the request:', error);
17
+ });
18
+
19
+ req.end(); // Kirim permintaan
package/busybox DELETED
Binary file