summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-05-27 22:40:46 +0800
committerKeuin <[email protected]>2022-05-27 22:40:46 +0800
commit6f15bd0a576fa456fe76aed466413b21c823a80d (patch)
tree9c0a5bc18c05a339bb8590176a2b0014649e227e /main.c
parente0c73f09776ba24a6f37c369c4105c2d589a7a17 (diff)
Print key as ASCII string.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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;