java-deobfuscator / deobfuscator

The real deal
https://javadeobfuscator.com
Apache License 2.0
1.56k stars 290 forks source link

Issue #881

Closed Garrry4 closed 2 years ago

Garrry4 commented 2 years ago

Deobfuscation failed. Please open a ticket on GitHub and provide the following error: java.lang.NullPointerException: Cannot invoke "com.javadeobfuscator.javavm.mirrors.JavaClass.isPrimitive()" because "this.componentType" is null at com.javadeobfuscator.javavm.mirrors.JavaClass.(JavaClass.java:178) at com.javadeobfuscator.javavm.mirrors.JavaClass.forName(JavaClass.java:219) at com.javadeobfuscator.javavm.hooks.HookGenerator.generateUnknownHandlingHook(HookGenerator.java:73) at com.javadeobfuscator.javavm.nativeimpls.sun_misc_URLClassPath.registerNatives(sun_misc_URLClassPath.java:28) at com.javadeobfuscator.javavm.VirtualMachine.registerNatives(VirtualMachine.java:500) at com.javadeobfuscator.javavm.VirtualMachine.(VirtualMachine.java:124) at com.javadeobfuscator.deobfuscator.utils.TransformerHelper.newVirtualMachine(TransformerHelper.java:269) at com.javadeobfuscator.deobfuscator.transformers.allatori.string.StringEncryptionTransformer.transform(StringEncryptionTransformer.java:36) at com.javadeobfuscator.deobfuscator.Deobfuscator.runFromConfig(Deobfuscator.java:478) at com.javadeobfuscator.deobfuscator.Deobfuscator.start(Deobfuscator.java:435) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.javadeobfuscator.deobfuscator.ui.wrap.Deobfuscator.run(Deobfuscator.java:84) at com.javadeobfuscator.deobfuscator.ui.SwingWindow.lambda$null$17(SwingWindow.java:1009) at java.base/java.lang.Thread.run(Thread.java:833)

Janmm14 commented 2 years ago

Please try to use allatori.StringEncryptionTransformer instead - what issues arise with this transformer?

Garrry4 commented 2 years ago

image

I already have it on

Garrry4 commented 2 years ago

Should i drop my properties and config file?

Janmm14 commented 2 years ago

allatori.StringEncryption

Garrry4 commented 2 years ago

image I have it on

Garrry4 commented 2 years ago

How can i send u my config and properties files

Janmm14 commented 2 years ago

@Garrry4 There is a transformer selection in there because not every transformer is suitable for every program / obfuscation.

Some transformers like the "normalizers" could also destroy any further attempts at deobfuscation or make the deobfuscated file not run anymore.

Please use the detect feature to let the program detect the probably used obfuscation and then only try with the first recommended transformer.

Garrry4 commented 2 years ago

Do i just hit detect and then run?

Garrry4 commented 2 years ago

image

Janmm14 commented 2 years ago

Do i just hit detect and then run?

yes

Garrry4 commented 2 years ago

Deobfuscation failed. Please open a ticket on GitHub and provide the following error: java.nio.file.NoSuchFileException: C:\Users\100ge\Desktop\legit.jar at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53) at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38) at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:199) at java.base/java.nio.file.Files.readAttributes(Files.java:1851) at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1264) at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709) at java.base/java.util.zip.ZipFile.(ZipFile.java:243) at java.base/java.util.zip.ZipFile.(ZipFile.java:172) at java.base/java.util.zip.ZipFile.(ZipFile.java:186) at com.javadeobfuscator.deobfuscator.Deobfuscator.loadInput(Deobfuscator.java:201) at com.javadeobfuscator.deobfuscator.Deobfuscator.start(Deobfuscator.java:379) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.javadeobfuscator.deobfuscator.ui.wrap.Deobfuscator.run(Deobfuscator.java:84) at com.javadeobfuscator.deobfuscator.ui.SwingWindow.lambda$null$17(SwingWindow.java:1009) at java.base/java.lang.Thread.run(Thread.java:833)

It cam up with this

Garrry4 commented 2 years ago

WAIT i think i fixed

Garrry4 commented 2 years ago

image Came up with this

Janmm14 commented 2 years ago

ok. now you remove the check at detect and then only use special.Superblaubeere transformer

Garrry4 commented 2 years ago

Do i just wait and it does its thing?

Garrry4 commented 2 years ago

It does thanks for the help