技术博客开篇,坚持下去是最低的要求

本文介绍了一个用于生成MyEclipse blue edition破解码的小型Java程序。通过简单的输入用户名和授权机器数量,即可获得相应的激活码。此程序利用日期、用户自定义字符串等进行计算。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

终于要开始自己写技术博客的道路了。说到底,这也只是一个记录自己知识增长和技术进步的地方。如果能给别人带来一些信息甚至启发,那将是意外之喜。今天就先上一个从网上得来的crack程序吧。

这是一个可以获得MyEclipse blue edition破解码的程序。

  1. import java.text.DecimalFormat;
  2. import java.text.NumberFormat;
  3. import java.text.SimpleDateFormat;
  4. import java.util.Calendar;
  5. public class Crack {
  6.     public static final void main(String[] args){
  7.         String id="zhangzunwei";//输入你想要注册的用户名
  8.         String num="999";//输入你想要注册的机器数量,这样key就可以在多台机器上使用
  9.         System.out.println(getSerial(id,"100",num,false));
  10.     }
  11.     public static String getSerial(String userId, String version,
  12.             String licenseNum, boolean selected) {
  13.         Calendar cal = Calendar.getInstance();
  14.         cal.add(13);
  15.         cal.add(6, -1);
  16.         NumberFormat nf = new DecimalFormat("000");
  17.         licenseNum = nf.format(Integer.valueOf(licenseNum));
  18.         String verTime = selected ? (new StringBuffer("-")).append(
  19.                 (new SimpleDateFormat("yyMMdd")).format(cal.getTime())).append(
  20.                 "0").toString() : "-1012310";
  21.         String type = "YE3MB-";
  22.         String need = (new StringBuffer(String.valueOf(userId.substring(01))))
  23.                 .append(type).append(version).append(licenseNum)
  24.                 .append(verTime).toString();
  25.         String dx = (new StringBuffer(String.valueOf(need)))
  26.                 .append(
  27.                         "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.")
  28.                         .append(userId).toString();
  29.         int suf = decode(dx);
  30.         String code = (new StringBuffer(String.valueOf(need))).append(
  31.                 String.valueOf(suf)).toString();
  32.         return change(code);
  33.     }
  34.     private static int decode(String s) {
  35.         int i = 0;
  36.         char ac[] = s.toCharArray();
  37.         int j = 0;
  38.         for (int k = ac.length; j < k; j++)
  39.             i = 31 * i + ac[j];
  40.         return Math.abs(i);
  41.     }
  42.     private static String change(String s) {
  43.         byte abyte0[] = s.getBytes();
  44.         char ac[] = new char[s.length()];
  45.         int i = 0;
  46.         for (int k = abyte0.length; i < k; i++) {
  47.             int 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.             ac[i] = (char) j;
  55.         }
  56.         return String.valueOf(ac);
  57.     }
  58. }

在这个程序中两个String类型变量:id 和name 分别改为你想要的用户名和key使用机器的数量就可以了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值