飘云阁

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 2441|回复: 4

[Java] Charles v4.0 破解方法

[复制链接]
  • TA的每日心情
    开心
    10 小时前
  • 签到天数: 1105 天

    [LV.10]以坛为家III

    发表于 2016-9-13 10:22:16 | 显示全部楼层 |阅读模式
    C:\Program Files\Charles\lib\charles.jar

    => 提取文件 com\xk72\charles\License.class

    => 反编译 License.java

    => 修改内容:
    -----查找-------------------------------------------------------------------------------------------------
    83    try
    84    {
    85      String str2 = paramString2;
    86      String str1 = paramString1;
    87      paramString2 = this;
    88      String str3 = (str3 = str3 = str1).replaceAll("[ [[[[[]  ]", " ");
    89      long l1 = paramString2.c(str3, str2);
    90      boolean bool;
    91      long l2 = paramString2.c(str1, str2);
    92      if (!(((str3.equals(str1)) ? false : ((bool = paramString2.a(l1))) ? true : paramString2.a(l2))))
    93        throw new LicenseException(a(2));
    94    }
    95    catch (NumberFormatException localNumberFormatException)
    96    {
    97      throw new LicenseException(a(1));
    98    }
    ----替换--------------------------------------------------------------------------------------------------
    83    this.f = LicenseType.c;
    ====结束==================================================================================================
    ----查找----------------------------
    77          public License()
    78          {
    79          }
    ----添加两行------------------------
    77          public License()
    78          {
    79            this.c = false;
    80            this.d = "Unregistered";
    81          }
    ====结束============================
    ----查找------------------------------------
      9          private boolean c = false;
    10          private String d = "Unregistered";
    ----修改------------------------------------
      9          private boolean c;
    10          private String d;
    ====结束====================================


    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2022-2-1 10:33
  • 签到天数: 797 天

    [LV.10]以坛为家III

    发表于 2016-9-17 11:46:46 | 显示全部楼层
    不是一路货色,不具有可比性
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    无聊
    2019-1-22 05:07
  • 签到天数: 30 天

    [LV.5]常住居民I

    发表于 2017-3-5 18:38:22 | 显示全部楼层
    怎么反编译并回编译.class呀呀呀呀呀呀
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    4 小时前
  • 签到天数: 196 天

    [LV.7]常住居民III

    发表于 2017-4-19 23:53:25 | 显示全部楼层
    感谢分享方法
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 加入我们

    本版积分规则

    快速回复 返回顶部 返回列表