能力值:
( LV8,RANK:120 )
|
-
-
2 楼
深深佩服玩命大大的热情啊,向你学习!
|
能力值:
( LV4,RANK:50 )
|
-
-
3 楼
打了个包
Name:exileisabigsb
Key=60BCE967-76CB9366-FFD0C842-166C4F93
重新打个包
|
能力值:
( LV6,RANK:90 )
|
-
-
4 楼
exile神牛真是太神了。。。
|
能力值:
(RANK:1290 )
|
-
-
5 楼
膜拜exilei兄。。。
|
能力值:
(RANK:1290 )
|
-
-
6 楼
这是这次的代码。。。 我把_tmain做了保护。 PolyXorKey没做保护。 exile兄犀利的调试功底。。。
int _tmain(int argc, _TCHAR* argv[])
{
TCHAR szBuffer[0x100] = {0};
UINT iBufferLen = 0;
__dword dwCrc32 = 0, dwKey0 = 0, dwKey1 = 0, dwKey2 = 0, dwKey3 = 0;
TCHAR szKey[0x100] = {0};
cout << "要求:写出注册机" << endl;
cout << "用户名:";__GetLine__();
// 需要虚拟化的地方
dwCrc32 = crc32((__memory)szBuffer, iBufferLen);
dwKey0 = PolyXorKey(dwCrc32);
dwKey0 = dwKey0 ^ 0xFBC3DEAB;
dwKey1 = PolyXorKey(dwKey0);
dwKey1 = dwKey1 ^ 0xAB456FDE + 0xDDEEFFBB;
dwKey2 = PolyXorKey(dwKey1);
dwKey2 = dwKey2 ^ 0xFFECD567 - 0xFBC3DEAB;
dwKey3 = PolyXorKey(dwKey2);
dwKey3 = dwKey3 ^ 0xDDEEFFBB ^ 0xAB456FDE;
_stprintf(szKey, _T("%4X-%4X-%4X-%4X"), dwKey0, dwKey1, dwKey2, dwKey3);
cout << "注册码:";__GetLine__();
if (_tcsicmp(szBuffer, szKey) == 0)
cout << "^_^ success" << endl;
else
cout << "-_- failed" << endl;
return 0;
}
|
|
|