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

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

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

    posts - 1,comments - 0,trackbacks - 0

    新建一個(gè)工程,導(dǎo)入下面的文件

    MyEclipseGen.java

    這些階段一直在用eclipse,Myeclipse沒(méi)有使過(guò)。今天上網(wǎng)看到Myeclipse7.5.0版發(fā)布了,因此我下載了個(gè)。

    電信封掉了Myeclipse的官網(wǎng)IP,因此不使用代理的話,它的官方網(wǎng)站是打不開(kāi)的,可以使用一些簡(jiǎn)單的在線代理,比如www.coobai.com

    作為開(kāi)源世界寄生蟲(chóng)的Myeclipse不是免費(fèi)的,下載之后會(huì)有30天的免費(fèi)試用期.接下來(lái)要做的事,就是破解注冊(cè)碼了:代碼如下


    新建一個(gè)工程,導(dǎo)入下面的文件

    MyEclipseGen.java


    1. import java.io.BufferedReader;  
    2. import java.io.IOException;  
    3. import java.io.InputStreamReader;  
    4. public class MyEclipseGen {  
    5. 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.";  
    6. public String getSerial(String userId, String licenseNum) {  
    7.    java.util.Calendar cal = java.util.Calendar.getInstance();  
    8.    cal.add(13);  
    9.    cal.add(6, -1);  
    10.    java.text.NumberFormat nf = new java.text.DecimalFormat("000");  
    11.    licenseNum = nf.format(Integer.valueOf(licenseNum));  
    12.    String verTime = new StringBuilder("-").append(  
    13.      new java.text.SimpleDateFormat("yyMMdd").format(cal.getTime()))  
    14.      .append("0").toString();  
    15.    String type = "YE3MP-";  
    16.    String need = new StringBuilder(userId.substring(01)).append(type)  
    17.      .append("300").append(licenseNum).append(verTime).toString();  
    18.    String dx = new StringBuilder(need).append(LL).append(userId)  
    19.      .toString();  
    20.    int suf = this.decode(dx);  
    21.    String code = new StringBuilder(need).append(String.valueOf(suf))  
    22.      .toString();  
    23.    return this.change(code);  
    24. }  
    25. private int decode(String s) {  
    26.    int i;  
    27.    char[] ac;  
    28.    int j;  
    29.    int k;  
    30.    i = 0;  
    31.    ac = s.toCharArray();  
    32.    j = 0;  
    33.    k = ac.length;  
    34.    while (j < k) {  
    35.     i = (31 * i) + ac[j];  
    36.     j++;  
    37.    }  
    38.    return Math.abs(i);  
    39. }  
    40. private String change(String s) {  
    41.    byte[] abyte0;  
    42.    char[] ac;  
    43.    int i;  
    44.    int k;  
    45.    int j;  
    46.    abyte0 = s.getBytes();  
    47.    ac = new char[s.length()];  
    48.    i = 0;  
    49.    k = abyte0.length;  
    50.    while (i < k) {  
    51.     j = abyte0[i];  
    52.     if ((j >= 48) && (j <= 57)) {  
    53.      j = (((j - 48) + 5) % 10) + 48;  
    54.     } else if ((j >= 65) && (j <= 90)) {  
    55.      j = (((j - 65) + 13) % 26) + 65;  
    56.     } else if ((j >= 97) && (j <= 122)) {  
    57.      j = (((j - 97) + 13) % 26) + 97;  
    58.     }  
    59.     ac[i] = (char) j;  
    60.     i++;  
    61.    }  
    62.    return String.valueOf(ac);  
    63. }  
    64. public MyEclipseGen() {  
    65.    super();  
    66. }  
    67. public static void main(String[] args) {  
    68.    try {  
    69.     System.out.println("please input register name:");  
    70.     BufferedReader reader = new BufferedReader(new InputStreamReader(  
    71.       System.in));  
    72.     String userId = null;  
    73.     userId = reader.readLine();  
    74.     MyEclipseGen myeclipsegen = new MyEclipseGen();  
    75.     String res = myeclipsegen.getSerial(userId, "5");  
    76.     System.out.println("Serial:" + res);  
    77.     reader.readLine();  
    78.    } catch (IOException ex) {  
    79.    }  
    80. }  
    81. }  

    運(yùn)行該代碼,在控制臺(tái)中會(huì)出現(xiàn):
    please input register name:
    ×××××(你的name,隨便什么)
    即生成序列號(hào):
    ××××× ××××× ×××××...

    進(jìn)入myeclipse,在菜單中選擇 Myeclipse->Subscription Information 然后 輸入Subscriber和Subscription code即可。
    我的注冊(cè)碼可以用1095天.呵呵..蠻爽的.
    posted on 2009-09-17 11:47 TYY 閱讀(1081) 評(píng)論(0)  編輯  收藏

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。

    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲线精品一区二区三区| 国产中文字幕免费| 一级特黄录像免费播放肥| 国产精品麻豆免费版| 亚洲国产精品网站在线播放| 成年美女黄网站色大免费视频| 亚洲日韩精品A∨片无码| 三级黄色免费观看| 国产免费资源高清小视频在线观看| 亚洲AV无码无限在线观看不卡| 妞干网免费视频观看| 亚洲sm另类一区二区三区| 无码欧精品亚洲日韩一区夜夜嗨 | 亚洲第一页在线播放| 免费无码午夜福利片69| 亚洲国产日韩成人综合天堂 | 国产成人啪精品视频免费网| 羞羞视频免费网站入口| 国产精品V亚洲精品V日韩精品| 在线观看肉片AV网站免费| 亚洲精品视频免费观看| 在线看片免费人成视频播| 亚洲成人免费电影| 午夜免费啪视频在线观看| 久久国产成人亚洲精品影院 | 精品国产呦系列在线观看免费| 亚洲国产AV无码专区亚洲AV | 中文字幕视频免费| 亚洲日韩精品无码专区| 国产黄色一级毛片亚洲黄片大全| 久操视频免费观看| 亚洲产国偷V产偷V自拍色戒| 亚洲一级毛片免费看| 粉色视频在线观看www免费| 日产乱码一卡二卡三免费| 久久亚洲国产最新网站| 免费大黄网站在线观看| 美景之屋4在线未删减免费| 亚洲AV无码一区二区三区系列| 嫩草成人永久免费观看| 亚洲制服丝袜第一页|