java-deobfuscator / deobfuscator

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

java.lang.IllegalArgumentException: Unsupported class file major version 26472 #781

Closed huzpsb closed 3 years ago

huzpsb commented 3 years ago

Deobfuscation failed. Please open a ticket on GitHub and provide the following error: java.lang.IllegalArgumentException: Unsupported class file major version 26472 at org.objectweb.asm.ClassReader.(ClassReader.java:196) at org.objectweb.asm.ClassReader.(ClassReader.java:177) at org.objectweb.asm.ClassReader.(ClassReader.java:163) at org.objectweb.asm.ClassReader.(ClassReader.java:284) at com.javadeobfuscator.deobfuscator.Deobfuscator.loadClasspathFile(Deobfuscator.java:127) at com.javadeobfuscator.deobfuscator.Deobfuscator.loadClasspath(Deobfuscator.java:158) at com.javadeobfuscator.deobfuscator.Deobfuscator.start(Deobfuscator.java:372) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.javadeobfuscator.deobfuscator.ui.wrap.Deobfuscator.run(Deobfuscator.java:84) at com.javadeobfuscator.deobfuscator.ui.SwingWindow.lambda$null$16(SwingWindow.java:1014) at java.lang.Thread.run(Unknown Source)

plugin.zip

ItzSomebody commented 3 years ago
>>> hex(26472)
'0x6768'

You're probably looking at either an encrypted class or some random zip entry filled with nonsensical bytes located somewhere in the libraries you are loading (or some other fluke that does not really come to my mind at the moment -- perhaps someone else can weigh in?). I'd suggest trying to find the offending library via elimination.

Janmm14 commented 3 years ago

If you use newest deobfuscator jar, it should not fail and tell you what exactly it couldn't read

huzpsb commented 3 years ago

thanks,it worked!