java-deobfuscator / deobfuscator

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

Failed to open input file #915

Open ethnyl opened 2 years ago

ethnyl commented 2 years ago

java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(Unknown Source) at java.util.zip.ZipFile.(Unknown Source) at java.util.zip.ZipFile.(Unknown Source) at com.javadeobfuscator.deobfuscator.Deobfuscator.loadInput(Deobfuscator.java:254) at com.javadeobfuscator.deobfuscator.Deobfuscator.start(Deobfuscator.java:379) at com.javadeobfuscator.deobfuscator.DeobfuscatorMain.run(DeobfuscatorMain.java:106) at com.javadeobfuscator.deobfuscator.DeobfuscatorMain.run(DeobfuscatorMain.java:78) at com.javadeobfuscator.deobfuscator.DeobfuscatorMain.main(DeobfuscatorMain.java:36)

Ive tried to follow the readme but it couldnt detect the obfuscation (with the detect.yml)

ItzSomebody commented 2 years ago

You're gonna have issues even getting to the detection stage if you can't even open the file. Check #653 and upload a sample if you can.

There are a ton a reasons why something like this can happen.

Janmm14 commented 2 years ago

"recaf 3" has built in some zip file reading improvements. import file into recaf 3 and export as jar again, then try java-deobfuscator.