skidfuscatordev / skidfuscator-java-obfuscator

Public proof-of-concept obfuscator using the MapleIR framework designed by cts & bibl
MIT License
590 stars 62 forks source link

add custom factory namer #67

Open anjeshshrestha opened 1 week ago

anjeshshrestha commented 1 week ago

adding a custom factory name in config file instead of the auto generated one

terminalsin commented 1 week ago

I’m going to have to decline this one. The reason why is if you have two jars with the same factory, they conflict and one does not load properly.

anjeshshrestha commented 1 week ago

the default would still be auto generated, the dev can configure to use custom name and nested folder ex. "com/pikapika/obf" would generate the factory in the correct file path.

I'm having the issue with windows defender and other virus scanners flagging the plugin with the auto generated folder/path and class name and blocking or deleting the jar

CleanShot 2024-11-23 at 18 28 11@2x

we can rework it so it would generate a root path if not provided one ex. "factory" would be "/factory.class" but "com/factory" would be "com/factory.class"

terminalsin commented 1 week ago

I see. Let me add a randomised english word generator