Skip to content

Commit

Permalink
Added new password.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockoS committed Oct 20, 2023
1 parent 0571cd4 commit 0cd4d23
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/youkai_douchuuki/password.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ static const wchar_t *g_known_passwords[] = {
L"NEC",
L"KID",
L"MIZUNO",
L"なむこむな!756-2311"
L"なむこむな!756-2311",
L"SPEED-UP"
};

static const size_t g_known_passwords_count = sizeof(g_known_passwords) / sizeof(g_known_passwords[0]);
Expand Down Expand Up @@ -645,7 +646,11 @@ int main() {
for(unsigned int k=0; k<password_infos[j].len; k++) {
fputwc(g_alphabet_ch[match[k]], stdout);
}
fputwc(L' ', stdout);
wprintf(L" - ");
for(unsigned int k=0; k<password_infos[j].len; k++) {
wprintf(L"%02x ", match[k]);
}
wprintf(L"- ");
for(size_t k=0; k<8; k++) {
wprintf(L"%02x ", g_blob[password_infos[j].offset+k]);
}
Expand Down

0 comments on commit 0cd4d23

Please sign in to comment.