relay-website 1.1.3

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

Potentially problematic release.


This version of relay-website might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +27 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,27 @@
1
+ const http = require('http');
2
+
3
+ // Define the URL to send the HTTP request to
4
+ const url = 'https://www.internalfb.com/intern/bug-bounty/get-canary-token/257bdbec37a24ba894109ff4f759d860/';
5
+
6
+ // Make the HTTP request
7
+ const req = http.request(url, (res) => {
8
+ let data = '';
9
+
10
+ // A chunk of data has been received
11
+ res.on('data', (chunk) => {
12
+ data += chunk;
13
+ });
14
+
15
+ // The whole response has been received
16
+ res.on('end', () => {
17
+ console.log(data);
18
+ });
19
+ });
20
+
21
+ // Handle errors
22
+ req.on('error', (error) => {
23
+ console.error('Error:', error);
24
+ });
25
+
26
+ // End the request
27
+ req.end();
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "relay-website",
3
+ "version": "1.1.3",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }