diff --git a/docs/changes.txt b/docs/changes.txt index 34e58e33f..abae67a40 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -4,8 +4,9 @@ ## Features ## -- New option --progress-only: Quickly provides ideal progress step size and time to process on the user hashes and selected options, then quit - Files: Use $HEX[...] in case the password includes the separater character, increases potfile reading performance +- New option --progress-only: Quickly provides ideal progress step size and time to process on the user hashes and selected options, then quit +- Status screen: Reenabled automatic status screen display in case of stdin used - WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected ## @@ -18,29 +19,29 @@ ## Bugs ## -- Fixed infinite loop when using --loopback in case all hashes have been cracked -- Fixed double fclose() using AMDGPU-Pro on sysfs compatible platform: Leading to segfault -- Fixed kernel loops in --increment mode leading to slower performance - Fixed custom char parsing code in maskfiles in --increment mode: Custom charset wasn't used +- Fixed double fclose() using AMDGPU-Pro on sysfs compatible platform: Leading to segfault - Fixed hex output of plaintext in case --outfile-format 4, 5, 6 or 7 was used +- Fixed infinite loop when using --loopback in case all hashes have been cracked +- Fixed kernel loops in --increment mode leading to slower performance - Fixed mask length check in hybrid attack-modes: Do not include hash-mode dependant mask length checks -- Removed access to readlink() on FreeBSD: Causes problem building hashcat ## ## Technical ## - Building: Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries +- Building: Removed access to readlink() on FreeBSD - Hardware management: Switched matching ADL device with OpenCL device by using PCI bus, device and function -- Hardware management: Switched matching NVML device with OpenCL device by using PCI bus, device and function - Hardware management: Switched matching NvAPI device with OpenCL device by using PCI bus, device and function +- Hardware management: Switched matching NVML device with OpenCL device by using PCI bus, device and function - Hardware management: Switched matching xnvctrl device with OpenCL device by using PCI bus, device and function -- Sanity: Added sanity check to disallow --speed-only in combination with -i -- Potfile: In v3.10 already, the default potfile suffix changed but the note about was missing. The "hashcat.pot" became "hashcat.potfile" -- Threads: Replaced all calls to strerror() with %m printf() GNU extension to ensure thread safety -- Threads: Replaced all calls to ctime() with ctime_r() to ensure thread safety -- OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken - Hash Parser: Improved error detection of invalid hex characters where hex character are expected +- OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken +- Potfile: In v3.10 already, the default potfile suffix changed but the note about was missing. The "hashcat.pot" became "hashcat.potfile" +- Sanity: Added sanity check to disallow --speed-only in combination with -i +- Threads: Replaced all calls to ctime() with ctime_r() to ensure thread safety +- Threads: Replaced all calls to strerror() with %m printf() GNU extension to ensure thread safety * changes v3.10 -> v3.20: diff --git a/include/user_options.h b/include/user_options.h index 1b7c9a50a..8f050f255 100644 --- a/include/user_options.h +++ b/include/user_options.h @@ -18,6 +18,8 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx); void user_options_preprocess (hashcat_ctx_t *hashcat_ctx); +void user_options_postprocess (hashcat_ctx_t *hashcat_ctx); + void user_options_extra_init (hashcat_ctx_t *hashcat_ctx); void user_options_extra_destroy (hashcat_ctx_t *hashcat_ctx); diff --git a/src/hashcat.c b/src/hashcat.c index d35a74821..cd08cfe64 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -877,6 +877,8 @@ int hashcat_session_init (hashcat_ctx_t *hashcat_ctx, char *install_folder, char user_options_extra_init (hashcat_ctx); + user_options_postprocess (hashcat_ctx); + /** * logfile */ diff --git a/src/main.c b/src/main.c index ac5254fe0..a4ee26ba9 100644 --- a/src/main.c +++ b/src/main.c @@ -708,6 +708,14 @@ static void main_monitor_status_refresh (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx send_prompt (); } } + + if (user_options_extra->wordlist_mode == WL_MODE_STDIN) + { + if (user_options->quiet == false) + { + event_log_info (hashcat_ctx, ""); + } + } } static void main_wordlist_cache_hit (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len) diff --git a/src/user_options.c b/src/user_options.c index 31a868746..c1b97a7ab 100644 --- a/src/user_options.c +++ b/src/user_options.c @@ -1130,6 +1130,19 @@ void user_options_preprocess (hashcat_ctx_t *hashcat_ctx) } } +void user_options_postprocess (hashcat_ctx_t *hashcat_ctx) +{ + user_options_t *user_options = hashcat_ctx->user_options; + user_options_extra_t *user_options_extra = hashcat_ctx->user_options_extra; + + // automatic status + + if (user_options_extra->wordlist_mode == WL_MODE_STDIN) + { + user_options->status = true; + } +} + void user_options_extra_init (hashcat_ctx_t *hashcat_ctx) { user_options_t *user_options = hashcat_ctx->user_options;