随笔 - 234  文章 - 2943  trackbacks - 0
<2007年5月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

交友莫独酒,茅台西凤游。
口干古井贡,心徜洋河流。
称多情杜康,趟无量双沟。
赞中华巍巍,无此不销愁。

常用链接

留言簿(46)

随笔分类(285)

随笔档案(235)

最新随笔

搜索

  •  

积分与排名

  • 积分 - 414151
  • 排名 - 8

最新评论

 

 1 import java.io.BufferedReader;
 2 import java.io.IOException;
 3 import java.io.InputStreamReader;
 4 import java.io.PrintStream;
 5 import java.text.DecimalFormat;
 6 import java.text.NumberFormat;
 7 import java.text.SimpleDateFormat;
 8 import java.util.Calendar;
 9 
10 public class Myeclipse5_5_0_KeyMaker {
11 
12             private static final String L = "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.";
13 
14 
15             public static void main(String args[]) {
16         BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
17         String userId = null;
18         int intLicenseNum = 1;
19         String strLicenseNum = null;
20         boolean bProFlag = true;
21         String strProFlag = null;
22         while (userId == null || "".equals(userId.trim()))  {
23             System.out.print("Subscriber: ");
24             try {
25                 userId = br.readLine();
26             }
27             catch (IOException ioexception) { }
28         }
29         System.out.print("Number of licenses(default 1, max 999): ");
30         try {
31             strLicenseNum = br.readLine();
32         }
33         catch (IOException ioexception1) { }
34         NumberFormat nf = new DecimalFormat("000");
35         if (strLicenseNum == null || "".equals(strLicenseNum.trim())) {
36             strLicenseNum = nf.format(intLicenseNum);
37         } else {
38             strLicenseNum = nf.format(Integer.parseInt(strLicenseNum));
39         }
40         System.out.print("Professional or Standard(default pro, n=stand): ");
41         try {
42             strProFlag = br.readLine();
43         }
44         catch (IOException ioexception2) { }
45         if (strProFlag != null && !"".equals(strProFlag.trim())) {
46             bProFlag = false;
47         }
48         Calendar cal = Calendar.getInstance();
49         cal.add(12);
50         cal.add(6-1);
51         SimpleDateFormat sdf = new SimpleDateFormat("yyMMdd");
52         String need = userId.substring(01+ "Y" + (bProFlag ? "E3MP" : "E2MY"+ "-100" + strLicenseNum + "-" + sdf.format(cal.getTime()) + "0";
53         String dx = need + "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." + userId;
54         int suf = decode(dx);
55         String code = need + suf;
56         System.out.println("Subscription Code: " + change(code));
57     }
58 
59     static int decode(String s) {
60         int i = 0;
61         char ac[] = s.toCharArray();
62         int j = 0;
63         for (int k = ac.length; j < k; j++) {
64             i = 31 * i + ac[j];
65         }
66 
67         return Math.abs(i);
68     }
69 
70     static String change(String s) {
71         if (s == null || s.length() == 0) {
72             return s;
73         }
74         byte abyte0[] = s.getBytes();
75         char ac[] = new char[s.length()];
76         int i = 0;
77         for (int k = abyte0.length; i < k; i++) {
78             int j = abyte0[i];
79             if (j >= 48 && j <= 57) {
80                 j = ((j - 48+ 5% 10 + 48;
81             } else
82             if (j >= 65 && j <= 90) {
83                 j = ((j - 65+ 13% 26 + 65;
84             } else
85             if (j >= 97 && j <= 122) {
86                 j = ((j - 97+ 13% 26 + 97;
87             }
88             ac[i] = (char)j;
89         }
90 
91         return String.valueOf(ac);
92             }
93 }
94 

XX是什么?我也不知道。。。。。
大家凑合看吧,不是我写的,网上看来的
posted on 2007-05-28 15:26 交口称赞 阅读(2942) 评论(7)  编辑  收藏 所属分类: 破解 crack key 注册

FeedBack:
# re: xx5.5GA的keymaker 2007-05-31 09:27 Unmi
好像这个算出来的提示信息不是5.5版啊  回复  更多评论
  
# re: xx5.5GA的keymaker 2007-05-31 10:22 交口称赞
反正注册成功了
你试试不就知道了  回复  更多评论
  
# re: xx5.5GA的keymaker 2007-06-26 13:49 guess
真的可以用厄,太谢谢了  回复  更多评论
  
# re: xx5.5GA的keymaker 2007-06-26 16:35 交口称赞
而且5.5.1也可以用哦  回复  更多评论
  
# re: xx5.5GA的keymaker 2007-07-18 20:08 牛X
太好了  回复  更多评论
  
# re: xx5.5GA的keymaker 2007-08-22 14:33 Some java Developer
This is nice to get the key for My Eclipse.
i really tried to get key maker from and finally endup with this code.
  回复  更多评论
  
# re: xx5.5GA的keymaker 2007-10-27 00:10 CJL999
Is this code can use with myeclipse 6.0.1?  回复  更多评论
  

标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
 
 
相关链接:
网站导航: