好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > gliffy-confluence-plugin-9.1.2插件教程詳解

gliffy-confluence-plugin-9.1.2插件教程詳解

熱門標簽:北京外呼系統咨詢電話 廊坊地圖標注申請入口 怎么去掉地圖標注文字 海南人工外呼系統哪家好 慶陽外呼系統定制開發 高德地圖標注公司位置需要錢嗎 合肥阿里辦理400電話號 襄陽外呼增值業務線路解決方案 地圖標注資源分享注冊

1、下載gliffy-confluence-plugin-9.1.2.obr

2、解壓后找到GliffyLicenseManager.class

3、反編譯GliffyLicenseManager.class,替換原來的實現,重新編譯成class后替換進去

package com.gliffy.plugin.confluence.license;
 
import com.atlassian.confluence.setup.BootstrapManager;
import com.atlassian.confluence.setup.settings.CoreFeaturesManager;
import com.atlassian.upm.api.license.PluginLicenseManager;
import com.atlassian.upm.api.license.entity.LicenseError;
import com.atlassian.upm.api.license.entity.LicenseType;
import com.atlassian.upm.api.license.entity.PluginLicense;
import com.atlassian.upm.api.util.Option;
import org.joda.time.DateTime;
import org.joda.time.Days;
import org.joda.time.ReadableInstant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
 
public class GliffyLicenseManager {
 private static final Logger logger = LoggerFactory.getLogger(GliffyLicenseManager.class);
 private PluginLicenseManager licenseManager;
 private CoreFeaturesManager coreFeaturesManager;
 private BootstrapManager bootstrapManager;
 
 public GliffyLicenseManager(PluginLicenseManager licenseManager, CoreFeaturesManager coreFeaturesManager, BootstrapManager bootstrapManager) {
 this.licenseManager = licenseManager;
 this.coreFeaturesManager = coreFeaturesManager;
 this.bootstrapManager = bootstrapManager;
 }
 
 /*private PluginLicense fetchLicense() {
 PluginLicense license = null;
 OptionPluginLicense> licenseOption = this.licenseManager.getLicense();
 if (licenseOption.isDefined()) {
 license = (PluginLicense)licenseOption.get();
 } else {
 logger.debug("no Gliffy license found");
 }
 return license;
 }*/
 
 public boolean isValid() {
 /*PluginLicense license = this.fetchLicense();
 return license != null ? license.isValid() : false;*/
 
 return true;
 }
 
 public boolean isSupported() {
 /*PluginLicense license = this.fetchLicense();
 if (license != null) {
 return !license.isMaintenanceExpired();
 } else {
 return false;
 }*/
 
 return true;
 }
 
 public boolean isEvaluation() {
 /*PluginLicense license = this.fetchLicense();
 return license != null ? license.isEvaluation() : false;*/
 
 return false;
 }
 
 public String getLicenseError() {
 /*PluginLicense license = this.fetchLicense();
 if (license != null) {
 OptionLicenseError> errorOption = license.getError();
 if (errorOption.isDefined()) {
 return ((LicenseError)errorOption.get()).toString();
 }
 }
 return null;*/
 
 return null;
 }
 
 public String getSEN() {
 /*PluginLicense license = this.fetchLicense();
 if (license != null) {
 OptionString> customerIdOption = license.getSupportEntitlementNumber();
 if (customerIdOption.isDefined()) {
 return (String)customerIdOption.get();
 }
 }
 return null;*/
 
 return null;
 }
 
 public boolean isCloud() {
 return this.coreFeaturesManager.isOnDemand();
 }
 
 public LicenseType getLicenseType() {
 /*PluginLicense license = this.fetchLicense();
 return license != null ? license.getLicenseType() : null;*/
 
 return LicenseType.COMMERCIAL;
 }
 
 public int getDaysToExpiration() {
 /*PluginLicense license = this.fetchLicense();
 if (license != null) {
 OptionDateTime> expiryDateOption = license.getExpiryDate();
 if (expiryDateOption.isDefined()) {
 return Days.daysBetween(new DateTime(), (ReadableInstant)expiryDateOption.get()).getDays();
 }
 }
 return 0;*/
 
 return Integer.MAX_VALUE;
 }
 
 public Integer getUserCount() {
 /*PluginLicense license = this.fetchLicense();
 if (license != null) {
 OptionInteger> qtyUsersOption = license.getEdition();
 if (qtyUsersOption.isDefined()) {
 return (Integer)qtyUsersOption.get();
 }
 }
 return null;*/
 
 return Integer.MAX_VALUE;
 }
 
 public boolean isFree() {
 /*if (this.fetchLicense() == null) {
 return false;
 } else {
 LicenseType type = this.getLicenseType();
 return type.equals(LicenseType.COMMUNITY) || type.equals(LicenseType.NON_PROFIT) || type.equals(LicenseType.OPEN_SOURCE);
 }*/
 
 return false;
 }
 
 public boolean isCommercial() {
 return this.isValid()  this.isSupported()  !this.isEvaluation()  !this.isFree();
 }
 
 public long getLicenseInstallUnixTimestamp() {
 /*PluginLicense license = this.fetchLicense();
 return license != null ? license.getCreationDate().getMillis() / 1000L : 0L;*/
 
 return 0L;
 }
 
