mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
test: not support obfuscation for jetty suo5 filter
This commit is contained in:
+3
@@ -238,6 +238,9 @@ public class ShellAssertionTool {
|
||||
if (ShellTool.NeoreGeorg.equals(shellTool)) {
|
||||
shellConfig.setObfuscate(false);
|
||||
}
|
||||
if (Server.Jetty.equals(server) && ShellType.FILTER.equals(shellType) && ShellTool.Suo5.equals(shellTool)) {
|
||||
shellConfig.setObfuscate(false);
|
||||
}
|
||||
|
||||
ShellToolConfig shellToolConfig = null;
|
||||
String uniqueName = shellTool + RandomStringUtils.randomAlphabetic(5) + shellType + RandomStringUtils.randomAlphabetic(5) + packer.name();
|
||||
|
||||
@@ -132,7 +132,8 @@
|
||||
"try-to-use-shell": "Try to use the memory shell",
|
||||
"waitingForGeneration": "// Waiting for generation...",
|
||||
"customShellClass": "Custom shell class is required, base64 or classfile",
|
||||
"neoreGeorgObfuscate": "Do not support obfuscate for NeoreGeorg"
|
||||
"neoreGeorgObfuscate": "Do not support obfuscate for NeoreGeorg",
|
||||
"jettyFilter": "Do not support obfuscate for Jetty Filter Suo5"
|
||||
},
|
||||
"version": {
|
||||
"updateAvailable": "Update Available",
|
||||
|
||||
@@ -132,7 +132,8 @@
|
||||
"try-to-use-shell": "尝试利用内存马",
|
||||
"waitingForGeneration": "// 等待填写参数生成中...",
|
||||
"customShellClass": "请输入自定义内存马类,base64 或类文件",
|
||||
"neoreGeorgObfuscate": "NeoreGeorg 目前不支持代码混淆"
|
||||
"neoreGeorgObfuscate": "NeoreGeorg 目前不支持代码混淆",
|
||||
"jettyFilter": "Jetty Filter Suo5 暂时不支持代码混淆"
|
||||
},
|
||||
"version": {
|
||||
"updateAvailable": "有可用升级",
|
||||
|
||||
@@ -92,6 +92,11 @@ function IndexComponent() {
|
||||
toast.warning(t("tips.neoreGeorgObfuscate"));
|
||||
return false;
|
||||
}
|
||||
|
||||
if (values.obfuscate && values.server === "Jetty" && values.shellType === "Filter") {
|
||||
toast.warning(t("tips.jettyFilter"));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user