泛微云橋e-Bridge(EBRIDGE) 授權開心版方法(2019-04-09)
[重要通告]如您遇疑難雜癥,本站支持知識付費業務,掃右邊二維碼加博主微信,可節省您寶貴時間哦!
這兩天玩泛微云橋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(); } } }
問題未解決?付費解決問題加Q或微信 2589053300 (即Q號又微信號)右上方掃一掃可加博主微信
所寫所說,是心之所感,思之所悟,行之所得;文當無敷衍,落筆求簡潔。 以所舍,求所獲;有所依,方所成!
賞
支付寶贊助
微信贊助
免責聲明,若由于商用引起版權糾紛,一切責任均由使用者承擔。
您必須遵守我們的協議,如您下載該資源,行為將被視為對《免責聲明》全部內容的認可->聯系老梁投訴資源 LaoLiang.Net部分資源來自互聯網收集,僅供用于學習和交流,請勿用于商業用途。如有侵權、不妥之處,請聯系站長并出示版權證明以便刪除。
敬請諒解! 侵權刪帖/違法舉報/投稿等事物聯系郵箱:service@laoliang.net
意在交流學習,歡迎贊賞評論,如有謬誤,請聯系指正;轉載請注明出處: » 泛微云橋e-Bridge(EBRIDGE) 授權開心版方法(2019-04-09)