// http://reverse.israeltorres.org/ITwin32LevelA-unpacked.cpp // tempgen v1.0 tools.israeltorres.org // #include #include void main(int argc, char* argv []) { char sB[26]="\0"; cout << "[ ITwin32LevelA-unpacked ]" << endl; cout << "What is the password?" << endl; cin >> sB; char sA[26]="\0"; char sC[666]="Seriouly - this should be REALLY simple >_> - Shoutz to DC949"; strcpy(sA, "this is the real password"); //0123456789012345678901234 //..........1111111111 //....................22222 //israel torres // 2, 3, 12, 14, 13, 15, 0, 22, 23, 12, 13, 6 int infos[13] = {2, 3, 12, 14, 13, 15, 0, 22, 23, 12, 13, 6}; int infon = 0; for (int x = 0; x < 12; x++) { if (sB[x] == sA[infos[x]]) { cout << "+"; infon++; } else { cout << "-"; infon--; } } cout << endl; if (infon == 12) { cout << "This is the correct password. Congratulations! \n- Proceed to Level Zero [ITwin32LevelA-unpacked]" << endl; } else { cout << "This is not the correct password. Figure out why." << endl; } }