吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 14911|回复: 26
收起左侧

[Java 转载] MyEclipse8.5注册机,生成注册码的源码,Java代码

  [复制链接]
lxg1208 发表于 2014-11-11 22:23
本帖最后由 lxg1208 于 2014-11-11 22:37 编辑

新手第一发,报道+分享(搬运)

肯定有人在还用MyEclipse,而且肯定还有人在用8.5版本。。。

[Java] 纯文本查看 复制代码
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class MyEclipseKeyGen {
	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 MyEclipseKeyGen() {
		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();
			MyEclipseKeyGen myeclipsekeygen = new MyEclipseKeyGen();
			String res = myeclipsekeygen.getSerial(userId, "5");
			System.out.println("Serial:" + res);
			reader.readLine();
		} catch (IOException ex) {
		}
	}
}

MyEclipseKeyGen.zip

1.29 KB, 下载次数: 173, 下载积分: 吾爱币 -1 CB

免费评分

参与人数 1热心值 +1 收起 理由
sunlewuyou + 1 谢谢@Thanks!我非常感谢楼主!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

52pojie123 发表于 2016-7-23 14:13
difuer 发表于 2016-7-22 19:42
能分享一下2014的工具吗?谢谢

不知道怎么给你。我没法上穿文件。下载链接不知道怎么给你。你搜索Myeclipse-2014-GA-破解文件.7z 这个名字。有的不需要积分的。。自己下载吧.如果不行再找我。。
null2008 发表于 2014-11-11 22:44
 楼主| lxg1208 发表于 2014-11-11 22:49
ジ残破ルづ 发表于 2014-11-11 22:49
在用MyEclipse 10.1汉化+注册的。。。

免费评分

参与人数 1热心值 +1 收起 理由
mengjin536 + 1 大神敢不敢分享下,540644443@qq.com求大神.

查看全部评分

 楼主| lxg1208 发表于 2014-11-11 22:51
ジ残破ルづ 发表于 2014-11-11 22:49
在用MyEclipse 10.1汉化+注册的。。。

没办法,实习公司都在用8.5。。。
liang075680 发表于 2014-11-11 23:03
学习中。。。。。。
manbajie 发表于 2014-11-12 20:43
来膜拜大神   学习一下
tjhyzg 发表于 2015-7-19 11:06
不错,以前用过,最近正在研究用什么版本
610100 发表于 2015-8-4 18:41

MyEclipse是一款非常优秀的Java开发工具
ぁмǐηɡ玥夜 发表于 2015-10-10 00:34
这么容易就被破解了?
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-5-29 09:48

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表