diff options
author | Keuin <[email protected]> | 2022-05-27 22:40:46 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-05-27 22:40:46 +0800 |
commit | 6f15bd0a576fa456fe76aed466413b21c823a80d (patch) | |
tree | 9c0a5bc18c05a339bb8590176a2b0014649e227e | |
parent | e0c73f09776ba24a6f37c369c4105c2d589a7a17 (diff) |
Print key as ASCII string.
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |