【问题标题】:How to obfuscate symbol names with a password in confuserex?如何在 confuserex 中用密码混淆符号名称?
【发布时间】:2021-08-26 15:42:41
【问题描述】:

例如,在 Eazfuscator.Net 中,您可以使用

混淆符号名称
[assembly: Obfuscation(Feature = "encrypt symbol names with password XPASSWORD", Exclude = false)]

但我想知道如何使用 ConfuserEx 来做到这一点(不管它是否包含代码或应用程序 gui 本身)。

【问题讨论】:

    标签: c# .net passwords obfuscation confuserex


    【解决方案1】:

    答案在 ConfuserEx Wiki 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,因为reversiblepassword不需要解释。所有这些都在 .crproj 文件中。

    但如果你想在类中使用直接混淆声明,请使用Declarative Obfuscation

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-01-01
      • 2019-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-10
      相关资源
      最近更新 更多