问题描述
据我了解,对Java Web应用程序进行混淆会使阅读您的应用程序变得更加困难,但是反向工程仍然是可能的.
From what I understand, obfuscating a java web application will just make it a little harder to read your application, but reverse engineering is still possible.
我的目标只是使其很难阅读,并且无法反编译和运行(不确定是否可以,我猜它仍将仅使用丑陋的变量名运行?)
My goal is just to make it very difficult to read, and not be able to decompile and run (not sure if that's possible, I guess it will still run just with ugly variable names??)
因此,变量名称如下:
字符串username ="asdfsadf";
String username = "asdfsadf";
将成为
字符串aw34Asdf234jkasdjl_asdf2343 ="asdfsdaf";
String aw34Asdf234jkasdjl_asdf2343 = "asdfsdaf";
这是正确的吗?
- 公共类和变量将保持不变
- 只能重命名私人字符串/类/方法
- 字符串加密可用于某些敏感的字符串数据,例如加密密钥等.
真正的目的是让人们不能反编译并释放代码.
Really my goal is so that someone can't just decompile and release the code.
推荐答案
Web应用程序在服务器端运行.除非您搞砸了,否则客户不会看到代码.
Web applications run server side. Clients will not see the code unless you mess things up.
这篇关于混淆Java Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!