关于VisualSVN的破解

    VisualSVN是一款集成在VS中的svn客户端工具,总的来说还是比较好用的。可惜的是不是免费的,未注册有30天试用。

    体验了一把vs2012,所以也下载 VisualSVN3.0 beta版。可惜找不到注册机了。

    从网上下载的注册工具,都是针对2.x版本的,或者直接替换VisualSVN.Core.dll文件。所以我在想,一般的软件,注册算法不会有太大的改变的,要不然我买了2.0的版本,升级到3.0后注册码就不能用了。既然算法改变不大,那么为什么不能写一个通用的注册机呢?

    使用Reflector.exe看了一下VisualSVN.Core.dll,里面算法其实还算简单,最麻烦的就是RSA认证。在这个dll里面有一个资源文件,名字叫VisualSVN.Core.public.key。一看就知道是RSA的public key。可是我们没有private key,没办法生成注册码啊!

    我本身是学习c/c++开始的,对.net程序不是很熟悉。在win32程序中的资源是不加密的。也就是说如果我有个资源,内容是"1234567890",那么我可以用16进制编辑器(如ultraedit)搜索到这个字符串的。基于这个想法,我假设.net的资源也是没加密的。从VisualSVN.Core.dll中搜索VisualSVN.Core.public.key的内容,那么是不是就可以替换成我自定义的public key?事实证明我的想法是对的。

    想法有了,那么编写keygen就简单了。基本思路如下:

   1. 用assembly来加载VisualSVN.Core.dll,获得VisualSVN.Core.public.key的内容

VisualSVN Server allows you to easily install and manage a fully-functional Subversion server on the Windows platform. Thanks to its robustness, unbeatable usability and unique enterprise-grade features, VisualSVN Server is useful both for small business and corporate users. The key features of VisualSVN Server are: 1.Active Directory Single Sign-On 2.Multisite Repository Replication 3.HTML5-powered Web Interface 4.PowerShell Scripting and Automation 5.Repository Management Delegation 6.Remote Server Administration 7.Access and Operational Logging The proper way to setup an Apache Subversion server VisualSVN Server has reached 1,000,000 downloads and it's the most favored way to setup and maintain an Apache Subversion server on the Windows platform. It is trusted both by thousands of SMBs and Fortune 500 companies such as General Electric, Siemens, ThyssenKrupp and Sony. Learn more... Easy to install, configure and maintain VisualSVN Server is distributed as a single installation package with the latest versions of all the required components. The installation process is extremely simple and allows you to setup a full-featured and ready to use Subversion server in just a few clicks. Upgrades to newer versions are simple too. Learn more... Free for commercial use! VisualSVN Server Standard Edition is free of charge and available for commercial use. VisualSVN Server Enterprise Edition provides additional enterprise-grade features such as Active Directory Single Sign-On and Multisite Repository Replication and is licensed per server. Learn more... Please make sure that Visual C++ Redistributable Packages for Visual Studio 2013 have been installed before using this patch!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值