CrackMe破解【5】- 入门级别

CrackMe来源:http://download.csdn.net/detail/betabin/4233340

特点:入门级别,仅仅消去一下常用API还有字符串提示

思路:消息断点跟进……

CrackMe破解【5】- 入门级别_第1张图片

先贴注册码代码:

#include <iostream>
#include <string>

using namespace std;

int main()
{
	int serial;
	string name;

	cout << "Please input your name with 6 char: ";
	cin >> name;

	if (6 != name.size())
	{
		cout << "Name size error! The name size should be 6." << endl;
		cin >> name;
	}

	int a = name[0] + name[1] + name[2];
	int b = name[3] + name[4] + name[5];

	cout << "Your serial number is :" << a * 1000 + b << endl;

	return 0;
}


你可能感兴趣的:(api,input,破解)