Notably proguard is a terrible choice for obfuscation. - Difficult to configure. - Confusing documentation. - Poor support. - Very limited. Is missing to Java an obfuscator the height of what we have in JavaScript.
Hi, I got this error in my project: java.lang.AssertionError: Parameters aren't present for. You must compile your code with -parameters argument I use maven to build my project and in maven works fine with this configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <configuration> <source>1.8</source> <target>1.8</target> <compilerArgument>-parameters</compilerArgument> <testCompilerArgument>-parameters</testCompilerArgument>...
Hello Eric, thanks for the feedback. "What kind of obfuscation were you not seeing and how are you checking it?" Answer: after the obfuscation I open the obfuscated .class files in java decompilers. I use: http://java-decompiler.github.io/ https://bytecodeviewer.com/ and the .class files are the same as I wrote them. I dont see any diference. "In any case, ProGuard performs basic name obfuscation. Notably, it does not" answer: okay, if he does not do these things. But what about these things? shrinker...
What I need to do: do not optimize the code. shrinker the code. insert random code (more methods per class). rename all packages with random dictionary. rename all classes with random dictionary. rename all methods with random dictionary. rename all variables / attributes with random dictionary. remove toString methods and logs. Encrypt String (if possible). This is possible?
I'm having a hard time obfuscating my web project (.war). I followed all guidelines posted on the forum but without success. The proguard executes the obfuscation (without errors) but the final result is a code without obfuscation. Is there any guide to help me with this? I did not find anything in the documentation. My File configuration: (I UNPACK TE WAR) -injars /home/user/TEMP/myapp/WEB-INF/classes -outjars /home/user/TEMP/myapp/WEB-INF/classes-guard -libraryjars /usr/lib/jvm/java-8-oracle/jre/lib/rt.jar...