How to deal with name collision when you try to deobfuscate weird code?

Viewed 59

i am reverse engineering one application now and i want an ability to patch it (extract sources, recompile and build it again). I started with JD-GUI but found very interesting obfuscation method.

All class names are the same word (lolkekcheburek) but in various case variations:

Class names

So, for JVM all classes names are fine, but when you try to extract it, Windows notifies about name collision:

Name collision

How would you deal with this?

1 Answers

By default windows is not case sensitive for the filename. If you really want to work on windows, you have to be on Windows 10 and enable case sensitivity for your specific folder with : fsutil.exe file setCaseSensitiveInfo C:\folder enable

Related