泛微云桥e-Bridge(EBRIDGE) 授权开心版方法(2019-04-09)

[全站通告]如需人工一对一付费服务(业务),请加微信 2589053300 进行沟通处理-非诚勿扰

这两天玩泛微云桥e-Bridge,发现了一个大佬的博客,写了一些开心的方法,但并没有看到大佬有下载的开心工具,这甚是不开心,但也有了一些算法啥的,还是很开森,也自己记录一下;网上更多是大佬李浩秦2018年的文章,这篇文章是我再无意在他博客看到的,竟然发表于2019年,略有些改变,但不大;

泛微云桥e-Bridge 授权破解方法,无需更改原有程序,本方法是生成授权文件方式。

已放出授权文件生成源码(本博主老梁并未获取到-甚是伤心),破解方法自行看源码理解,再次提示此方法仅用来测试系统使用,如需正式使用请购买正版授权

李浩秦大佬的发布的源码;其中使用的加密有:MD5,RSA,DES,BASE64 ;

 package com.exec;

 import java.io.FileOutputStream;
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import javax.swing.JOptionPane;
 import java.util.Scanner;
import ln.LN;
 import weaver.weixin.license.KeyGenerater;
 import weaver.weixin.license.PBECipher;
 import weaver.weixin.license.Signaturer;
 

 public class EBRIDGE
 {
 
   private static String companyName="landv测试";
   private static String userCount="1000";
   private static String expDate="2019-08-08";
   private static String macAddr;
   private static String cpCount="100";
   private static String mpCount="100";
   private static String ddCount="100";
   private static String customid="159357";
   private static String modulenamelist="微信工资单,微调研,微投票,悬赏招聘,微考勤,微名片,外出考勤";
   private static SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd");
   
 /* 29 private static String jlCount = "1"; 30 private static String lanxinCount = "1"; 31 private static String gzbCount = "1"; 32 private static String jdyzjCount = "1"; 33 private static String weworkCount = "1"; 34 private static String fxxkCount = "1"; 35 private static String emCount = "1"; 36 */
   
   
    public static void main(String[] args)
   {
         
     
    Scanner input=new Scanner(System.in);
     System.out.print("请您输入识别码:");
     EBRIDGE.macAddr=input.next();
      System.out.println(macAddr);
        try
         {
           EBRIDGE.createfile();
         }
         catch (Exception e1)
        {
           e1.printStackTrace();
         }
   }
   public static void createfile()
     throws Exception
  {
     String params = "companyName=" + companyName + ",userCount=" + userCount + ",expDate=" + expDate + ",macAddr=" + macAddr + 
       ",cpCount=" + cpCount + ",mpCount=" + mpCount + ",ddCount=" + ddCount + ",jlCount=" + ddCount +",lanxinCount=" + ddCount +",gzbCount=" + ddCount +",jdyzjCount=" + ddCount +",weworkCount=" + ddCount +",fxxkCount=" + ddCount +",emCount=" + ddCount +",customid=" + customid;
    KeyGenerater keys = new KeyGenerater();
     keys.generater(customid);
     byte[] pubkey = keys.getPubKey();
     byte[] prikey = keys.getPriKey();
     byte[] key = Signaturer.sign(prikey, params);
     String license = new String(pubkey) + "|" + params + "|" + new String(key);
     String licensefile = PBECipher.PBEEncrypt(license);
     byte[] buff = new byte[0];
     buff = licensefile.getBytes();
     FileOutputStream licensefileout = new FileOutputStream( "C:\\Users\\landv\\Desktop\\landv"+"\\" + macAddr + "_EBRIDGE.license");
     licensefileout.write(buff, 0, buff.length);
   licensefileout.close();
    
     String[] moduleName = modulenamelist.split("\\,");
    for (int i = 0; i < moduleName.length; i++)
     {
       String n = String.valueOf(i + 1);
       String moudleparams = "{\"id\":\"1\",\"systemid\":\"\",\"ifTrue\":\"true\",\"createTime\":\"null\",\"moduleName\":\"" + moduleName[i] + "\",\"customid\":\"" + customid + "\",\"comFrom\":\"\",\"moduleid\":\"" + n + "\",\"expDate\":\"" + expDate + "\",\"license\":\"" + licensefile + "\"}";
       byte[] moudlekey = Signaturer.sign(prikey, moudleparams);
      String moudlelicense = new String(pubkey) + "|" + moudleparams + "|" + new String(moudlekey);
     String moudlelicensefile = PBECipher.PBEEncrypt(moudlelicense);
       byte[] out_buff = new byte[0];
       out_buff = moudlelicensefile.getBytes();
      FileOutputStream out_licensefileout = new FileOutputStream("C:\\Users\\landv\\Desktop\\landv"+"\\" + macAddr + "_" + moduleName[i] + ".license");
      out_licensefileout.write(out_buff, 0, out_buff.length);
       out_licensefileout.close();
     }
     
   }  
   
 }

 

虽然对java一脸懵逼,但是这好东西还是要转载一下的;

以上内容转载于:https://landv.cn/2019/04/09/泛微云桥e-Bridge-授权破解方法/

李浩秦的博客:https://landv.cn

李浩秦CSDN的博客:https://www.cnblogs.com/landv/

以下代码是李浩秦在2018年写的;

