`
tntxia
  • 浏览: 1501470 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

两个MyEclipse的注册机代码

阅读更多

第一个:

 

package com.tntxia.license.myeclipse;

import java.text.DecimalFormat;  
import java.text.NumberFormat;  
import java.text.SimpleDateFormat;  
import java.util.Calendar;  
  
public class Crack {  
	/*	myeclipseBlue6.5破解,运行即可得到key		*/
	public static final void main(String[] args){  
        String id="www.1.cn";  //这是指注册的名称,随我们自定义
        String num="999";  
        System.out.println(getSerial(id,"100",num,false));  
	}  
	public static String getSerial(String userId, String version, String licenseNum, boolean selected) {  
		Calendar cal = Calendar.getInstance(); 
        cal.add(1, 3);  
        cal.add(6, -1);  
        NumberFormat nf = new DecimalFormat("000");  
        licenseNum = nf.format(Integer.valueOf(licenseNum));  
        String verTime = selected ? (new StringBuffer("-")).append((new SimpleDateFormat("yyMMdd")).format(cal.getTime())).append("0").toString(): "-0912310";//这的时间是指到期时间
        String type = "YE3MB-";  
        String need = (new StringBuffer(String.valueOf(userId.substring(0, 1)))).append(type).append(version).append(licenseNum).append(verTime).toString();  
        String dx = (new StringBuffer(String.valueOf(need))).append("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.").append(userId).toString();  
        int suf = decode(dx);  
        String code = (new StringBuffer(String.valueOf(need))).append(String.valueOf(suf)).toString();  
        return change(code);  
    }  
  
	private static int decode(String s) {  
		int i = 0;  
        char ac[] = s.toCharArray();  
        int j = 0;  
        for (int k = ac.length; j < k; j++)  
            i = 31 * i + ac[j];  
        return Math.abs(i);  
    }  
  
    private static String change(String s) {  
        byte abyte0[] = s.getBytes();  
        char ac[] = new char[s.length()];  
        int i = 0;  
        for (int k = abyte0.length; i < k; i++) {  
            int 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;  
        }    
        return String.valueOf(ac);  
    }  
}  


 

第二个:

 

package com.tntxia.license.myeclipse;

import java.io.BufferedReader; 
import java.io.IOException; 
import java.io.InputStreamReader; 

public class MyEclipseGen { 
	/*	myeclipse6.5破解,运行即可得到key		*/
	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(1, 3); 
		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(0, 1)).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) { 
		  
		} 
	} 
} 

 

我的MyEclipse好像使用第二个代码才有用。

分享到:
评论

相关推荐

    myeclipse注册机(一段简单的代码运行即可)

    此方法接收两个参数:`userId` 和 `licenseNum`,分别代表用户的 ID 和许可证号。该方法的核心是生成一个有效的注册码。 1. **日期计算**: - 使用 `java.util.Calendar` 类来计算一个未来的日期,通常是当前日期...

    Myeclipse注册机代码

    标题"Myeclipse注册机代码"提及的是与创建或使用MyEclipse的注册机相关的代码。注册机是一种程序,其目的是生成可以激活MyEclipse的假冒许可证密钥。尽管这可能为用户提供免费使用MyEclipse的机会,但这种行为侵犯了...

    myeclipse注册机

    MyEclipse 注册机代码解析 #### 1.1 概述 MyEclipse是一款非常流行的Java集成开发环境(IDE),它基于Eclipse平台并提供了丰富的功能,如智能代码编辑器、数据库支持、Web开发工具等。然而,MyEclipse并非免费软件...

    Myeclipse注册机的源代码

    这个源代码号称支持Myeclipse 6.5和7.0两个版本,java的代码,很爽!编译运行后输入想要注册的用户名,然后再控制台下就会生成相应的注册码!注意:注册Myeclipse的时候要先断开网络,否则可能注册不成功! 注册方法...

    MyEclipse注册机(版本9到版本10)

    【标签】"MyEclipse注册机9 10"明确指出了这个工具主要针对的是MyEclipse的9和10这两个特定版本,强调了其适用范围。 在压缩包内有一个名为"MyEclipse10注册机"的文件,这通常是一个可执行程序,用户通过运行此文件...

    myEclipse注册机源代码

    该方法接收两个参数:`userId`(用户ID)和`licenseNum`(许可证号)。方法内部通过当前日期加上特定的时间偏移量来生成一个有效的有效期时间戳,并结合用户ID、许可证类型等信息形成一个待处理字符串`need`。接着,...

    MyEclipse注册机(可注册5.5及5.5以前版本).txt

    - `public String getSerial(String userId, String licenseNum)`:此方法接收两个参数——用户ID和许可证编号,并返回一个序列号。 - 使用了当前日期进行计算,通过调整日期来生成有效期。 - 序列号的格式由多个...

    Eclipse、MyEclipse下载地址,MyEClipse8.5注册码,MyEclipse注册机

    Eclipse和MyEclipse是两款广泛使用的Java集成开发环境(IDE),尤其在企业级Java应用开发中占有重要地位。Eclipse是一款开源的IDE,而MyEclipse是基于Eclipse的商业扩展版本,提供了更多的功能和服务。 Eclipse是...

    MyEclipse6注册机源代码

    - 方法接收两个参数:`userId`(用户ID)与`licenseNum`(许可证编号)。 - 首先,根据当前日期计算出有效期截止日。 - 接着构造一个字符串`need`,包含用户ID、固定前缀、许可证编号以及有效期截止日期。 - ...

    MyEclipse 8注册机

    1. MyEclipseKeyGen.exe - 这个文件很可能是一个MyEclipse 8的注册机程序,其功能是生成激活码或序列号。执行这个程序,用户可能期望能为MyEclipse 8提供一个有效的注册码,从而无需购买即可使用。 2. myeclipse-...

    myeclipse注册机源码

    - `public String getSerial(String userId,String licenseNum){...}`:这是一个公共方法,返回类型为`String`,接收两个参数`userId`和`licenseNum`。 - `private int decode(String s){...}`:这是一个私有方法...

    myeclipse 8.5注册机 注册码生成

    这就引出了“注册机”和“注册码”这两个概念。 注册机,如题目中提到的"myeclipse 8.5注册机",是一种程序,通常用于生成软件的非法序列号或注册码。它们通过模拟软件的授权验证过程来伪造有效的许可证信息,使得...

    Myeclipse7.0注册码及注册机的源代码

    - `getSerial`方法接收两个参数:`userId`和`licenseNum`,分别代表用户的ID和许可证号。该方法通过一系列复杂的运算生成最终的注册码。 - 使用`java.util.Calendar`类来获取并调整当前日期,以生成有效期时间戳。...

    MyEclipse 6.6 GA 下载[注册码]

    以下是两个可用的注册码: 1. **注册码一**: - Subscriber: www.1cn.biz - Subscription Code: jLR8ZC-655444-65526656052107345 - MD5: 3bedd177b9559d1afc508eeb0713d9e0 2. **注册码二**: - Subscriber: ...

    myEclipe注册机

    【描述】提到"myEclipse注册机,可以注册6.5/8.5",这暗示了两个关键信息:一是myEclipse的版本,包括6.5和8.5;二是注册机的概念。myEclipse作为商业软件,通常需要购买许可证才能使用,但有些人可能通过注册机来...

    myeclipse6.6注册码(有效期2016年)

    MyEclipse是基于Eclipse平台的一个集成开发环境(IDE),专为Java EE应用程序设计。它不仅提供了Eclipse的所有功能,还添加了大量高级工具和服务,如Web应用开发工具、数据库工具、项目管理工具等。MyEclipse 6.6...

    MyEclipse_Key

    在本文档中,我们将详细介绍MyEclipse 8.5和8.6两个版本的不同版型(Edition)的注册码信息,包括Standard Edition、Professional Edition、Spring Edition和Blue Edition四个主要版型。这些注册码可用于激活不同...

    myeclipse8.0注册文件

    这个方法接收两个参数: - `userId`:用户ID。 - `licenseNum`:许可证编号,默认值为 "5"。 此方法首先获取当前时间并将其向前调整一个月减一天,然后格式化日期为 "yyMMdd" 格式,并在此基础上构建出一个字符串 ...

Global site tag (gtag.js) - Google Analytics