java-deobfuscator / deobfuscator

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

Issue with DashO deobfuscation #874

Open InfiniteAura opened 2 years ago

InfiniteAura commented 2 years ago

I am currently having some trouble with the DashO StringEncryptionTransformer. Everything seems to go fine until the deobfuscator tries to write to the output jar and it gives me this "Failed to compute frames" error. Here's the config I used:

input: REDACTED.jar
output: out.jar
detect: false
path:
 - C:\Users\infAura\Desktop\javax-crypto.jar
 - D:\coding\Depends\ProtocolLib.jar
 - D:\coding\Depends\spigot-1.7.10-SNAPSHOT-b1657.jar
 - D:\coding\Depends\spigot-1.8.8-R0.1-SNAPSHOT-latest.jar
 - C:\Program Files\Java\jre1.8.0_321\lib\rt.jar
transformers:
 - dasho.FakeExceptionTransformer
 - dasho.FlowObfuscationTransformer
 - dasho.StringEncryptionTransformer
ItzSomebody commented 2 years ago

@InfiniteAura: Any update on this?

Col-E commented 2 years ago

Somewhat related, running string decryptions on the actual DashO jar file indicates they have added junk data. And the only strings that java-deobfuscator supports are those junk strings. Comparing to an old version, none of the expected strings get decrypted but you do get hundreds of lines of fake values such as:

 p@$$w0rd
 Je resve dans un lict o?? je suis fagot??,
 Que je croy que les biens me viendront en dormant,
 12345
 Ou comme un Dom Quichot en sa morne folie.
 The heaven such grace did lend her,
 123123
 The heaven such grace did lend her,
 Upon the dull earth dwelling:
 qwerty
 12345678
 Holy, fair, and wise is she;
 password1
 p@$$w0rd
 Que je croy que les biens me viendront en dormant,
 112358132134
 Puisque je voy des-j?  sâ??en enfler ma bedaine,
 Is she kind as she is fair?
 Je resve dans un lict o?? je suis fagot??,
 Password
 Holy, fair, and wise is she;
 Et hay tant le travail, que, les yeux entrâ??ouverts,
 O?? mon ame en langueur est comme ensevelie.
 Honeycomb
 (^_^)
 Is she kind as she is fair?
 For beauty lives with kindness: