例如,在Eazfuscator.Net中,您可以使用以下命令对符号名称进行模糊处理
[assembly: Obfuscation(Feature = "encrypt symbol names with password XPASSWORD", Exclude = false)]但我想知道如何使用ConfuserEx做到这一点(不管是包含代码还是应用程序gui本身)。
发布于 2021-06-17 22:10:58
答案就在ConfuserEx维基Name Protection中
示例:
<protection id="rename">
<argument name="mode" value="reversible" />
<argument name="password" value="This password is secret" />
<argument name="renameArgs" value="true" />
<argument name="renEnum" value="true" />
<argument name="flatten" value="true" />
<argument name="forceRen" value="false" />
<argument name="renPublic" value="false" />
<argument name="renPdb" value="true" />
<argument name="renXaml" value="true" />
</protection>重要的部分是mode,因为reversible和password不需要解释。所有这些都在.crproj文件中。
但是,如果您想在类中使用直接模糊声明,那么可以使用Declarative Obfuscation
https://stackoverflow.com/questions/67907481
复制相似问题