惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
Microsoft Azure Blog
Microsoft Azure Blog
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
A
About on SuperTechFans
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
阮一峰的网络日志
阮一峰的网络日志
D
Docker
Jina AI
Jina AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The Register - Security
The Register - Security
J
Java Code Geeks
S
SegmentFault 最新的问题
月光博客
月光博客
G
Google Developers Blog
美团技术团队
Last Week in AI
Last Week in AI
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
T
The Blog of Author Tim Ferriss
腾讯CDC
Recent Announcements
Recent Announcements
Recorded Future
Recorded Future
The Cloudflare Blog
有赞技术团队
有赞技术团队
博客园_首页
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
B
Blog
I
InfoQ
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
F
Fortinet All Blogs
B
Blog RSS Feed
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
爱范儿
爱范儿
D
DataBreaches.Net
F
Full Disclosure
M
MIT News - Artificial intelligence
博客园 - 司徒正美
H
Help Net Security

博客园 - 封封

.net解决数据导出excel时的格式问题 用户中心 - 博客园 呼出窗口 gvim的查找替换 windows下GVim的块选择方式 PDF Xchange Pro 3.6.0120的注册码 Commons-logging + Log4j入门指南 Linux通过802.1X认证 如何用Maven来管理Java项目的Library 用户中心 - 博客园 非常好的Struts2.0 Blog 标准展BOM语句 [摘]Hibernate 与 SQL Server BLOB Subversion的权限控制 IBatis.NET 与 FireBird2.0的问题 浅谈.NET中的版本管理 FireBird 1.5 Quick Start Log4Net使用指南 Excel SP2 分类汇总的总计错乱问题
破解JIRA3.3
封封 · 2007-02-14 · via 博客园 - 封封

以下原文转自http://www.blogjava.net/freddychu/archive/2005/11/05/18319.html

昨天发现缺陷管理工具JIRA,目前版本是3.3.3,安装使用了一下。感觉很好。
下载地址:http://www.atlassian.com/software/jira/
我下载的是JIRA Enterprise: Evaluation版本,同时申请一个30的Licence。
破解比较简单,有关Licence的代码在atlassian-extras-0.7.10.jar中。
1、反编译包中的文件:com.atlassian.license.DefaultLicense.class。改成下面:

// Decompiled by DJ v3.8.8.85 Copyright 2005 Atanas Neshkov  Date: 2005-11-5 17:41:28
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name:   DefaultLicense.java

package com.atlassian.license;

import java.util.*;

// Referenced classes of package com.atlassian.license:
//            License, LicenseType

public class DefaultLicense
    implements License
{

    public DefaultLicense(Date dateCreated, Date datePurchased, String organisation, LicenseType licenseType, int users)
    {
        this.dateCreated = dateCreated;
        this.datePurchased = datePurchased;
        this.organisation = organisation;
        this.licenseType = licenseType;
        this.users = users;
    }

    public Date getDateCreated()
    {
        return dateCreated;
    }

    public Date getDatePurchased()
    {
        return datePurchased;
    }

    public String getOrganisation()
    {
        return organisation;
    }

    public LicenseType getLicenseType()
    {
        return licenseType;
    }

    public String toString()
    {
        return licenseType.getNiceName() + " licensed to " + organisation;
    }

    public boolean isExpired()
    {
        return false;

    }

    public Date getExpiryDate()
    {
        return null;
    }

    public boolean isLicenseLevel(Collection levels)
    {
        for(Iterator iterator = levels.iterator(); iterator.hasNext();)
        {
            String level = (String)iterator.next();
            if(getLicenseType().getDescription().toLowerCase().indexOf(level.toLowerCase()) != -1)
                return true;
        }

        return false;
    }

    public int getUsers()
    {
        if(licenseType.requiresUserLimit())
            return users;
        else
            return -1;
    }

    public static long EVALUATION_PERIOD = 0x9fa52400L;
    protected Date dateCreated;
    protected Date datePurchased;
    protected String organisation;
    protected LicenseType licenseType;
    private int users;

}


其实就该了两个方法:

    public boolean isExpired()
    {
        return false;

    }

    public Date getExpiryDate()
    {
        return null;
    }

2、把编译好的class文件复制到atlassian-extras-0.7.10.jar中,覆盖原来文件。
3、启动服务器,成功。
我把我破解后的class附上:http://www.blogjava.net/Files/freddychu/DefaultLicense.zip