myeclipseBlue6.5破解2008-07-18 10:05import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class MyeclipseCrack {
//myeclipseBlue6.5破解
//提供可用的一组:wangsoft jLR8ZO-655444-53678656501110197
public static final void main(String[] args){
String id="wangsoft";
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() : "-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);="" }="">=>=>=>
只要将下面的代码执行就可以得到序列号,可以更改上面的用户名
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="zhangzunwei";
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() : "-1012310";
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);="" }="" }="">=>=>=>
破解了2年的注册码。
Subscriber:Administrator
Subscription Code:NLR8ZC-855550-6552685393219112
去下个
这个版本是无注册码的,暂时无法破解……
1) 根据"响马日志"的博客,知道它的主要文件存在于MyEclipse 6.5 Blue\myeclipse\eclipse\plugins\com.genuitec.eclipse.core_6.5.0.zmyeclipse650200806,把这个文件改好了,就差不多能搞定了.
2) 使用DJ Java Decompiler 把该jar解压,得到一些class, 查看一下,在ViperCore里面有一组boolean isLicenseValidBlue(boolean flag) 方法,把这些方法内容改为 "return true/false" 应该就能搞定.
3) 选择能够直接修改class文件或者bytecode的工具, 有Javassist(一个日本人做的,挺牛的) 和 Jclasslib. Javassist 文档和例子非常详细,而且基本的想法很简单,可以很快上手
修改方法的内容如下:
// method with one params
// / 100000000 boolean isLicenseValid(boolean flag)
CtClass[] cc1 = new CtClass[1];
cc1[0] = cp.get("boolean");
CtMethod m = cc.getDeclaredMethod("isLicenseValid", cc1);
m.setBody(str1);
4) 用修改好的ViperCore.calss 替代jar里面的这个文件,重新启动,搞定
5) jar 文件和用于修改的class文件在附件中.
该实验仅供学习研究使用,请勿用作商业用途.
附件:myeclipse-core.jar(51K)
Photoshop|
Dreamweaver|
SVG|
WebGL|
Visual Studio|
PowerDesigner|
Eclipse|
Git|
Apache Ant|
Atom|
Composer|
CodeSmith|
Flex|
Gradle|
Maven|
Sublime Text3|
SVN|
Tableau|
Vim|
Chrome开发者工具|
OpenGL|
Unity|
Direct3D|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
![](/assets/images/loadings.gif)
上传中....