无聊下了个软件,然后做了个注册机

本文介绍了一款名为“读唇语”的软件及其破解过程。该软件使用VB.NET编写,作者通过对软件进行逆向工程,解析了其注册机制并编写了一个注册机。文章详细展示了获取硬件序列号并进行MD5加密以生成注册码的技术细节。

算是为了帮助一些不方便的人士吧,侵删。

读唇语 2015.1版本,软件用vb.net写的,下载时只是好奇这个是怎么练的(跟练英语音标和句子发音一样的方法,只是换成中文),下载来进不去,就看了下它代码,写了个注册机。注册的算法能复杂点吗?我把你一大段代码简化成这样。另外软件太次了,感觉不值!


using System;
using System.Linq;
using System.Text;
using System.Management;
using System.Security.Cryptography;

class Program
{
    public static string GetMd5(string str)
    {
        byte[] bytes = new ASCIIEncoding().GetBytes(str.Trim());
        return BitConverter.ToString(new MD5CryptoServiceProvider().ComputeHash(bytes));
    }

    public static string GetKey()
    {
        string tmpKey;
        try
        {
            tmpKey = (from ManagementObject obj
                      in new ManagementObjectSearcher("select * from Win32_PhysicalMedia").Get()
                      select obj["SerialNumber"])
                   .First().ToString().Trim();
        }
        catch
        {
            try
            {
                tmpKey = (from ManagementObject obj
                          in new ManagementClass("Win32_DiskDrive").GetInstances()
                          select obj.Properties["Model"].Value)
                       .First().ToString();
            }
            catch
            {
                tmpKey = string.Empty;
            }
        }
        string str = Program.GetMd5(tmpKey + "abcx");
        return Program.GetMd5(str + "abcx");
    }
    static void Main(string[] args)
    {
        Console.WriteLine(GetKey());
        Console.ReadLine();
    }
}





评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值