java-deobfuscator / deobfuscator

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

-> stringer.v3.StringEncryptionTransformer -> Can't decompile completely #263

Closed TheNamedMeFilip closed 3 years ago

TheNamedMeFilip commented 6 years ago

Hello, i want to deobfuscate two plugins.

One is MiniAnni - some things are decompiled but some not. One si Anni - it stuck at Initialization of VM took XXXms

These two plugins are from another developers but they are using same obfuscation protection

Can you please deobfuscate it for me ?

Thanks, Filip.

plugins.zip

ThisTestUser commented 6 years ago

It's recommended to use stringer.StringEncryptionTransformer and then stringer.HideAccessObfuscationTransformer for large files. Plugins.zip

TheNamedMeFilip commented 6 years ago

i canť open the file you sended. Please send it again. Thanks very much

//edit: i can, but windows is retarded, so i used winrar... again thanks :D

TheNamedMeFilip commented 6 years ago

Can you btw explain why i'm stuck here?:

TheNamedMeFilip commented 6 years ago

C:\Users\F JAKO FRAJER\Desktop\deob>java -jar deobfuscator-1.0.0.jar --config config.yml [main] INFO com.javadeobfuscator.deobfuscator.Deobfuscator - Loading classpath [main] INFO com.javadeobfuscator.deobfuscator.Deobfuscator - Loading input [main] INFO com.javadeobfuscator.deobfuscator.Deobfuscator - Computing callers [main] INFO com.javadeobfuscator.deobfuscator.Deobfuscator - Transforming [main] INFO com.javadeobfuscator.deobfuscator.Deobfuscator - Running com.javadeobfuscator.deobfuscator.transformers.normalizer.SourceFileClassNormalizer [SourceFileClassNormalizer] Recovered 134 source filenames [main] INFO com.javadeobfuscator.deobfuscator.Deobfuscator - Running com.javadeobfuscator.deobfuscator.transformers.stringer.v3.StringEncryptionTransformer [ClassLoader] An attempt was made to load the library zip.dll Initialization of VM took 287ms

ThisTestUser commented 6 years ago

You have to use SourceFileClassNormalizer after you use string encryption transformer.

TheNamedMeFilip commented 6 years ago

I don't understand.

my config:

input: input.jar // im setting another names output: output.jar // im setting another names transformers:

my detect:

input: input.jar // im setting another names detect: true

Send me good config :D thanks

ThisTestUser commented 6 years ago

Switch the positions of SourceFile normalizer and string encryption transformer.

TheNamedMeFilip commented 6 years ago

Thanks. I cant deobfuscate this plugin: plugin.zip

Error: https://hastebin.com/bohosayigi.rb

yeah i know its by not added library but i dont know what library to add.... i will be really happy if you will decompile it for me... :D or explain what im doing bad

TheNamedMeFilip commented 6 years ago

I'm sorry that i'm annoying you--> but i can't edit it because it's class...

can you deobfuscate it and send me just the plugin? Please.

ThisTestUser commented 6 years ago

You have to use a Java decompiler yourself.

TheNamedMeFilip commented 6 years ago

so put the zip in decompiler ?

ThisTestUser commented 6 years ago

Download Bytecode viewer, and click file and decompile and save all classes.

TheNamedMeFilip commented 6 years ago

it have so much errors

TheNamedMeFilip commented 6 years ago

can you make me source code for eclipse without errors?

ThisTestUser commented 6 years ago

You have to add the libraries for the project yourself. Most of the errors are not because of the code.

TheNamedMeFilip commented 6 years ago

I added all libraries such as bukkit and vault, but it makes some errors

ThisTestUser commented 6 years ago

You probably need Java knowledge to fix the rest of the classes.

ThisTestUser commented 6 years ago

I already did that, it's called LuckyRaceDeob.zip.

TheNamedMeFilip commented 6 years ago

Ok. thanks.

Btw. Can you send me folder with files and configs you used for these plugins? (like in zip and there will be deobfuscator and config + optionaly detect).. i will really appreciate.

ThisTestUser commented 6 years ago

I used Deobfuscator-GUI (https://github.com/java-deobfuscator/deobfuscator-gui/releases), and used stringer.StringEncryptionTransformer and then stringer.HideAccessTransformer. I also added all the required libraries, like Vault, rt.jar, and the spigot jars.

TheNamedMeFilip commented 6 years ago

stringer.HideAccessTransformer.. i dont found that... i found stringet.v3.HideAccesTransformer