 public String getLicenseManagementURL() {
 /*return this.bootstrapManager.getWebAppContextPath() + "/plugins/servlet/upm#manage/com.gliffy.integration.confluence";*/
 
 return "";
 }
 
 public boolean isNonAnalyticsLicenseType() {
 /*LicenseType licenseType = this.getLicenseType();
 boolean isEvalCloudInstance = this.isCloud()  (this.isEvaluation() || licenseType == null);
 return isEvalCloudInstance || LicenseType.DEVELOPER.equals(licenseType) || LicenseType.TESTING.equals(licenseType) || LicenseType.DEMONSTRATION.equals(licenseType);*/
 
 return false;
 }
}

知識點擴展:Gliffy confluence插件的破解

Gliffy是一個在線畫流程圖的工具,或者簡單的說Gliffy就是web版的Visio。Gliffy的用戶體驗非常的好,加打開瀏覽器就可以使用,使用起來非常的方便。Gliffy同時推出了confluence的插件版本。在安裝插件后可在confluence中方便的編輯和插入流程圖。

同事對Gliffy甚為垂涎,只是Gliffy還有些小貴。confluence插件版,500用戶的許可要賣到2000$。

雖然同事的利誘有些不靠譜,但偶爾干干著方面的事也還算有趣,那就動手吧。

注:下面只是簡單的講解一些關鍵點,如果你對java一竅不通,那還是罷手吧。

java應用破解的通常做法是:將文件反編譯,找到認證部分的處理,直接將認證結果返回true。java的反編譯工具推薦Java Decompiler。

Gliffy的jar包比較大,但其中java代碼并不是很多。而且Gliffy采用的是仿君子不防小人的做法,里面的java代碼并未混淆過。在代碼中有個目錄非常的扎眼\src\com\gliffy\core\license\。再做些簡單的分析我們即可找到真正的關鍵點SimpleLicenseManager.java

不得不說Gliffy的命名還是非常規范的。以函數名為線索,很容易就可以找到我們要的函數validLicenseValues。簡單粗暴的將函數返回值改為true。打包并重新安裝插件。

如果問題就這么解決了,那也未免順利的有些不太尋常。雖然可以成功安裝,但運行的時候拋出一堆的異常。試著進入Gliffy的管理界面,依舊是一堆的異常。雖然我們強制的將認證結果設置為了true,但某些地方還需要獲取license的到期日期等信息。由于讀不到相關數據,直接出異常了。

既然如此,那我們需要先將license信息寫入系統。

validLicenseValues還原,然后找到設置license的函數installLicense。在函數中注釋掉license認證相關的代碼,讓系統在忽略認證結果的情況下強行寫入注冊信息。修改后的java文件在執行時還會報getHostedStatus的虛函數錯誤。按理說這個函數應當會在子類中被重寫。不過我們先不管這么多,把它修改為普通函數并直接返回0。

重新打包安裝,然后進入Gliffy的管理界面,license信息隨便填寫,然后保存。保存是成功的,但認證還是失敗。修改validLicenseValues函數,重新打包安裝。這次由于我們有寫入注冊信息,因此就不會再出現先前的空指針異常了。

享受Gliffy吧。

注:Gliffy確實是個好東西,如果喜歡,還是盡量說服公司出錢買吧。

到此這篇關于gliffy-confluence-plugin-9.1.2破解教程詳解的文章就介紹到這了,更多相關gliffy-confluence-plugin-9.1.2內容請搜索腳本之家以前的文章或繼續瀏覽下面的相關文章希望大家以后多多支持腳本之家!

您可能感興趣的文章:
  • gliffy UML工具安裝使用過程

標簽:商丘 鎮江 株洲 平頂山 綿陽 哈密 鶴崗 臺州

巨人網絡通訊聲明:本文標題《gliffy-confluence-plugin-9.1.2插件教程詳解》,本文關鍵詞  gliffy-confluence-plugin-9.1.2,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《gliffy-confluence-plugin-9.1.2插件教程詳解》相關的同類信息!
  • 本頁收集關于gliffy-confluence-plugin-9.1.2插件教程詳解的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 97涩涩视频免费看| 看全色黄大色大片免费网站| 久久97超级碰碰碰| 男男XXOO做爰猛烈gi| 唔…啊手指出去gl| 东北老女人hd| 日韩欧美二区| 国产一区二区三区电影在线观看| 麻豆三级在线播放| 男男肉车各种play涨奶宿舍图| 国产一区二区三区欧美精品| 国产精品久久久久久久久久大尺度| 女教师冬月枫正在播放| 丝袜制服一区| 小s货又想挨c了叫大声点男男| 乱Lun合集2第40部分阅读| 99精品国产在热久久无费暖暖| 欧美精产国品一二三产品测评区别| 打扑克恶心软件| 青苹果a4yy私人毛片| 久久久久久精品免费啪啪国卢浮宫| 真人婬片90分钟免费观看| 午夜影院三级| 女警被调教| 我把护士日出水| 亚洲狠狠综合久久| XXX摘花处破女| 老色鬼在线播放精品视频| 男女一级特黄a大片| 美女靠逼视频| 全彩爆乳无翼口工漫画大全| 欧美肥妇巨大| 激情午夜天| 免费?无码?日本在线看爱的漩涡| 一节毛片| 好多水好硬好紧好爽视频| 周妍希美乳尽露88AV| 成人黄18免费网站| 进入小嫩缝| 公妇仑乱在线观看| 男女互操软件|