标签:splay namespace nbsp pre iostream display auto char center
[CrackMe]160个CrackMe之19
该代码难度很低,直接IDA F5 就可以计算出来
注册机
#include<windows.h> #include <iostream> using namespace std; int main() { char name[20]; cout << "name:"; cin >> name; unsigned int v22 = strlen(name); unsigned int v25 = 0x81276345; for (int i = 0; i < v22; ++i) { char v2 = name[i]; v25 += v2; v25 ^= i << 8; v25 *= ~(i * v22) * (i + 1); } cout << "key:" << v25 << endl; }
标签:splay namespace nbsp pre iostream display auto char center
原文地址:https://www.cnblogs.com/onetrainee/p/12870216.html