让MyEclipse注册码不过期的方法 MyEclipse注册码

 

让MyEclipse注册码不过期的方法 MyEclipse注册码
2010-01-23 11:56
今天打开MyEclipse发现以前的注册码过期了,自己从网上找了一个计算注册码的程序,结果程序计算出来的也是过期的(2009.12.31过期),没办法只好修改一下这程序。下面我讲一下修改之处,让你的MyEclipse注册码永不过期。

我的MyEclipse版本是5.5.0GA,所以我下了一个5.5版本的破解程序如下:

具体破解方法在程序中,用红色字体标出。先看一下程序里的红色字,然后看下面这个:

   程序具体使用方法:在MyEclipse中运行此程序,控制台会显示让你输入用户名。这时你随便输什么用户名都可以,然后回车,程序会输出相应的注册码。这时你用你输入的用户名和程序计算出的注册码去注册MyEclipse软件就可以了!

//MyEclipse破解程序http://hi.baidu.com/lingsuch

import java.io.*; 

public class hoho  
{  
    public static String convert(String s) throws ArrayIndexOutOfBoundsException
    {  
        if (s == null || s.length() == 0)  
            return s;  
        byte[] byteArray = s.getBytes();  
        char[] charArray = new char[s.length()];  

        int byteArrayLength = byteArray.length;  

        for (int i = 0; i < byteArrayLength; i++)  
        {  
            int j = byteArray[i];  
            if (j >= 48 && j <= 57)  
                j = ((j - 48) + 5) % 10 + 48;  
            else if (j >= 65 && j <= 90)  
                j = ((j - 65) + 13) % 26 + 65;  
            else if (j >= 97 && j <= 122)  
                j = ((j - 97) + 13) % 26 + 97;  
            charArray[i] = (char) j;  
        }  

        return String.valueOf(charArray);  
    }  

    private static int hash(String s)  
    {  
        int i = 0;  
        char charArray[] = s.toCharArray();  

        int charArrayLength = charArray.length;  
        for (int j = 0; j < charArrayLength; j++)  
            i = 31 * i + charArray[j];  

        return Math.abs(i);  
    }  

    private static String inputString()  
    {  
        BufferedReader bufferedreader = new BufferedReader(  
                new InputStreamReader(System.in));  
        String s = null;  
        try
        {  
            s = bufferedreader.readLine();  
        } catch (IOException ioexception)  
        {  
            ioexception.printStackTrace();  
        }  
        return s;  
    }  

    public static void main(String args[])  
    {  
        try
        {  
            System.out.println("My Eclipse IDE v9.99 Keygen");  
            System.out.print("License Name : ");  
            String s = inputString();  

           //注意了同志们!这里是修改的唯一地点,也是重点!

           //你想让你的软件一直有效到什么时候呢?如果是2010年12月31日,就把下面的红色字段“0912310”改成“1012310”即可!其他日期以此类推,什么时候都可以!

           // String licStr = "YE3MP-999-00-9912310";   //5.0版
            String licStr = "YE3MP-100000-0912310"; //5.5版

//如果你的软件版本不是5.0或5.5的,请从网上下载你的版本的破解程序,再找到上面的字段进行修改即可。
            String h = s.substring(0,1)+ licStr

+ "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://hi.baidu.com/lingsuch). Under section 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years imprisonment for a first offense. Think about it; pay for a license, avoid prosecution, and feel better about yourself."
            + s;  
            int j = hash(h);  
            String lic = s.substring(0, 1) + licStr + Integer.toString(j);  
            System.out.println("License Key : " + convert(lic));  
        } catch (Exception exception)  
        {  
            exception.printStackTrace();  
        }  
    }  

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值