-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting main class attribute in MANIFEST.MF to a class that doesnt exist (Name Obfuscation) #3
Comments
The main issue looks like Bozar can't process all of your classes. The class count is different from the first SS. Try disabling shuffle so maybe you can always get the same error & result. (Shuffle can cause the unprocessable class to be randomly selected. Which is why you get different class count) You can try excluding all classes and removing them one by one to find unprocessable classes. Unfortunately, I can't reproduce this issue. |
i turned shuffle off, there is no error but now there are only 3 classes and no dummy class, some classes of the jar is in kotlin tho, maybe this has to do something with the fact that the jar is an anti-debugger / anti-dumper, its a heavily modified version of |
here is the jar, sorry for being late btw Also any idea why it doesnt include any library files in the output jar when i exclude them from obfuscating |
Fixed. Will be released as v1.6.0 soon. Do you want libraries to be automatically placed in the output JAR? |
the input jar contains libraries already, but when i exclude them, they're not placed in the output JAR |
I think it's not related to exclude. In v1.5, Bozar aborts the writing process when an exception occurs while processing classes. Let me know if it still happens |
thanks it worked 👍 |
Describe the bug
When i try to name obfuscate, it sets the MainClass attribute to a class that doesnt exist
To Reproduce
use the "Alphabet" method in a jar with mainclass
here is my config (saved in .txt for only uploading as attachement)
bozarConfig.txt
Expected behavior
sets the main variable as the obfuscated main file name
Screenshots
Bozar version
the newest one in releases
Additional context
nope
The text was updated successfully, but these errors were encountered: