MyEclipse的破解代码,适用各个版本
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class MyEclipseGen {
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 2014 破解补丁及激活步骤
针对 MyEclipse Trail Expired 问题的解决方法 我用网上找的注册类生成注册码的方式注册了一下,重启MyEclipse仍然会有提示弹窗,不过剩余时间由 4 days变成了 5 da ...
- Myeclipse 2014 破解
Myeclipse 2014 破解补丁,首先需要先下载 Myeclipse 2014 官方安装文件,下载地址http://www.jb51.net/softs/150886.html,然后下载此补丁. ...
- (MyEclipse) MyEclipse完美破解方法(图)
http://photo.blog.sina.com.cn/list/blogpic.php?pid=53358777td408badc4071&bid=533587770101dd03&am ...
- 关于myeclipse的破解的问题
myeclipse的破解的问题,也是在网上down 了一下,发现并不需要找到什么注册的软件都可以自动完成的哦! 博客地址:http://blog.csdn.net/fuxiaohui/article/ ...
- 【转】myeclipse的破解方法
获得myeclipse的长期使用权限 以下主要内容来自:http://www.sxrczx.com/t/article/8ad0ed7521434d278d401bdeea5fd820.htm 1.下 ...
- 【技术贴】解决myeclipse SVN 提交代码 commit:remains in tree-conflict错误的解决办法
[技术贴]解决myeclipse SVN 提交代码 commit:remains in tree-conflict错误的解决办法 错误是:Aborting commit: xxxxx’ remains ...
- 【技术贴】解决myeclipse SVN 提交代码 commit:remains in tree-c
[技术贴]解决myeclipse SVN 提交代码 commit:remains in tree-conflict错误的解决办法 错误是:Aborting commit: xxxxx' remains ...
- Myeclipse 2014破解教程
现在很多java编程软件人士大都使用MyEclipse,这软件的强大之处我就不说了,我说下安装步骤与破解步骤,若无JDK则先安装再配置环境变量,这个我就不讲了 工具/原料 MyEclipse安装包 ...
- MyEclipse 2016 破解详细过程
转自:https://blog.csdn.net/u012318074/article/details/71310553/ 文件资源 MyEclipse 和 破解程序可以到百度云下载:http://p ...
随机推荐
- 实现AJAX跨域访问方式一
1.添加pom依赖 <dependency> <groupId>com.thetransactioncompany</groupId> <artifactId ...
- 详细介绍javascript中的几种for循环的区别
偶然间见到了forEach循环,感觉很新奇,就研究了一下,顺带着把js中的几种for循环做了一个比较. 首先,简单说一下,js中一共大概有四种for循环:(1).那种简单常见的for循环:(2).fo ...
- 创建一个doc对象时候 如果读取了一个已存在的xml对象时候 该xml对象的结构已存在doc中 当改变该doc结构时候 不需要创建新的doc对象
创建一个doc对象时候 如果读取了一个已存在的xml对象时候 该xml对象的结构已存在doc中 当改变该doc结构时候不 需要创建新的doc对象 直接添加即可 他会同步过去
- BZOJ4311 向量(线段树分治+三分)
由点积的几何意义(即投影)可以发现答案一定在凸壳上,并且投影的变化是一个单峰函数,可以三分.现在需要处理的只有删除操作,线段树分治即可. #include<iostream> #inclu ...
- shared_ptr 的循环依赖问题
#include <memory> #include <iostream> using namespace std; struct A; struct B; struct A ...
- [Leetcode] The minimum depth of binary tree二叉树的最小深度
Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shor ...
- 洛谷 P2893 [USACO08FEB]修路Making the Grade 解题报告
P2893 [USACO08FEB]修路Making the Grade 题目描述 A straight dirt road connects two fields on FJ's farm, but ...
- 安卓的progress
https://www.cnblogs.com/wolipengbo/archive/2013/10/23/3383667.html
- Eclipse开发环境配置,打磨Eclipse,安装插件(适用3.4,3.5,3.6,3.7)
转载自:http://elf8848.iteye.com/blog/354035 打磨Eclipse -- 磨刀不误砍柴工 -------------------------------------- ...
- java 身份证15位转18位
/** * 根据身份证号获取性别 * * @param pid * 身份证号 * @return 性别 F为女M为男 */ public static String getSexByPid(Strin ...