int main(int argc, char* argv[]) { VM_START; printf(" Encrypt: \n"); uint8_t dump[100]; memset(dump, 0, sizeof(dump)); auto size = make_string(dump); printf(" "); for (size_t i = 0; i < size; ++i) { if (i != 0 && i % 16 == 0) { printf(_A("\n ").c_str()); } printf(_A("%02x ").c_str(), dump[i]); } printf("\n\n"); char password[100]; GetPassword(password, sizeof(password)); if (true == Test(password, strlen(password), dump, size)) { MessageBox(nullptr, _W(L"WOW :]").c_str(), L"crackme02", MB_OK); } else { MessageBox(nullptr, _W(L"Opps :|").c_str(), L"crackme02", MB_OK); } return 1; VM_END; }
Recommended Comments
There are no comments to display.