kalman03

每天早上看一遍《福布斯》富翁排行榜,如果上面没有我的名字,我就去学习......
随笔 - 22, 文章 - 0, 评论 - 86, 引用 - 0
数据加载中……

MyEclipse破解(收藏)

MyEclipse破解:
    运行下面的代码,即可获得注册码
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class MyEclipseGen {
private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf). 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.";

public String getSerial(String userId, String licenseNum) {
   java.util.Calendar cal 
= java.util.Calendar.getInstance();
   cal.add(
13);
   cal.add(
6-1);
   java.text.NumberFormat nf 
= new java.text.DecimalFormat("000");
   licenseNum 
= nf.format(Integer.valueOf(licenseNum));
   String verTime 
= new StringBuilder("-").append(
     
new java.text.SimpleDateFormat("yyMMdd").format(cal.getTime()))
     .append(
"0").toString();
   String type 
= "YE3MP-";
   String need 
= new StringBuilder(userId.substring(01)).append(type)
     .append(
"300").append(licenseNum).append(verTime).toString();
   String dx 
= new StringBuilder(need).append(LL).append(userId)
     .toString();
   
int suf = this.decode(dx);
   String code 
= new StringBuilder(need).append(String.valueOf(suf))
     .toString();
   
return this.change(code);
}

private int decode(String s) {
   
int i;
   
char[] ac;
   
int j;
   
int k;
   i 
= 0;
   ac 
= s.toCharArray();
   j 
= 0;
   k 
= ac.length;
   
while (j < k) {
    i 
= (31 * i) + ac[j];
    j
++;
   }
   
return Math.abs(i);
}

private String change(String s) {
   
byte[] abyte0;
   
char[] ac;
   
int i;
   
int k;
   
int j;
   abyte0 
= s.getBytes();
   ac 
= new char[s.length()];
   i 
= 0;
   k 
= abyte0.length;
   
while (i < k) {
    j 
= abyte0[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;
    }
    ac[i] 
= (char) j;
    i
++;
   }
   
return String.valueOf(ac);
}

public MyEclipseGen() {
   
super();
}

public static void main(String[] args) {
   
try {
    System.out.println(
"please input register name:");
    BufferedReader reader 
= new BufferedReader(new InputStreamReader(
      System.in));
    String userId 
= null;
    userId 
= reader.readLine();
    MyEclipseGen myeclipsegen 
= new MyEclipseGen();
    String res 
= myeclipsegen.getSerial(userId, "5");
    System.out.println(
"Serial:" + res);
    reader.readLine();
   } 
catch (IOException ex) {
   }
}
}

posted on 2009-04-01 21:22 kalman03 阅读(3932) 评论(13)  编辑  收藏

评论

# re: MyEclipse破解(收藏)  回复  更多评论   

很好用!
到2012年!
2009-04-22 09:58 | fulink

# re: MyEclipse破解(收藏)[未登录]  回复  更多评论   

super!!!
2009-05-21 09:49 | ck

# re: MyEclipse破解(收藏)  回复  更多评论   

good
2009-09-21 13:14 | good

# re: MyEclipse破解(收藏)[未登录]  回复  更多评论   

大哥,我靠,你真牛B死了.
2009-10-16 09:09 | maple

# re: MyEclipse破解(收藏)  回复  更多评论   

膜拜! 感谢!
2009-11-13 20:42 | VSky

# re: MyEclipse破解(收藏)  回复  更多评论   

Subscriber: timloo
Product ID: E3MP (MyEclipse Professional Subscription)
License version: 3.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20130127
Number of licenses: 5

我的使用情況如上,
我是用在8版上,

Error -- The subscription code is invalid.

結果無效,請問,這個公式是適用於那版呢??

謝謝!!
2010-01-27 19:50 | 小中

# re: MyEclipse破解(收藏)  回复  更多评论   

@小中
正常情况下应该没问题,我从6.0到8.5试过都没问题的。
2010-01-27 21:07 | kalman03

# re: MyEclipse破解(收藏)[未登录]  回复  更多评论   

真牛啊!
2010-10-03 16:32 | dd

# re: MyEclipse破解(收藏)  回复  更多评论   

太强了
2011-05-18 11:22 | wgd

# re: MyEclipse破解(收藏)[未登录]  回复  更多评论   

牛X!!
2011-06-26 23:36 | jolly

# re: MyEclipse破解(收藏)  回复  更多评论   

求10.0破解
2011-11-10 10:13 | sxw

# re: MyEclipse破解(收藏)  回复  更多评论   

怎么运行呀?
2011-12-03 11:58 | 棒棒糖

# re: MyEclipse破解(收藏)  回复  更多评论   

强大 可以用
2011-12-06 10:08 | 冰蓝霞宇

只有注册用户登录后才能发表评论。

网站导航: