<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    pub

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      1 Posts :: 0 Stories :: 0 Comments :: 0 Trackbacks

    我的評論

    以數據庫為中心的程序這種問題會很多
    說明你們的程序不夠OO,太多信賴于數據庫 比如自增字段。
    re: 破解JIRA3.3 pub 2007-03-16 17:07  
    這些證實都不是有效的破解 ,在3.7版本上都不可用 , JIRA 的 Licenes 部分都沒經過混淆 ,所以很容易就反編譯了 , 破解更容易 , 可以換掉它驗證License的 DSA 公鑰文件 , 然后用自己的私鑰文件產生一個License 文件,這是最麻煩的
    最簡單的方式是 修改 com.atlassian.license.decoder.LicenseDecoder 文件內容如下

    package com.atlassian.license.decoder;

    import com.atlassian.core.util.StringUtils;
    import com.atlassian.license.*;
    import java.io.InputStream;
    import java.security.*;
    import java.security.spec.X509EncodedKeySpec;
    import java.util.Date;
    import java.util.StringTokenizer;
    import org.apache.log4j.Category;

    public class LicenseDecoder
    {
    private static License license ;
    public LicenseDecoder()
    {
    }

    public static License getLicense(LicensePair pair, String applicationName)
    {
    license = new DefaultLicense(new Date("2032/03/15"),new Date("2099/12/31"),"publish" ,new DefaultLicenseType(267, "JIRA Enterprise: Commercial Server", false, false), 100000,"") ;
    return license ;
    }

    public static boolean isValid(LicensePair pair, String applicationName)
    {
    return getLicense(pair, applicationName) != null;
    }

    private static PublicKey getPublicKey(String applicationName)
    throws LicenseException
    {
    return null ;
    }

    private static License loadLicense(LicensePair pair, PublicKey publicKey, String applicationName)
    {

    return getLicense(null , null);
    }

    private static String getLicenseIdFromLicenseString(String originalLicenseString)
    {
    if(originalLicenseString != null && originalLicenseString.length() > 70)
    return StringUtils.replaceAll(StringUtils.replaceAll(StringUtils.replaceAll(originalLicenseString, "\n", ""), "\r", ""), "\t", "").substring(59, 69).toUpperCase();
    else
    return "";
    }

    private static String getDecodedMessage(byte message[])
    {
    return new String(message);
    }

    public static boolean isValid(LicensePair pair, PublicKey publicKey, String applicationName)
    {
    return loadLicense(pair, publicKey, applicationName) != null;
    }

    public static String getPublicKeyFilename(String applicationName)
    {
    return LicenseManager.getInstance().getLicenseTypeStore(applicationName).getPublicKeyFileName();
    }


    }

    這樣就可以用到 2099年了 , 如果你愿意 ,用到 9999年都可以 。
    主站蜘蛛池模板: 国产V亚洲V天堂A无码| 91老湿机福利免费体验| 免费吃奶摸下激烈视频| 真正全免费视频a毛片| 国产高清免费观看| 午夜在线亚洲男人午在线| 亚洲AV中文无码乱人伦| 亚洲aⅴ无码专区在线观看春色 | 久久久久久久99精品免费| 亚洲AV无码AV男人的天堂| 久久久久久久久久国产精品免费| 亚洲午夜视频在线观看| 最近中文字幕大全免费视频| 亚洲AV一二三区成人影片| 在线看片人成视频免费无遮挡| 国产亚洲精品成人久久网站| 亚洲日本韩国在线| 午夜免费福利视频| 一本色道久久88—综合亚洲精品| 日韩免费高清一级毛片在线| 亚州**色毛片免费观看| 久久青草亚洲AV无码麻豆| 手机在线看永久av片免费| 99亚洲男女激情在线观看| 伊人久久大香线蕉亚洲五月天 | 毛片基地免费视频a| 国产青草亚洲香蕉精品久久| 亚洲中文字幕不卡无码| 91免费国产自产地址入| 国产精品久久久久久亚洲影视 | 亚洲av片一区二区三区| 精品国产麻豆免费人成网站| 亚洲成a人片在线观看中文app| 欧美三级在线电影免费| eeuss影院www天堂免费| 亚洲性无码av在线| 亚洲福利精品一区二区三区| 99在线在线视频免费视频观看| 亚洲av午夜国产精品无码中文字| 亚洲欧洲国产精品香蕉网| 成熟女人特级毛片www免费|