package codex;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class Crack {
public static final void main(String[] args){
String id="zengyl";
String num="10";
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() : "-0812310";
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);
}
}
分享到:
相关推荐
MyEclipse6.5注册码生成代码,java源码。整个工程打包,只要导入工程,修改注册信息,运行即可生成MyEclipse6.5注册码。
NULL 博文链接:https://yunhuii.iteye.com/blog/1132023
MyEclipse6.5 注册码生成器,JAVA 源代码,可根据自己的情况相应修改。
Myeclipse6.5 注册码生成方法
MyEclipse6.5注册码生成源码,本人亲测可用,希望能帮到版本过期的朋友
myeclipse6.5注册码生成脚本(保证可用本人用了很久了)
MyEclipse 6.5 注册码 key 生成程序 java代码 编译运行源码 输入任意用户 生成相应的key值
导入myeclipse中,运行,随意输入一个用户名,即可生成注册码
MyEclipse6.5 Blue 注册码生成器
MyEclipse6.5、注册码、java的方法 MyEclipse6.5注册码的java生成方法 2010年11月上传,有效
myeclipse 6.5注册码,不需要断网的 ,可以使用里面的程序生成
MyEclipse6.5-8.5 注册码生成器 7z压缩
新建个java类,可以自己修改注册名和注册码,过期时间也可自己修改,代码中有标注,运行后生成注册码 再提供一个2014年12月31号过期的注册码: jiangxl wLR8ZO-655888-69678656242496607
解压MyEclipse8.6RegisterCode后,用MyEclipse导入java程序!然后运行! 提示please input register name: ...jt不一定要jt可以输入自己喜欢和好...自己重新建一个project运行即可,本程序适用于MyEclipse6.5以上任何版本
放到myeclipse6.5集成开发环境中 会生成注册码 开发工具必备
运行方法: 在MyEclipse新建java项目导入该文件,右键选择Run as application,即可生成最新注册码,可以手动修改源代码中的日期时间
exe 可执行文件 方便 随便你用什么用户名 密码自动生成
适用于MyEclipse6.5,7.0,主要好处是java实现的源代码。
1、新建java文件,复制下面代码到该文件,右键点击运行,鼠标移到console控制台,...2、打开myeclipse,点开"Myeclipse"菜单项,有个"Subsription Infomation...",点击弹出一个窗口,输入正确的用户名和注册码就可以了.
MyEclipse6.5注册机,可直接生成MyEclipse6.5所需注册码