吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 576|回复: 34
收起左侧

[求助] 哪位表哥帮忙指点一下

[复制链接]
xuxb8233 发表于 2024-5-7 17:59
本帖最后由 xuxb8233 于 2024-5-7 18:03 编辑

哪位表哥帮忙看下该怎么搞一下,小弟刚学,才疏学浅,谢过~

image.png
代码如下:

    private bool method_2()
        
{
            
if (this.textBox2.Text.Length < 20)
            
{
               
MessageBox.Show("注册码错误");
               
return false;
            
}
            
int num = 0;
            
if (!this.mainForm_0.CheckRegister2(this.textBox2.Text, ref num))
            
{
               
MessageBox.Show("注册码错误");
               
return false;
            
}
            
this.mainForm_0.UserCount = num;
            
this.mainForm_0.MCID = this.textBox1.Text;
            
this.method_5();
            
if (num == 999)
            
{
               
MessageBox.Show("注册成功,(用户数-无限工作点)");
            
}
            
else
            
{
               
MessageBox.Show("注册成功,(用户数-" + num.ToString() + ")");
            
}
            
this.SureClick = true;
            
this.SelectValue = this.textBox2.Text;
            
base.Close();
            
return true;
        
}

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

mark_9527 发表于 2024-5-8 07:31
[Asm] 纯文本查看 复制代码

private bool method_2()
{


/*if (this.textBox2.Text.Length < 20)
    {
        MessageBox.Show("注册码错误");
        return false;
    }
if (!this.mainForm_0.CheckRegister2(this.textBox2.Text, ref num))
    {
        MessageBox.Show("注册码错误");
        return false;
    }*/
int num = 999;
    this.mainForm_0.UserCount = num;
    this.mainForm_0.MCID = this.textBox1.Text;
    this.method_5();
    if (num == 999)
    {
        MessageBox.Show("注册成功,(用户数-无限工作点)");
    }
    else
    {
        MessageBox.Show("注册成功,(用户数-" + num.ToString() + ")");
    }
    this.SureClick = true;
    this.SelectValue = this.textBox2.Text;
    base.Close();
    return true;
}
vipcrack 发表于 2024-5-9 19:18
本帖最后由 vipcrack 于 2024-5-10 11:47 编辑
xuxb8233 发表于 2024-5-9 18:38
机器码就是几个数字   655-312-71180

看了下软件代码,对应注册码:

eg72IL0LArHVHFx9VV6I7IYxbLm3eWADn/DgIb8SNx576EgpyIwKQBAdQHRawz2n

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
xuxb8233 + 1 + 1 用心讨论,共获提升!

查看全部评分

qq465881818 发表于 2024-5-7 20:06
mcid 是获取机器码, textbox1 是机器码, textbox2  是注册码应该i是。 method_5()应该是根据机器码算出的注册码。 你这个.net程序逆向出来的有问题  ,感觉像vb
byh3025 发表于 2024-5-7 20:39
只有最后四行有用
三滑稽甲苯 发表于 2024-5-7 21:16

帮你用代码框包装了一下,看去舒服一些

private bool method_2()
{
    if (this.textBox2.Text.Length < 20)
    {
        MessageBox.Show("注册码错误");
        return false;
    }
    int num = 0;
    if (!this.mainForm_0.CheckRegister2(this.textBox2.Text, ref num))
    {
        MessageBox.Show("注册码错误");
        return false;
    }
    this.mainForm_0.UserCount = num;
    this.mainForm_0.MCID = this.textBox1.Text;
    this.method_5();
    if (num == 999)
    {
        MessageBox.Show("注册成功,(用户数-无限工作点)");
    }
    else
    {
        MessageBox.Show("注册成功,(用户数-" + num.ToString() + ")");
    }
    this.SureClick = true;
    this.SelectValue = this.textBox2.Text;
    base.Close();
    return true;
}
darksied 发表于 2024-5-7 22:06
看这个函数:this.mainForm_0.CheckRegister2(this.textBox2.Text, ref num)  
Biggaoshou 发表于 2024-5-8 00:18
这个改下82行的逻辑就可以了吧
 楼主| xuxb8233 发表于 2024-5-8 08:10
mark_9527 发表于 2024-5-8 07:31
[mw_shl_code=asm,true]

private bool method_2()

非常感谢,明白了
 楼主| xuxb8233 发表于 2024-5-8 08:11
三滑稽甲苯 发表于 2024-5-7 21:16
[md]帮你用代码框包装了一下,看去舒服一些

```java

多谢,是舒服多了
 楼主| xuxb8233 发表于 2024-5-8 08:12
darksied 发表于 2024-5-7 22:06
看这个函数:this.mainForm_0.CheckRegister2(this.textBox2.Text, ref num)

知道对比注册码,但是不懂这个短语的意思
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止回复与主题无关非技术内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-5-19 20:53

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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