test: not support obfuscation for jetty suo5 filter

This commit is contained in:
ReaJason
2025-03-30 15:23:41 +08:00
parent f460632e61
commit dbc5b72375
4 changed files with 12 additions and 2 deletions
@@ -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();
+2 -1
View File
@@ -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",
+2 -1
View File
@@ -132,7 +132,8 @@
"try-to-use-shell": "尝试利用内存马",
"waitingForGeneration": "// 等待填写参数生成中...",
"customShellClass": "请输入自定义内存马类,base64 或类文件",
"neoreGeorgObfuscate": "NeoreGeorg 目前不支持代码混淆"
"neoreGeorgObfuscate": "NeoreGeorg 目前不支持代码混淆",
"jettyFilter": "Jetty Filter Suo5 暂时不支持代码混淆"
},
"version": {
"updateAvailable": "有可用升级",
+5
View File
@@ -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;
}