飘云阁

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 6887|回复: 14

[原创] fastpctools两款软件图文破解教程

[复制链接]
  • TA的每日心情
    开心
    2018-7-9 08:20
  • 签到天数: 869 天

    [LV.10]以坛为家III

    发表于 2016-11-14 11:35:58 | 显示全部楼层 |阅读模式
    本帖最后由 gagmeng 于 2016-11-14 11:39 编辑

    教程以Fast Browser Cleaner为例(Fast Video Downloader方法一样)
    软件介绍:
    Fast Browser Cleaner is a utility to clean unwanted toolbar, addons, extensions. It helps you to clean cookies, history and temporary files which are stored by websites you visited and occupy a lot of disk space. You can also remove unprotected passwords and credit card information stored by the browser which you used to login to some website or make payment.

    软件特点:
    Fast Browser Cleaner is a simple and user-friendly application and easy to understand software. It offering you scan and delete your browser junk and easily erase adware, cookies, temporary files or websites history from your IE, Chrome, Firefox, Opera.
    1、Remove Temporary Files
    Clean temporary files which are stored by websites. Temporary files may occupy a large amount of disk space.
    2、Remove History
    Remove history which is maintained by browsers. History contains a list of websites visited by you.
    3、Remove Cookies
    Clean all cookies created by websites which you visited.
    4、Remove Adware
    You can clean adware like MyStartSearch, Wazam, HealthAlert, ReleventKnowledge, SweetIm, Babylon, Most of the toolbars of conduit, GameDesktop etc.
    5、Remove Passwords
    Remove unprotected login details(user name , passwords etc) stored in browser.
    6、Change Search Engine
    You can remove unwanted search engines from browser. You can also set / reset default search engine used by the browser.
    7、Change Home Page and Tab Page
    Set / reset home page and tab page of browser with Fast Browser Cleaner.
    8、Manage Addons
    You can remove unwanted toolbar, addons, extensions.
    9、Remove Credit Card Information
    Remove Credit Card details which stored by browser.


    官方主页:
    http://fastpctools.com

    破解过程:
    1、dnspy加载FastBrowserCleaner.exe,浏览下软件代码结构,注册接口位置很明显(frmRegister窗口类);
    snipaste20161114_100122.jpg

    2、进入注册接口;
    snipaste20161114_100238.jpg
    注册接口代码如下:
    [C#] 纯文本查看 复制代码
    private void btnRegisterNow_Click(object sender, EventArgs e)
    {
            try
            {
                    if (string.IsNullOrEmpty(this.txtKey.Text))
                    {
                            MessageBox.Show(Resources.Register_EnterKey, Program.sApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                    }
                    else
                    {
                            string empty = string.Empty;
                            int num = Program.RegisterVerify(this.txtKey.Text, out empty);
                            if (num == 0)
                            {
                                    this.SaveInRegistry();
                            }
                            Program.oFrmMain.SetRegistrationState();
                            MessageBox.Show(empty, Program.sApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                            if (num == 0)
                            {
                                    base.Close();
                            }
                    }
            }
            catch (Exception ex)
            {
                    Program.oErrorLog.Write("btnRegisterNow_Click", ex.Message, "frmRegister");
            }
    }

    2、进入注册接口,关键位置继续跟进//int num = Program.RegisterVerify(this.txtKey.Text, out empty);
    [C#] 纯文本查看 复制代码
    public static int RegisterVerify(string sKey, out string sMessage)
    {
            return Program.RegisterVerify(sKey, out sMessage, false);
    }
    
    public static int RegisterVerify(string sKey, out string sMessage, bool bOnlyVerify)
    {
            int num = -1;
            sMessage = Program.GetEnumDescription(WebExceptionStatus.Timeout);
            Program.bRegistered = false;
            try
            {
                    string combinedUserId = Program.GetCombinedUserId(bOnlyVerify);
                    string arg = string.Format(combinedUserId, ",");
                    string arg2 = string.Format(combinedUserId, "|");
                    DateTime value = new DateTime(2013, 7, 10);
                    Program.sActivationDate = DateTime.Now.Date.Subtract(value).TotalDays.ToString();
                    string requestUriString = "http://www.fastpctools.com/fbc/Register.php";
                    if (bOnlyVerify)
                    {
                            requestUriString = "http://www.fastpctools.com/fbc/Verify.php";
                    }
                    string text = string.Format("val1={0}", sKey);
                    string text2 = string.Format("val2={0}", Program.sActivationDate);
                    string text3 = string.Format("val3={0}", arg);
                    string text4 = string.Format("val4={0}", arg2);
                    string text5 = string.Concat(new string[]
                    {
                            "&",
                            text,
                            "&",
                            text2,
                            "&",
                            text3,
                            "&",
                            text4
                    });
                    WebRequest webRequest = WebRequest.Create(requestUriString);
                    webRequest.Method = "POST";
                    webRequest.ContentType = "application/x-www-form-urlencoded";
                    webRequest.ContentLength = (long)text5.Length;
                    using (StreamWriter streamWriter = new StreamWriter(webRequest.GetRequestStream()))
                    {
                            streamWriter.Write(text5);
                    }
                    WebResponse response = webRequest.GetResponse();
                    StreamReader streamReader = new StreamReader(response.GetResponseStream());
                    string text6 = streamReader.ReadToEnd();
                    //text6为网络返回数据,只需按照后面的数据需求构建返回值即可,此处强行插入text6 = "0000000,00000365,0000020990101";,具体为什么(365--注册起始日期跟2013年7月10日天数差,20990101为有效日期)
                    response.Close();
                    webRequest = null;
                    if (!string.IsNullOrEmpty(text6))
                    {
                            string[] array = text6.Split(new string[]
                            {
                                    ","
                            }, StringSplitOptions.None);
                            if (array.Length > 2)
                            {
                                    Program.bKeyChecked = true;
                                    string text7 = array[0];
                                    if (!string.IsNullOrEmpty(text7) && text7.Length > 5)
                                    {
                                            text7 = text7.Substring(5);
                                            num = Convert.ToInt32(text7);
                                    }
                                    Program.bRegistered = false;
                                    if (num == 0)
                                    {
                                            Program.sRegistrationKey = sKey;
                                            text7 = array[1];
                                            if (!string.IsNullOrEmpty(text7) && text7.Length > 5)
                                            {
                                                    text7 = text7.Substring(5);
                                                    Program.sActivationDate = text7;
                                            }
                                            text7 = array[2];
                                            if (!string.IsNullOrEmpty(text7) && text7.Length > 5)
                                            {
                                                    text7 = text7.Substring(5);
                                                    Program.nValidDays = Convert.ToInt32(text7);
                                            }
                                            Program.sMyUniID = Program.sMyTempUniID;
                                            Program.bRegistered = true;
                                    }
                                    switch (num)
                                    {
                                    case -1:
                                    case 5:
                                            sMessage = Resources.Main_UnKnownError;
                                            break;
                                    case 0:
                                            sMessage = string.Format(Resources.Main_RegisteredSuccessfully, Application.ProductName);
                                            break;
                                    case 1:
                                            sMessage = Resources.Main_InvalidKey;
                                            break;
                                    case 2:
                                            sMessage = Resources.Main_KeyAlreadyUsed;
                                            break;
                                    case 3:
                                            sMessage = Resources.Main_KeyBlocked;
                                            Program.CleanRegistry();
                                            break;
                                    case 4:
                                            sMessage = Resources.Main_KeyExpired;
                                            break;
                                    case 6:
                                            sMessage = Resources.Main_UnauthorizedUser;
                                            break;
                                    case 7:
                                            sMessage = Resources.Main_InvalidactivationDate;
                                            break;
                                    }
                            }
                    }
            }
            catch (WebException ex)
            {
                    sMessage = Resources.Main_UnKnownError;
                    switch (ex.Status)
                    {
                    case WebExceptionStatus.NameResolutionFailure:
                    case WebExceptionStatus.ConnectFailure:
                    case WebExceptionStatus.ReceiveFailure:
                    case WebExceptionStatus.SendFailure:
                            sMessage = Resources.Main_CouldNotConnectServer;
                            break;
                    }
                    Program.oErrorLog.Write("RegisterVerify", sMessage, "Program");
            }
            catch (Exception)
            {
                    sMessage = Resources.Main_UnKnownError;
                    Program.oErrorLog.Write("RegisterVerify", sMessage, "Program");
            }
            return num;
    }

    3、定位到修改位置点,即网络接口返回数据后,强制将返回值赋值成软件所需要的值;
    snipaste20161114_100937.jpg
    snipaste20161114_112926.jpg
    snipaste20161114_112839.jpg
    4、保存修改;
    snipaste20161114_101326.jpg
    snipaste20161114_101354.jpg
    破解前后展示:
    snipaste20161114_101459.jpg
    snipaste20161114_101533.jpg

    破解文件就不提供了,表哥们动手解决吧。









    来自群组: 我们都爱月姐姐

    评分

    参与人数 4威望 +16 飘云币 +32 收起 理由
    wjzzhtgp + 4 + 4 赞一个!
    jgs + 4 + 4 感谢发布原创作品!
    yosen2001 + 16 赞一个!
    wgz001 + 8 + 8 感谢发布原创作品!

    查看全部评分

    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2022-8-18 19:11
  • 签到天数: 725 天

    [LV.9]以坛为家II

    发表于 2016-11-16 12:23:53 | 显示全部楼层
    学习,谢谢楼主提供的技术文章
    PYG19周年生日快乐!
    回复 支持 1 反对 0

    使用道具 举报

  • TA的每日心情
    开心
    2019-2-26 11:14
  • 签到天数: 459 天

    [LV.9]以坛为家II

    发表于 2016-11-14 11:42:10 | 显示全部楼层
    沙发
    感谢表哥的图文教程
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    昨天 15:05
  • 签到天数: 790 天

    [LV.10]以坛为家III

    发表于 2016-11-14 11:45:53 | 显示全部楼层
    好文言,谢谢大侠的帮教!
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2021-7-17 13:00
  • 签到天数: 975 天

    [LV.10]以坛为家III

    发表于 2016-11-14 12:12:28 | 显示全部楼层
    赞一个了,感谢大神分享,学习了
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2016-6-16 14:07
  • 签到天数: 10 天

    [LV.3]偶尔看看II

    发表于 2016-11-14 12:19:15 | 显示全部楼层
    谢谢分享技术文章!
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    11 小时前
  • 签到天数: 1744 天

    [LV.Master]伴坛终老

    发表于 2016-11-14 14:20:49 | 显示全部楼层
    感谢大表哥分享精品文章。日后学习。
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    3 小时前
  • 签到天数: 767 天

    [LV.10]以坛为家III

    发表于 2016-11-14 14:22:08 | 显示全部楼层
    遇见大神只能让路了
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    昨天 20:40
  • 签到天数: 1790 天

    [LV.Master]伴坛终老

    发表于 2016-11-14 21:04:59 | 显示全部楼层
    谢谢表哥的分享,好好学习一下
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    无聊
    2018-7-9 18:21
  • 签到天数: 948 天

    [LV.10]以坛为家III

    发表于 2016-11-14 22:01:44 来自手机 | 显示全部楼层
    膜拜大表哥,想跟表哥学习一下net破解,带我飞吧。大表哥有没有dnspy的使用教程,分享一下,先学会使用工具。
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    难过
    前天 15:30
  • 签到天数: 1057 天

    [LV.10]以坛为家III

    发表于 2016-11-15 10:02:06 | 显示全部楼层
    这个教程很不错,谢谢。
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 加入我们

    本版积分规则

    快速回复 返回顶部 返回列表