随笔 - 195  文章 - 3  评论 - 36  阅读 - 63万

自动生成MyEclipse 安装破解码

 

新建一个class 文件,Debug 模式运行一个,输入任意值 ,回车得到破解安装码

 

代码文件如下:

 

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

 

posted on   一只阿木木  阅读(440)  评论(0编辑  收藏  举报
编辑推荐:
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· DeepSeek “源神”启动!「GitHub 热点速览」
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· NetPad:一个.NET开源、跨平台的C#编辑器
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示