原理大概是这样的(个人粗略分析):获取当前的日期,来设置证书失效日期,解析后生成码-->再转码,最后生成序列号。

1、新建一个Java工程,(不会安装jdk创建环境变量的,请前往传送门:链接。)创建一个名为MyEclipseGen.class的文件,将下面的代码复制粘贴进去运行,

  1. package MyEclipseGen;
  2. import java.io.BufferedReader;
  3. import java.io.IOException;
  4. import java.io.InputStreamReader;
  5. public class MyEclipseGen {
  6. 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.";
  7. public String getSerial(String userId, String licenseNum) {
  8. java.util.Calendar cal = java.util.Calendar.getInstance();
  9. cal.add(1, 3);
  10. cal.add(6, -1);
  11. java.text.NumberFormat nf = new java.text.DecimalFormat("000");
  12. licenseNum = nf.format(Integer.valueOf(licenseNum));
  13. String verTime = new StringBuilder("-").append(new java.text.SimpleDateFormat("yyMMdd").format(cal.getTime())) .append("0").toString();
  14. String type = "YE3MP-";
  15. String need = new StringBuilder(userId.substring(0, 1)).append(type).append("300").append(licenseNum).append(verTime).toString();
  16. String dx = new StringBuilder(need).append(LL).append(userId).toString();
  17. int suf = this.decode(dx);
  18. String code = new StringBuilder(need).append(String.valueOf(suf)).toString();
  19. return this.change(code);
  20. }
  21. private int decode(String s) {
  22. int i;
  23. char[] ac;
  24. int j;
  25. int k;
  26. i = 0;
  27. ac = s.toCharArray();
  28. j = 0;
  29. k = ac.length;
  30. while (j < k) {
  31. i = (31 * i) + ac[j];
  32. j++;
  33. }
  34. return Math.abs(i);
  35. }
  36. private String change(String s) {
  37. byte[] abyte0;
  38. char[] ac;
  39. int i;
  40. int k;
  41. int j;
  42. abyte0 = s.getBytes();
  43. ac = new char[s.length()];
  44. i = 0;
  45. k = abyte0.length;
  46. while (i < k) {
  47. j = abyte0[i];
  48. if ((j >= 48) && (j <= 57)) {
  49. j = (((j - 48) + 5) % 10) + 48;
  50. } else if ((j >= 65) && (j <= 90)) {
  51. j = (((j - 65) + 13) % 26) + 65;
  52. } else if ((j >= 97) && (j <= 122)) {
  53. j = (((j - 97) + 13) % 26) + 97;
  54. }
  55. ac[i] = (char) j;
  56. i++;
  57. }
  58. return String.valueOf(ac);
  59. }
  60. public MyEclipseGen() {
  61. super();
  62. }
  63. public static void main(String[] args) {
  64. try {
  65. System.out.println("please input register name:");
  66. BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
  67. String userId = null;
  68. userId = reader.readLine();
  69. MyEclipseGen myeclipsegen = new MyEclipseGen();
  70. String res = myeclipsegen.getSerial(userId, "5");
  71. System.out.println("Serial:" + res);
  72. reader.readLine();
  73. } catch (IOException ex) {
  74. }
  75. }
  76. }

这是控制台出现提示,输入你的注册名,要记住,一会要用

然后点击:

Window-->preferences-->Myeclipse-->Subscription

输入刚才生成的user和序列号,ok。

