1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 09:58:16 +00:00

Reenabled automatic status screen display in case of stdin used

This commit is contained in:
jsteube 2016-12-29 13:05:29 +01:00
parent a192cda224
commit 4a81601c0a
5 changed files with 37 additions and 11 deletions

View File

@ -4,8 +4,9 @@
## Features ## 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 - 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 - WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected
## ##
@ -18,29 +19,29 @@
## Bugs ## 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 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 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 - 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 ## Technical
## ##
- Building: Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries - 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 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 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 - 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 - 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: * changes v3.10 -> v3.20:

View File

@ -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_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_init (hashcat_ctx_t *hashcat_ctx);
void user_options_extra_destroy (hashcat_ctx_t *hashcat_ctx); void user_options_extra_destroy (hashcat_ctx_t *hashcat_ctx);

View File

@ -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_extra_init (hashcat_ctx);
user_options_postprocess (hashcat_ctx);
/** /**
* logfile * logfile
*/ */

View File

@ -708,6 +708,14 @@ static void main_monitor_status_refresh (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx
send_prompt (); 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) static void main_wordlist_cache_hit (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len)

View File

@ -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) void user_options_extra_init (hashcat_ctx_t *hashcat_ctx)
{ {
user_options_t *user_options = hashcat_ctx->user_options; user_options_t *user_options = hashcat_ctx->user_options;