summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 0f8d294..b6aa680 100644
--- a/main.c
+++ b/main.c
@@ -245,7 +245,9 @@ int thread_worker(thread_param *param) {
* So we mask out the LSBs from md5_hex before comparing */
if (ctx.yield == ((*(uint64_t *) md5_hex) & 0xFEFEFEFEFEFEFEFEull)) {
atomic_store(&key_found, true);
- printf("[+] FOUND KEY: %s\n", md5_hex);
+ printf("[+] FOUND KEY: ");
+ fwrite(md5_hex, 1, sizeof(md5_hex), stdout);
+ putchar('\n');
crack_result.plaintext = plaintext;
crack_result.len = unpadded_length;
return 0;