refactor: use yup custom validator

This commit is contained in:
ReaJason
2025-05-28 01:22:54 +08:00
parent e31fcdeca9
commit c75cb2f8ef
8 changed files with 176 additions and 72 deletions
+3 -1
View File
@@ -130,6 +130,7 @@
"agent-move-to-target": "Move MemShellAgent.jar and jattach to target host",
"agent-move-to-target1": "Move MemShellAgent.jar to target host",
"servletUrlPattern": "Servlet type requires a specific URL Pattern, e.g., /hello_servlet",
"specificUrlPattern": "URL Pattern must be specified, e.g., /hello",
"shellBytesEmpty": "Shell bytes is empty, please generate shell first",
"shellToolNotSelected": "Please select a shell tool type first",
"targetServerNotFound": "Target server not found?",
@@ -143,5 +144,6 @@
"updateAvailableTooltip": "Click to Open Github Release Page ( v{{currentVersion}} -> v{{latestVersion}})"
},
"generator": "Generator",
"about": "About"
"about": "About",
"classNameOptions": "classNameOptions"
}
+4 -2
View File
@@ -136,12 +136,14 @@
"targetServerRequest": "请求适配",
"try-to-use-shell": "尝试利用内存马",
"waitingForGeneration": "// 等待填写参数生成中...",
"customShellClass": "请输入自定义内存马类,base64 或类文件"
"customShellClass": "请输入自定义内存马类,base64 或类文件",
"specificUrlPattern": "必须指定 URL Pattern,例如 /hello"
},
"version": {
"updateAvailable": "有可用升级",
"updateAvailableTooltip": "点击前往 GitHub Release ( v{{currentVersion}} -> v{{latestVersion}})"
},
"about": "关于",
"generator": "生成器"
"generator": "生成器",
"classNameOptions": "类名配置项"
}