feat: support appendLambdaSuffix

This commit is contained in:
ReaJason
2025-12-08 01:43:41 +08:00
parent 30dd253565
commit 36236653bd
13 changed files with 78 additions and 4 deletions
+2
View File
@@ -8,6 +8,8 @@ export interface ShellConfig {
byPassJavaModule?: boolean;
obfuscate?: boolean;
shrink?: boolean;
probe?: boolean;
lambdaSuffix?:boolean;
}
export interface ShellToolConfig {
+1
View File
@@ -17,6 +17,7 @@ export interface ProbeConfig {
byPassJavaModule?: boolean;
shrink?: boolean;
staticInitialize?: boolean;
lambdaSuffix?: boolean;
}
export interface ProbeContentConfig {
+3
View File
@@ -26,6 +26,8 @@ export const memShellFormSchema = yup.object({
injectorClassName: yup.string().optional(),
packingMethod: yup.string().required().min(1),
shrink: yup.boolean().optional(),
lambdaSuffix: yup.boolean().optional(),
probe: yup.boolean().optional(),
shellClassBase64: yup.string().optional(),
encryptor: yup.string().optional(),
});
@@ -165,6 +167,7 @@ export const probeShellFormSchema = yup.object().shape({
byPassJavaModule: yup.boolean().optional(),
shrink: yup.boolean().optional(),
staticInitialize: yup.boolean().optional(),
lambdaSuffix: yup.boolean().optional(),
});
type ProbeValidationResult = ResolverResult<ProbeShellFormSchema>;