MyEclipse2015Stable3.0破解方法的更多相关文章

  1. StarUML 3.0 破解方法

    首先在我这里下载  StarUML3.0 破解替换文件app.asar 链接:https://pan.baidu.com/s/1wDMKDQkKrE9D1c0YeXz0xg 密码:y65m 然后参照下 ...

  2. myeclipse 9.0 破解方法,亲测可用

    MyEclipse 9.0的破解方法,步骤如下: 1.破解公钥,确保MyEclipse没有开启,否则失败! 用WinRAR打开Common\plugins\com.genuitec.eclipse.c ...

  3. MyEclipse 2015 Stable 2.0破解方法

    本篇博文简单介绍一下利用网上说明的方法破解MyEclipse 2015 Stable 2.0的具体细节.因为原来在贴吧上的方法不够详细,所以本人重新整理了一下.方法源自:http://tieba.ba ...

  4. Unity3D之Unity3D 4.3.0 破解方法

    Dear  All 破解有风险,破解不尊重知识产权,如果有涉及请删除或者联系我……以下呢 是我这几天捣鼓的4.3.0版本 供学习!请大家支持正版! 1.下载最新版本 我是在Unity官网下载的最新版本 ...

  5. Quartus13.0破解方法

    一定要按照步骤顺序才能破解,这里很关键 1.下载和打开Quartus II破解器,选择“应用”,选择“是”,找到bin(64位系统是bin64)目录下的sys_cpt.dll,“打开” 2.然后将li ...

  6. Navicat for mysql 11.0破解方法

    Navicat for mysql破解器 首先下载破解器,然后解压至随意一个目录下.最后双击exe程序,按照提示找到你安装好的navicat for mysql文件夹下的navicat.exe程序,之 ...

  7. Camtasia studio8.0破解方法

    Camtasia Studio 8.0 注册说明: 1.安装时使用以下信息注册: 用户名: Honorary User密钥: GCABC-CPCCE-BPMMB-XAJXP-S8F6R 或者是 Nam ...

  8. Myeclipse 2015 stable 2.0 完美破解方法

    2015-08-21  以前写了一篇<Myeclipse 2015 stable 1.0 完美破解方法>,现 在跟新一下Myeclipse 2015 stable 2.0 破解方法,此方法 ...

  9. Myeclipse 2015 stable 1.0 完美破解方法(转自 http://yangl.net/2015/07/14/myeclipse_2015stable_1/)

    Myeclipse 2015 stable 1.0 完美破解方法 http://yangl.net/2015/07/14/myeclipse_2015stable_1/ 破解包(注册机)下载地址:链接 ...

随机推荐

  1. cmd命令行编译c/c++程序

    一.打开文件夹(文件夹名字为123,文件夹里面有程序345.cpp) cd 123 二.在cmd里面编译程序 1.cd Desktop      //在打开文件夹之前不回到桌面会出错 2.cd 123 ...

  2. 【研究】Tomcat远程代码执行漏洞(CVE-2017-12615)

    一.Tomcat远程代码执行漏洞(CVE-2017-12615) 1.1       实验环境 操作机:windows 10                         IP:192.168.1. ...

  3. 安装并配置hive

    教程:http://www.bubuko.com/infodetail-2523113.html 安装好mysql,然后进入mysql: 创建hive用户: 给hive用户赋权: 创建hive数据库, ...

  4. (转载) win10生成SSH keys

    (转载) win10生成 SSH keys:   SSH key 可以让你在你的电脑和Code服务器之间建立安全的加密连接.  先执行以下语句来判断是否已经存在本地公钥: cat ~/.ssh/id_ ...

  5. cloudera manager的7180 web界面访问不了的解决办法(图文详解)

    说在前面的话 我的机器是总共4台,分别为ubuntucmbigdata1.ubuntucmbigdata2.ubuntucmbigdata3和ubuntucmbigdata4.(注意啦,以下是针对Ub ...

  6. opensuse12.3 桌面设置备忘录

    工作空间外观 窗口装饰 ghost deco2.2 光标主题 ringG 桌面主题 ghost 欢迎屏幕 login-scan-splash-cg 应用程序外观 风格 部件样式 Oxygen 颜色 g ...

  7. FZU 1922——非主流——————【技巧题】

    非主流 Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submit Status P ...

  8. 深入理解JavaScript系列(30):设计模式之外观模式

    介绍 外观模式(Facade)为子系统中的一组接口提供了一个一致的界面,此模块定义了一个高层接口,这个接口值得这一子系统更加容易使用. 正文 外观模式不仅简化类中的接口,而且对接口与调用者也进行了解耦 ...

  9. MAC 下安装RabbitMQ

    1.使用brew来安装 RabbitMQ(地址:http://www.rabbitmq.com/install-standalone-mac.html ) 2.安装目录 /usr/local/Cell ...

  10. SQL 表定时同步

    1.创建存储过程 create proc [dbo].[sync_calendar] as truncate table dbo.CalendarEvents insert into Calendar ...