mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
test: use method parameters
This commit is contained in:
@@ -13,5 +13,5 @@ public enum ShellTool {
|
||||
/**
|
||||
* 命令回显
|
||||
*/
|
||||
COMMAND
|
||||
Command
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ public class TomcatShell {
|
||||
);
|
||||
break;
|
||||
}
|
||||
case COMMAND: {
|
||||
case Command: {
|
||||
classPair = COMMAND_SHELL_MAP.get(shellType);
|
||||
CommandShellConfig commandConfig = (CommandShellConfig) shellConfig;
|
||||
shellBytes = CommandGenerator.generate(classPair.getLeft(),
|
||||
|
||||
Reference in New Issue
Block a user