From 6f15bd0a576fa456fe76aed466413b21c823a80d Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 27 May 2022 22:40:46 +0800 Subject: Print key as ASCII string. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index e2493d3..6419f47 100644 --- a/main.c +++ b/main.c @@ -210,7 +210,7 @@ int thread_worker(thread_param *param) { md5_out[2] & 0xFFu, md5_out[3] & 0xFFu); if (!memcmp(md5_hex, (const char *) (&ctx.yield), 8)) { atomic_store(&key_found, true); - printf("[+] FOUND KEY: %zu\n", ctx.yield); + printf("[+] FOUND KEY: %s\n", md5_hex); crack_result.plaintext = plaintext; crack_result.len = unpadded_length; return 0; -- cgit v1.2.3