VisualSVN 5.1.7破譯License Key


前面手敲一些簡要的軟件說明:visualSVN server大家都不陌生,服務器上的版本控制系統,一般配套Tortoisesvn(小烏龜)使用。本次介紹的這個visualsvn屬於VisualStudio的版本控制插件,可以直接在IDE中做版本控制,方便開發人員同步自己的項目。
解壓文件中以及附贈好了破解后的.dll文件,安裝好后直接覆蓋就可以了。當然如果版本靠后也可以自己動手破解一下。本文提供的是5.1.7版本的破解DLL
下面開始附贈破解教程:

1.首先備份當前安裝visualSVN文件的bin目錄,萬一出錯還能反個水。一般默認安裝路徑是C:\Program Files (x86)\VisualSVN\bin

2.然后運行ildasm,Window中有自帶的反編譯ildasm工具,位於“C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\”。

3.用ildasm打開剛才備份的bin目錄下的VisualSVN.Core.L.dll文件,單擊文件菜單點擊轉儲,如圖

4.得到同名的il文件:VisualSVN.Core.L.il用記事本打開得到的 VisualSVN.Core.L.il 文件,在其中搜索 “KeyToLicenseUnsafe”,找到KeyToLicenseUnsafe方法,大概在3188行附近。查找並替換成下面的代碼,然后保存

 

.method public hidebysig static class VisualSVN.Core.Licensing.License
          KeyToLicenseUnsafe(class VisualSVN.Core.IDecoder decoder,
                             string key) cil managed
  {
    // 代碼大小       69 (0x45)
    .locals init (class VisualSVN.Core.Licensing.License V_0, class VisualSVN.Core.Licensing.License V_1, class VisualSVN.Core.Licensing.License V_2)
    IL_0000: nop
    IL_0001: newobj instance void VisualSVN.Core.Licensing.License::.ctor()
    IL_0006: stloc.1
    IL_0007: ldloc.1
    IL_0008: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue
    IL_000d: stfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::StartTime
    IL_0012: ldloc.1
    IL_0013: ldc.i4.1
    IL_0014: stfld valuetype VisualSVN.Core.Licensing.LicenseBinding VisualSVN.Core.Licensing.License::Binding
    IL_0019: ldloc.1
    IL_001a: ldc.i4 0x7ffffffe
    IL_001f: stfld int32 VisualSVN.Core.Licensing.License::Capacity
    IL_0024: ldloc.1
    IL_0025: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue
    IL_002a: stfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::EndTime
    IL_002f: ldloc.1
    IL_0030: ldc.i4.2
    IL_0031: stfld valuetype VisualSVN.Core.Licensing.LicenseType VisualSVN.Core.Licensing.License::Type
    IL_0036: ldloc.1
    IL_0037: ldstr "100"
    IL_003c: stfld string VisualSVN.Core.Licensing.License::PurchaseId
    IL_0041: ldloc.1
    IL_0042: call string [mscorlib]System.Environment::get_UserName()
    IL_0047: stfld string VisualSVN.Core.Licensing.License::LicensedTo
    IL_004c: ldloc.1
    IL_004d: stloc.0
    IL_004e: ldloc.0
    IL_004f: ldloc.0
    IL_0050: ldfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::StartTime
    IL_0055: stfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::PurchaseDate
    IL_005a: ldloc.0
    IL_005b: stloc.2
    IL_005c: br.s
    IL_005e
    IL_005e:ldloc.2
    IL_005f: ret
  } // end of method LicenseConverter::KeyToLicenseUnsafe
View Code

 

5.用管理員權限打開VS命令提示工具,如下圖↓,我裝的是VS2015

6. 運行下面的代碼,看到successfully表示成功了。將重新編譯的dll文件覆蓋到安裝目錄中就OK了。
ilasm "備份目錄\VisualSVN.Core.L.il" /output="備份目錄\VisualSVN.Core.L.dll" /dll

7.然后運行你的VS就可以看到VisualSVN已經沒有Lisence時間限制啦!

 

 

 

P.S. 下面是給懶人的福利了,這是5.1.7版本破解好的Dll,直接替換到安裝文件的bin目錄下就好啦

鏈接: https://pan.baidu.com/s/1sldixyt 密碼: fjjj


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM