MyEclipse Keygen

java 代码
 
  1. /** 
  2.  * MyEclipse注册机 
  3.  */  
  4.   
  5. import java.io.*;  
  6.   
  7. public class Crack {  
  8.   
  9.     public static String convert(String s) {  
  10.         if (s == null || s.length() == 0)  
  11.             return s;  
  12.         byte abyte0[] = s.getBytes();  
  13.         char ac[] = new char[s.length()];  
  14.         int i = 0;  
  15.         for (int k = abyte0.length; i < k; i++) {  
  16.             int j = abyte0[i];  
  17.             if (j >= 48 && j <= 57)  
  18.                 j = ((j - 48) + 5) % 10 + 48;  
  19.             else if (j >= 65 && j <= 90)  
  20.                 j = ((j - 65) + 13) % 26 + 65;  
  21.             else if (j >= 97 && j <= 122)  
  22.                 j = ((j - 97) + 13) % 26 + 97;  
  23.             ac[i] = (char) j;  
  24.         }  
  25.   
  26.         return String.valueOf(ac);  
  27.     }  
  28.   
  29.     private static int hash(String s) {  
  30.         int i = 0;  
  31.         char ac[] = s.toCharArray();  
  32.         int j = 0;  
  33.         for (int k = ac.length; j < k; j++)  
  34.             i = 31 * i + ac[j];  
  35.   
  36.         return Math.abs(i);  
  37.     }  
  38.   
  39.     private static String inputString() {  
  40.         BufferedReader bufferedreader = new BufferedReader(  
  41.                 new InputStreamReader(System.in));  
  42.         String s = null;  
  43.         try {  
  44.             s = bufferedreader.readLine();  
  45.         } catch (IOException ioexception) {  
  46.             ioexception.printStackTrace();  
  47.         }  
  48.         return s;  
  49.     }  
  50.   
  51.     public static void main(String[] args) {  
  52.         try {  
  53.             System.out.println("My Eclipse IDE v9.99 Keygen");  
  54.             System.out.print("License Name : ");  
  55.             String s = inputString();  
  56.             String licStr = "YE3MP-999-00-9912310";  
  57.             String h = s.substring(01)  
  58.                     + licStr  
  59.                     + "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."  
  60.                     + s;  
  61.             int j = hash(h);  
  62.             String lic = s.substring(01) + licStr + Integer.toString(j);  
  63.             System.out.println("License Key  : " + convert(lic));  
  64.         } catch (Exception exception) {  
  65.             exception.printStackTrace();  
  66.         }  
  67.     }  
  68. }  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值