diff --git a/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/execution/SandboxClassLoader.java b/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/execution/SandboxClassLoader.java index 7801f31..fbc0d59 100644 --- a/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/execution/SandboxClassLoader.java +++ b/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/execution/SandboxClassLoader.java @@ -34,7 +34,7 @@ public class SandboxClassLoader extends ClassLoader { public SandboxClassLoader(Context context) { if (System.getSecurityManager() == null) { - LOGGER.error("SecurityManager is not initialized. It mandatory to secure you from running arbitrary code on your machine. Please use the built-in task in IntelliJ called 'Bootstrap' (see README.md)"); + LOGGER.error("SecurityManager is not initialized. It is required to secure you from running arbitrary code on your machine. Please use the built-in IntelliJ task named 'Bootstrap' (see README.md)"); throw new SecurityException("SecurityManager is not initialized"); } this.context = context; diff --git a/deobfuscator-transformers/src/main/java/uwu/narumi/deobfuscator/core/other/impl/zkm/ZelixLongEncryptionTransformer.java b/deobfuscator-transformers/src/main/java/uwu/narumi/deobfuscator/core/other/impl/zkm/ZelixLongEncryptionTransformer.java index 3e7eb54..269e72a 100644 --- a/deobfuscator-transformers/src/main/java/uwu/narumi/deobfuscator/core/other/impl/zkm/ZelixLongEncryptionTransformer.java +++ b/deobfuscator-transformers/src/main/java/uwu/narumi/deobfuscator/core/other/impl/zkm/ZelixLongEncryptionTransformer.java @@ -2,7 +2,6 @@ import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.MethodInsnNode; -import org.objectweb.asm.tree.MethodNode; import uwu.narumi.deobfuscator.api.asm.ClassWrapper; import uwu.narumi.deobfuscator.api.asm.InstructionContext; import uwu.narumi.deobfuscator.api.asm.MethodContext; @@ -14,15 +13,10 @@ import uwu.narumi.deobfuscator.api.context.Context; import uwu.narumi.deobfuscator.api.execution.SandboxClassLoader; import uwu.narumi.deobfuscator.api.helper.AsmHelper; -import uwu.narumi.deobfuscator.api.transformer.FramedInstructionsTransformer; import uwu.narumi.deobfuscator.api.transformer.Transformer; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.stream.Stream; /** * Decrypts {@code long} numbers https://www.zelix.com/klassmaster/featuresLongEncryption.html @@ -98,11 +92,7 @@ protected void transform(ClassWrapper scope, Context context) throws Exception { // Set field to decrypted long value! insnContext.methodNode().instructions.insertBefore(insnContext.insn(), AsmHelper.getNumber(value)); - - // Add decrypter classes to remove - markChange(); - } catch (ClassNotFoundException | NoSuchMethodException | InvocationTargetException | IllegalAccessException e) { throw new RuntimeException(e); }