Merge pull request #2095 from matrix/outfile_1

Fix outfile bug
pull/2096/head
Jens Steube 5 years ago committed by GitHub
commit f7898da386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -379,10 +379,10 @@ void check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pl
const int tmp_len = outfile_write (hashcat_ctx, (char *) out_buf, out_len, plain_ptr, plain_len, crackpos, NULL, 0, (char *) tmp_buf);
outfile_write_close (hashcat_ctx);
EVENT_DATA (EVENT_CRACKER_HASH_CRACKED, tmp_buf, tmp_len);
outfile_write_close (hashcat_ctx);
// potfile
// we can have either used-defined hooks or reuse the same format as input format
// no need for locking, we're in a mutex protected function

Loading…
Cancel
Save