Skip to content

Commit b62a924

Browse files
committed
refactor: rename i18 json key
1 parent db92466 commit b62a924

File tree

2 files changed

+215
-275
lines changed

2 files changed

+215
-275
lines changed

web/src/i18n/en.json

Lines changed: 108 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -1,149 +1,119 @@
11
{
2-
"basicInfo": {
3-
"classInfo": "ShellClass",
4-
"serverInfo": "TargetServer",
5-
"toolInfo": "ShellTool"
6-
},
7-
"buttons": {
8-
"generate": "Generate Shell"
9-
},
2+
"basicInfo.classInfo": "ShellClass",
3+
"basicInfo.serverInfo": "TargetServer",
4+
"basicInfo.toolInfo": "ShellTool",
5+
"buttons.generate": "Generate Shell",
106
"cancel": "Cancel",
11-
"configs": {
12-
"main-config": "Main Config",
13-
"package-config": "Package Config"
14-
},
7+
"configs.main-config": "Main Config",
8+
"configs.package-config": "Package Config",
159
"copyLabelSuccess": "Copy {{label}} successfully",
1610
"copySuccess": "Copy successfully",
1711
"download": "Downlaod",
18-
"errors": {
19-
"generationFailed": "Generation failed, {{error}}"
20-
},
12+
"errors.generationFailed": "Generation failed, {{error}}",
2113
"feedback": "Feedback",
22-
"generateResult": {
23-
"basicInfo": "Basic Info",
24-
"title1": "Generate Result",
25-
"title2": "Shell Class",
26-
"title3": "Injector Class",
27-
"usage": "Usage"
28-
},
14+
"generateResult.basicInfo": "Basic Info",
15+
"generateResult.title1": "Generate Result",
16+
"generateResult.title2": "Shell Class",
17+
"generateResult.title3": "Injector Class",
18+
"generateResult.usage": "Usage",
2919
"loading": "Loading...",
30-
"mainConfig": {
31-
"bypassJavaModule": "Bypass Java Module",
32-
"debug": "Debug Mode",
33-
"injectorClassName": "Injector ClassName",
34-
"jre": "Target JRE Version",
35-
"server": "Target Server",
36-
"shellClassName": "Shell ClassName",
37-
"shellMountType": "Shell Mount Type",
38-
"shellTool": "Shell Tool",
39-
"shrink": "Shrink Bytecode",
40-
"urlPattern": "URL Pattern"
41-
},
20+
"mainConfig.bypassJavaModule": "Bypass Java Module",
21+
"mainConfig.debug": "Debug Mode",
22+
"mainConfig.injectorClassName": "Injector ClassName",
23+
"mainConfig.jre": "Target JRE Version",
24+
"mainConfig.server": "Target Server",
25+
"mainConfig.shellClassName": "Shell ClassName",
26+
"mainConfig.shellMountType": "Shell Mount Type",
27+
"mainConfig.shellTool": "Shell Tool",
28+
"mainConfig.shrink": "Shrink Bytecode",
29+
"mainConfig.urlPattern": "URL Pattern",
4230
"optional": "(Optional)",
43-
"packageConfig": {
44-
"packer": {
45-
"AgentJar": "AgentJar",
46-
"Aviator": "Aviator",
47-
"BCEL": "BCEL",
48-
"Base64": "Base64",
49-
"BeanShell": "BeanShell",
50-
"EL": "EL",
51-
"Freemarker": "Freemarker",
52-
"Groovy": "Groovy",
53-
"GzipBase64": "GzipBase64",
54-
"Hessian2Deserialize": "Hessian2Deserialize",
55-
"HessianDeserialize": "HessianDeserialize",
56-
"JEXL": "JEXL",
57-
"JSP": "JSP",
58-
"JXPath": "JXPath",
59-
"Jar": "Jar",
60-
"JavaDeserialize": "JavaDeserialize",
61-
"JinJava": "JinJava",
62-
"MVEL": "MVEL",
63-
"OGNL": "OGNL",
64-
"Rhino": "Rhino",
65-
"ScriptEngine": "ScriptEngine",
66-
"SpEL": "SpEL",
67-
"Velocity": "Velocity",
68-
"XxlJob": "XXL-JOB Executor",
69-
"AgentJarWithJDKAttacher": "AgentJarWithJDKAttacher",
70-
"AgentJarWithJREAttacher": "AgentJarWithJREAttacher",
71-
"H2": "H2 JDBC"
72-
},
73-
"title": "Package Method"
74-
},
75-
"placeholders": {
76-
"input": "Please input",
77-
"select": "Please select"
78-
},
79-
"quickUsage": {
80-
"step1": "Select Target Server",
81-
"step2": "Select Shell Tool, Godzilla, Behinder, etc.",
82-
"step3": "Select Shell Mount Type, Filter, Listener, etc.",
83-
"step4": "Select Packing Method",
84-
"step5": "Click Generate Shell",
85-
"title": "Quick Usage"
86-
},
87-
"shellNotWork": {
88-
"step1": "1. Try to enable the debug mode, regenerate the memory shell and inject it, check the console or log",
89-
"step2": "2. If an exception stack trace is displayed, or no exception is seen, please take a screenshot of the current generation interface and the exception log, and describe the target environment as much as possible for feedback",
90-
"title": "Shell Not Work ?"
91-
},
92-
"shellToolConfig": {
93-
"antSwordPass": "Shell pwd",
94-
"behinder": "Behinder",
95-
"behinderDefaultEncryptType": "Default",
96-
"behinderEncryptType": "Encrypt Type",
97-
"behinderPass": "Pass",
98-
"behinderScriptType": "Script Type",
99-
"command": "Command",
100-
"customHeader": "Custom Header",
101-
"godzilla": "Godzilla",
102-
"godzillaEncryptor": "Encryptor",
103-
"godzillaHeader": "Request Config -> Request Header",
104-
"godzillaPayload": "Payload",
105-
"headerName": "Header Name",
106-
"headerValue": "Header Value",
107-
"httpHeader": "HTTP -> HTTP HEADERS",
108-
"key": "Key",
109-
"neoreGeorgHeader": "Custom Header",
110-
"neoreGeorgKey": "Connection Key",
111-
"paramName": "Param Name",
112-
"pass": "Pass",
113-
"suo5Header": "AdvanceConfiguration -> Request Header",
114-
"base64String": "Shell Class",
115-
"encryptor": "Encryptor",
116-
"implementationClass": "ImplementationClass"
117-
},
118-
"success": {
119-
"generated": "Generation successful"
120-
},
121-
"tips": {
122-
"controllerUrlPattern": "ControllerHandler type requires a specific URL Pattern, e.g., /hello_controller",
123-
"decompileTip": "Decompilation is still under development, so the current only sees the base64 encoding format",
124-
"download-jattach": "Download the Jattach tool",
125-
"execute-command": "Execute the command to inject: /path/to/jattach pid load instrument false /path/to/agent.jar",
126-
"execute-command1": "Execute the command to inject: java -jar /path/to/agent.jar pid",
127-
"get-pid": "Get the process pid of the target jvm (use jps or ps)",
128-
"handlerUrlPattern": "HandlerMethod/HandlerFunction type requires a specific URL Pattern, e.g., /hello_handler",
129-
"jreTip": "Target JRE version, generally speaking, Java 6 is the default version for maximum compatibility, and Java high versions can load low version bytecode.",
130-
"jreTip2": "In specific cases, such as JDK8 being able to use lambda expressions, and JDK9 and above having module restrictions, a specific version is required.",
131-
"agent-move-to-target": "Move MemShellAgent.jar and jattach to target host",
132-
"agent-move-to-target1": "Move MemShellAgent.jar to target host",
133-
"servletUrlPattern": "Servlet type requires a specific URL Pattern, e.g., /hello_servlet",
134-
"specificUrlPattern": "URL Pattern must be specified, e.g., /hello",
135-
"shellBytesEmpty": "Shell bytes is empty, please generate shell first",
136-
"shellToolNotSelected": "Please select a shell tool type first",
137-
"targetServerNotFound": "Target server not found?",
138-
"targetServerRequest": "Request",
139-
"try-to-use-shell": "Try to use the memory shell",
140-
"waitingForGeneration": "// Waiting for generation...",
141-
"customShellClass": "Custom shell class is required, base64 or classfile"
142-
},
143-
"version": {
144-
"updateAvailable": "Update Available",
145-
"updateAvailableTooltip": "Click to Open Github Release Page ( v{{currentVersion}} -> v{{latestVersion}})"
146-
},
31+
"packageConfig.packer.AgentJar": "AgentJar",
32+
"packageConfig.packer.Aviator": "Aviator",
33+
"packageConfig.packer.BCEL": "BCEL",
34+
"packageConfig.packer.Base64": "Base64",
35+
"packageConfig.packer.BeanShell": "BeanShell",
36+
"packageConfig.packer.EL": "EL",
37+
"packageConfig.packer.Freemarker": "Freemarker",
38+
"packageConfig.packer.Groovy": "Groovy",
39+
"packageConfig.packer.GzipBase64": "GzipBase64",
40+
"packageConfig.packer.Hessian2Deserialize": "Hessian2Deserialize",
41+
"packageConfig.packer.HessianDeserialize": "HessianDeserialize",
42+
"packageConfig.packer.JEXL": "JEXL",
43+
"packageConfig.packer.JSP": "JSP",
44+
"packageConfig.packer.JXPath": "JXPath",
45+
"packageConfig.packer.Jar": "Jar",
46+
"packageConfig.packer.JavaDeserialize": "JavaDeserialize",
47+
"packageConfig.packer.JinJava": "JinJava",
48+
"packageConfig.packer.MVEL": "MVEL",
49+
"packageConfig.packer.OGNL": "OGNL",
50+
"packageConfig.packer.Rhino": "Rhino",
51+
"packageConfig.packer.ScriptEngine": "ScriptEngine",
52+
"packageConfig.packer.SpEL": "SpEL",
53+
"packageConfig.packer.Velocity": "Velocity",
54+
"packageConfig.packer.XxlJob": "XXL-JOB Executor",
55+
"packageConfig.packer.AgentJarWithJDKAttacher": "AgentJarWithJDKAttacher",
56+
"packageConfig.packer.AgentJarWithJREAttacher": "AgentJarWithJREAttacher",
57+
"packageConfig.packer.H2": "H2 JDBC",
58+
"packageConfig.title": "Package Method",
59+
"placeholders.input": "Please input",
60+
"placeholders.select": "Please select",
61+
"quickUsage.step1": "Select Target Server",
62+
"quickUsage.step2": "Select Shell Tool, Godzilla, Behinder, etc.",
63+
"quickUsage.step3": "Select Shell Mount Type, Filter, Listener, etc.",
64+
"quickUsage.step4": "Select Packing Method",
65+
"quickUsage.step5": "Click Generate Shell",
66+
"quickUsage.title": "Quick Usage",
67+
"shellNotWork.step1": "1. Try to enable the debug mode, regenerate the memory shell and inject it, check the console or log",
68+
"shellNotWork.step2": "2. If an exception stack trace is displayed, or no exception is seen, please take a screenshot of the current generation interface and the exception log, and describe the target environment as much as possible for feedback",
69+
"shellNotWork.title": "Shell Not Work ?",
70+
"shellToolConfig.antSwordPass": "Shell pwd",
71+
"shellToolConfig.behinder": "Behinder",
72+
"shellToolConfig.behinderDefaultEncryptType": "Default",
73+
"shellToolConfig.behinderEncryptType": "Encrypt Type",
74+
"shellToolConfig.behinderPass": "Pass",
75+
"shellToolConfig.behinderScriptType": "Script Type",
76+
"shellToolConfig.command": "Command",
77+
"shellToolConfig.customHeader": "Custom Header",
78+
"shellToolConfig.godzilla": "Godzilla",
79+
"shellToolConfig.godzillaEncryptor": "Encryptor",
80+
"shellToolConfig.godzillaHeader": "Request Config -> Request Header",
81+
"shellToolConfig.godzillaPayload": "Payload",
82+
"shellToolConfig.headerName": "Header Name",
83+
"shellToolConfig.headerValue": "Header Value",
84+
"shellToolConfig.httpHeader": "HTTP -> HTTP HEADERS",
85+
"shellToolConfig.key": "Key",
86+
"shellToolConfig.neoreGeorgHeader": "Custom Header",
87+
"shellToolConfig.neoreGeorgKey": "Connection Key",
88+
"shellToolConfig.paramName": "Param Name",
89+
"shellToolConfig.pass": "Pass",
90+
"shellToolConfig.suo5Header": "AdvanceConfiguration -> Request Header",
91+
"shellToolConfig.base64String": "Shell Class",
92+
"shellToolConfig.encryptor": "Encryptor",
93+
"shellToolConfig.implementationClass": "ImplementationClass",
94+
"success.generated": "Generation successful",
95+
"tips.controllerUrlPattern": "ControllerHandler type requires a specific URL Pattern, e.g., /hello_controller",
96+
"tips.decompileTip": "Decompilation is still under development, so the current only sees the base64 encoding format",
97+
"tips.download-jattach": "Download the Jattach tool",
98+
"tips.execute-command": "Execute the command to inject: /path/to/jattach pid load instrument false /path/to/agent.jar",
99+
"tips.execute-command1": "Execute the command to inject: java -jar /path/to/agent.jar pid",
100+
"tips.get-pid": "Get the process pid of the target jvm (use jps or ps)",
101+
"tips.handlerUrlPattern": "HandlerMethod/HandlerFunction type requires a specific URL Pattern, e.g., /hello_handler",
102+
"tips.jreTip": "Target JRE version, generally speaking, Java 6 is the default version for maximum compatibility, and Java high versions can load low version bytecode.",
103+
"tips.jreTip2": "In specific cases, such as JDK8 being able to use lambda expressions, and JDK9 and above having module restrictions, a specific version is required.",
104+
"tips.agent-move-to-target": "Move MemShellAgent.jar and jattach to target host",
105+
"tips.agent-move-to-target1": "Move MemShellAgent.jar to target host",
106+
"tips.servletUrlPattern": "Servlet type requires a specific URL Pattern, e.g., /hello_servlet",
107+
"tips.specificUrlPattern": "URL Pattern must be specified, e.g., /hello",
108+
"tips.shellBytesEmpty": "Shell bytes is empty, please generate shell first",
109+
"tips.shellToolNotSelected": "Please select a shell tool type first",
110+
"tips.targetServerNotFound": "Target server not found?",
111+
"tips.targetServerRequest": "Request",
112+
"tips.try-to-use-shell": "Try to use the memory shell",
113+
"tips.waitingForGeneration": "// Waiting for generation...",
114+
"tips.customShellClass": "Custom shell class is required, base64 or classfile",
115+
"version.updateAvailable": "Update Available",
116+
"version.updateAvailableTooltip": "Click to Open Github Release Page ( v{{currentVersion}} -> v{{latestVersion}})",
147117
"generator": "Generator",
148118
"about": "About",
149119
"classNameOptions": "classNameOptions"

0 commit comments

Comments
 (0)