package com.exec;
  
  import java.io.FileOutputStream;
  import java.text.ParseException;
import java.text.SimpleDateFormat;
  import javax.swing.JOptionPane;
  import java.util.Scanner;
 import ln.LN;
 import weaver.weixin.license.KeyGenerater;
 import weaver.weixin.license.PBECipher;
 import weaver.weixin.license.Signaturer;


public class EBRIDGE
{

  private static String companyName="landv测试";
   private static String userCount="1000";
   private static String expDate="2019-08-08";
   private static String macAddr;
   private static String cpCount="100";
   private static String mpCount="100";
   private static String ddCount="100";
   private static String customid="159357";
   private static String modulenamelist="微信工资单,微调研,微投票,悬赏招聘,微考勤,微名片,外出考勤";
   private static SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd");
   
 /*
   private static String jlCount = "1";
   private static String lanxinCount = "1";
   private static String gzbCount = "1";
   private static String jdyzjCount = "1";
   private static String weworkCount = "1";
   private static String fxxkCount = "1";
   private static String emCount = "1";
 */
   
   
    public static void main(String[] args)
   {
         
     
     Scanner input=new Scanner(System.in);
   System.out.print("请您输入识别码:");
     EBRIDGE.macAddr=input.next();
      System.out.println(macAddr);
        try
        {
          EBRIDGE.createfile();
         }
         catch (Exception e1)
        {
          e1.printStackTrace();
         }
   }
   public static void createfile()
     throws Exception
  {
     String params = "companyName=" + companyName + ",userCount=" + userCount + ",expDate=" + expDate + ",macAddr=" + macAddr + 
       ",cpCount=" + cpCount + ",mpCount=" + mpCount + ",ddCount=" + ddCount + ",jlCount=" + ddCount +",lanxinCount=" + ddCount +",gzbCount=" + ddCount +",jdyzjCount=" + ddCount +",weworkCount=" + ddCount +",fxxkCount=" + ddCount +",emCount=" + ddCount +",customid=" + customid;
     KeyGenerater keys = new KeyGenerater();
    keys.generater(customid);
     byte[] pubkey = keys.getPubKey();
    byte[] prikey = keys.getPriKey();
     byte[] key = Signaturer.sign(prikey, params);
     String license = new String(pubkey) + "|" + params + "|" + new String(key);
     String licensefile = PBECipher.PBEEncrypt(license);
     byte[] buff = new byte[0];
   buff = licensefile.getBytes();
    FileOutputStream licensefileout = new FileOutputStream( "C:\\Users\\landv\\Desktop\\landv"+"\\" + macAddr + "_EBRIDGE.license");
     licensefileout.write(buff, 0, buff.length);
     licensefileout.close();
     
     String[] moduleName = modulenamelist.split("\\,");
    for (int i = 0; i < moduleName.length; i++)
     {
       String n = String.valueOf(i + 1);
       String moudleparams = "{\"id\":\"1\",\"systemid\":\"\",\"ifTrue\":\"true\",\"createTime\":\"null\",\"moduleName\":\"" + moduleName[i] + "\",\"customid\":\"" + customid + "\",\"comFrom\":\"\",\"moduleid\":\"" + n + "\",\"expDate\":\"" + expDate + "\",\"license\":\"" + licensefile + "\"}";
      byte[] moudlekey = Signaturer.sign(prikey, moudleparams);
       String moudlelicense = new String(pubkey) + "|" + moudleparams + "|" + new String(moudlekey);
       String moudlelicensefile = PBECipher.PBEEncrypt(moudlelicense);
       byte[] out_buff = new byte[0];
       out_buff = moudlelicensefile.getBytes();
       FileOutputStream out_licensefileout = new FileOutputStream("C:\\Users\\landv\\Desktop\\landv"+"\\" + macAddr + "_" + moduleName[i] + ".license");
       out_licensefileout.write(out_buff, 0, out_buff.length);
       out_licensefileout.close();
    }
     
   }  
   
 }

 

如需博主协助处理(收费),请加微信2589053300(非诚勿扰) --更多请关注:老梁`s Blog

所写所说,是心之所感,思之所悟,行之所得;文当无敷衍,落笔求简洁。 以所舍,求所获;有所依,方所成!

支付宝赞助
微信赞助

免责声明,若由于商用引起版权纠纷,一切责任均由使用者承担。

您必须遵守我们的协议,如您下载该资源,行为将被视为对《免责声明》全部内容的认可->联系老梁投诉资源
LaoLiang.Net部分资源来自互联网收集,仅供用于学习和交流,请勿用于商业用途。如有侵权、不妥之处,请联系站长并出示版权证明以便删除。 敬请谅解! 侵权删帖/违法举报/投稿等事物联系邮箱:service@laoliang.net
意在交流学习,欢迎赞赏评论,如有谬误,请联系指正;转载请注明出处: » 泛微云桥e-Bridge(EBRIDGE) 授权开心版方法(2019-04-09)

发表评论

本站承接,网站推广(SEM,SEO),软件的安装的安装与调试,服务器的推荐以及配置,APP的开发与维护,网络或者web维护;财务软件,客户管理系统,人力资源,超市POS,医药管理,服务器安全,ecshop,金蝶,用友,管家婆;

立即查看 了解详情