JAVA CLASS混淆工具:Allatori 简单试用

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JAVA CLASS混淆工具:Allatori 简单试用相关的知识,希望对你有一定的参考价值。

  • 产品:付费

290美元,还要加上20%的税。

  • 下载并解压

http://www.allatori.com/

  • 配置文件
<config>
    <input>
        <jar in="TIOffice.jar" out="TIOffice2.jar"/>
    </input>

    <classpath >
        <jar name="lib/*.jar" />
        <jar name="lib2/*.jar" />
    </classpath>

    <keep-names>
        <class access="protected+">
            <field access="protected+"/>
            <method access="protected+"/>
        </class>
    </keep-names>

    <property name="log-file" value="log.xml"/>
</config>
  • 运行
D:\\Allatori-7.8-Demo\\lib>java -jar allatori.jar config.xml

################################################
#                                              #
#        ## #   #    ## ### ### ##  ###        #
#       # # #   #   # #  #  # # # #  #         #
#       ### #   #   ###  #  # # ##   #         #
#       # # ### ### # #  #  ### # # ###        #
#                                              #
#                DEMO VERSION!                 #
#           NOT FOR COMMERCIAL USE!            #
#                                              #
#       Demo version adds System.out's         #
#       and gives 'ALLATORI_DEMO' name         #
#       to some fields and methods.            #
#                                              #
#                                              #
# Obfuscation by Allatori Obfuscator v7.8 DEMO #
#                                              #
#           http://www.allatori.com            #
#                                              #
################################################

java.lang.RuntimeException: java.lang.SecurityException: class "org.bouncycastle.asn1.DERObject"'s signer information does not match signer information of other classes in the same package
        at com.allatori.iIiIIIiIII.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(oq:399)
        at com.allatori.IiiIiiIIiI.IiiiiIIiIi(ia:1142)
        at com.allatori.iIIiiIIiiI.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(zb:1340)
        at com.allatori.iIIiiIIiiI.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(zb:1395)
        at com.allatori.IIiiIiiIii.IiIiIIiiIi(vb:2393)
        at com.allatori.IIiiIiiIii.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(vb:2553)
        at com.allatori.iiiiiIIiII.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(qb:3347)
        at com.allatori.iiiiiIIiII.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(qb:1161)
        at com.allatori.iiiiiIIiII.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(qb:619)
        at com.allatori.iiiiiIIiII.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(qb:65)
        at com.allatori.iIIiiIiiii.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(oq:425)
        at com.allatori.iIIiiIiiii.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(oq:241)
        at com.allatori.iIIiiIiiii.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(oq:389)
        at com.allatori.IIiIIIIiiI.iiIIIiIIii(no:236)
        at com.allatori.IIiIIIIiiI.iiIIIIIiII(no:437)
        at com.allatori.Obfuscate.THIS_IS_DEMO_VERSION_NOT_FOR_COMMERCIAL_USE(jv:106)
        at com.allatori.Obfuscate.main(jv:282)
[INFO] Obfuscation completed. Writing log file...

这怎么出错了?参考:

https://quantum6.blog.csdn.net/article/details/119992888

  • 测试
C:\\Program Files\\Taishan\\Office\\bin>java -jar ffice.jar

################################################
#                                              #
#        ## #   #    ## ### ### ##  ###        #
#       # # #   #   # #  #  # # # #  #         #
#       ### #   #   ###  #  # # ##   #         #
#       # # ### ### # #  #  ### # # ###        #
#                                              #
# Obfuscation by Allatori Obfuscator v7.8 DEMO #
#                                              #
#           http://www.allatori.com            #
#                                              #
################################################


C:\\Program Files\\Taishan\\Office\\bin>

大哥你这是玩谁啊?

以上是关于JAVA CLASS混淆工具:Allatori 简单试用的主要内容,如果未能解决你的问题,请参考以下文章

allatori代码混淆工具能与maven结合吗

代码混淆神器 Allatori

Allatori:代码混淆器的使用

使用Allatori对Spring Boot项目进行代码混淆

使用Allatori对Spring Boot项目进行代码混淆

在 eclipse中怎么使用allatori