|
|
@ -231,7 +231,9 @@ void check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pl
|
|
|
|
|
|
|
|
|
|
|
|
// hash
|
|
|
|
// hash
|
|
|
|
|
|
|
|
|
|
|
|
char out_buf[HCBUFSIZ_LARGE];
|
|
|
|
char *out_buf = (char *) hcmalloc (hashcat_ctx, HCBUFSIZ_LARGE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!out_buf) return;
|
|
|
|
|
|
|
|
|
|
|
|
out_buf[0] = 0;
|
|
|
|
out_buf[0] = 0;
|
|
|
|
|
|
|
|
|
|
|
@ -276,6 +278,8 @@ void check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pl
|
|
|
|
|
|
|
|
|
|
|
|
const int tmp_len = outfile_write (hashcat_ctx, out_buf, plain_ptr, plain_len, crackpos, NULL, 0, tmp_buf);
|
|
|
|
const int tmp_len = outfile_write (hashcat_ctx, out_buf, plain_ptr, plain_len, crackpos, NULL, 0, tmp_buf);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
free (out_buf);
|
|
|
|
|
|
|
|
|
|
|
|
outfile_write_close (hashcat_ctx);
|
|
|
|
outfile_write_close (hashcat_ctx);
|
|
|
|
|
|
|
|
|
|
|
|
EVENT_DATA (EVENT_CRACKER_HASH_CRACKED, tmp_buf, tmp_len);
|
|
|
|
EVENT_DATA (EVENT_CRACKER_HASH_CRACKED, tmp_buf, tmp_len);
|
|
|
|