Commit Graph

253 Commits (5fa08a79891056f396c5b0550b02dae0beac4a18)

Author SHA1 Message Date
Jens Steube 4b986de5fb Prepare native CUDA hybrid integration
5 years ago
magnum 009cf26a04 Mute a -Wformat warning and fix some whitespace noise while at it.
5 years ago
Jens Steube cf8c815caf
Merge pull request #1975 from Chick3nman/master
5 years ago
Chick3nman fc1aa83541 Change logic for formatting with multiple devices when some are skipped
5 years ago
Chick3nman 1cf2a4fea6 Fix type missmatch
5 years ago
Chick3nman dc1fc28733 Fix Formatting
5 years ago
Chick3nman 5b20662c7f Fix Formatting
5 years ago
Chick3nman 5e307603d6 Fix formatting
5 years ago
Chick3nman 64f0931301 Switched key name from progress to speed
5 years ago
Chick3nman 3e13739aa6 Fix Typo
5 years ago
Chick3nman 71c02cad5e Add --speed-only and --progress-only support
5 years ago
Chick3nman c2c656edbe Fix missing line
5 years ago
Chick3nman e696e0a87d Fix time formatting
5 years ago
Chick3nman b551592082 Add start and estimated end times, fix formatting
5 years ago
Chick3nman 7bbf4eb183 Fixed restore point number formatting
5 years ago
Chick3nman 4d60c7514a Fixed formatting for speed and progress
5 years ago
Chick3nman ea141f43da Formatting for json status
5 years ago
jsteube 708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
5 years ago
Chick3nman 0cc365139b Added sanity check to confirm --machine-readable and --status-json do not run at the same time.
5 years ago
Chick3nman cac6522cd7 More prep
5 years ago
Chick3nman 2358220cbe Prepare for --status_json
5 years ago
jsteube 1537fc4e5d Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning)
5 years ago
jsteube b2154b7ed9 Fix use-after-free of hash_name
5 years ago
jsteube 79c8618025 Fix cross-compiled binaries and modules
5 years ago
jsteube 54edd16746 Clean up some code
5 years ago
jsteube 0186f025d3 Add support for hash modules to usage.c
5 years ago
jsteube 3cce072f40 Get rid of strhashtype()
6 years ago
Jens Steube d6fe2c7cd4 The hashcat brain
6 years ago
Rosen Penev 77daf05dd0 Add HC_API_CALL to a few functions
6 years ago
jsteube 52c52836e3 Add new option --slow-candidates which allows hashcat to generate passwords on-host
6 years ago
RAN1 ec1b6442b1 Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
6 years ago
jsteube 067ffa9d64 Add more tracker for amplifier and iterations to status screen
6 years ago
jsteube 27db8ced7e Add a tracker for salts, amplifier and iterations to status screen
6 years ago
jsteube 8903adb164 Added OpenCL device utilization to status information in machine readable output
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
jsteube 517062849e Save some space in speed display to avoid line breaks
6 years ago
jsteube 11b18512c7 Terminal: Add workitem settings to status display (can be handy for debugging)
6 years ago
Rosen Penev aece2cc4be Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
7 years ago
Rosen Penev 1c5915cae3 remove special time handling in hashcat.
7 years ago
jsteube 04a30e6071 Show [r]esume in prompt in pause mode only and show [p]ause in prompt in resume mode only
7 years ago
Jens Steube 9568837b12 Revert "Replace PRIu64 with ju. Less verbose."
7 years ago
Rosen Penev 869b5fb522 Replace PRIu64 with ju. Less verbose.
7 years ago
jsteube 51aba5517f Update some of the visual indicator of active options when benchmarking
7 years ago
Rosen Penev ec55209254 remove hc_sleep and _msec.
7 years ago
Royce Williams cd69cd3c0b Merge remote-tracking branch 'upstream/master'
7 years ago
Royce Williams a08f65b50e flip the logic in terminal.c for readability
7 years ago
jsteube 7b71fb803b Add hash-mode to --example-hashes and use $HEX[] in case the password is in binary
7 years ago
jsteube 12d95fd22c Added option --example-hashes to show an example hash for each hash-mode
7 years ago
Royce Williams 149a611cbd Merge remote-tracking branch 'upstream/master'
7 years ago
philsmd e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
Royce Williams 471ba4075d make display of active options in benchmark match actual usage
7 years ago
Royce Williams 434af9fe6a visual indicator of options active when benchmarking
7 years ago
Royce Williams d1fef8f74a tighten to under 80 columns, and minor grammar
7 years ago
jsteube 80c5150292 Change the benchmarking info text on -O and disable it if -w is already set
7 years ago
jsteube be4076cba6 Multiply SPEED in machine-readable status output with 1000, making it more accurate if performance is < 1H/ms
7 years ago
Royce Williams 96fde7471b Note that -b implies -O and how to override
7 years ago
jsteube beb6ee2061 Add OPTI_TYPE_OPTIMIZED_KERNEL
7 years ago
jsteube fbea72ebd6 Renamed default kernels to optimized kernels
7 years ago
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube f97c0d38d7 Allow using -L with -a 7 (other modes need no modification) for fast hashes
7 years ago
jsteube 0cce17d268 Eventual fix for #1263
7 years ago
Christopher Schmitt d24a6198e8 first pass at free'ing hashcat_status_t
7 years ago
Royce Williams 067372f5ce more event_log_* standardization
7 years ago
jsteube f1c7b60d6a Status View: Add rejected counter to machine readable output
7 years ago
jsteube 99fbaa8bcc Dictionary Cache: Split long status line into multiple lines to stay < 80 chars
7 years ago
jsteube e933d12838 Rename Input.Mode, Input.Base, ... to Guess.Mode, Guess.Base, ...
7 years ago
jsteube 6d66ff96c1 Truncate longer hash format in status output
7 years ago
Rosen Penev 4ceb7a1afa
Prefer _WIN to _POSIX for defines.
7 years ago
sgroat 113fe102f5 Cleanup zero-length printf format string warnings
7 years ago
jsteube ac5d274845 Sessions: Move out handling of multiple instance from restore file into separate pidfile
7 years ago
jsteube 8a47c32537 Fixed display screen to show input queue when using custom charset or rules
7 years ago
jsteube b42a177528 Fixes https://github.com/hashcat/hashcat/issues/934
7 years ago
Jens Steube eda7344f34 Merge pull request #920 from neheb/master
8 years ago
Rosen Penev cf4045cc6e Last remnant of stderror
8 years ago
jsteube ec5610271a New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit
8 years ago
Gabriele Gristina 134922ba7a Fix wrong usage of ctime_r()
8 years ago
Rosen Penev 96591f3118
Replace ctime with _r variant
8 years ago
Rosen Penev 4d09cc10fd
Fix some formats and conversion errors
8 years ago
jsteube daddffa3dc Status view: Show core-clock, memory-clock and execution time in benchmark-mode in case --machine-readable is activated
8 years ago
jsteube 813911788a Status: Do not show Recovered/Time when cracking < 1000 hashes
8 years ago
Rosen Penev 96783ed7a3 Fix compilation for native Cygwin
8 years ago
jsteube ea4fd1de50 Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
8 years ago
Rosen Penev 22abb22c13
Fix a few printf formats
8 years ago
jsteube b21bc12157 Do not use Input.Queue... in stdin mode to avoid division by zero
8 years ago
jsteube 4d9cb462a9 Add back input queue in status view
8 years ago
jsteube 1edc129f8a Added core-clock and memory-clock to output in benchmark mode with --machine-readable enabled
8 years ago
jsteube 3442892fda Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings
8 years ago
Rosen Penev a219b95c17
Fix a bunch of warnings
8 years ago
jsteube 8d6b6dd286 Also works for hybrid modes
8 years ago
jsteube 9e156321ef Bring back mask length of mask as number to status screen
8 years ago
jsteube 636d953996 Move out all use of event_log_info() from library code to main.c or terminal.c
8 years ago
jsteube e26b08f61f Move opencl_info() to terminal.c
8 years ago
jsteube 97b58b16af Fix some EOL handling
8 years ago
jsteube e1010ffba1 Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube bfdd0edbad Move event_log_info() out of thread.c
8 years ago
jsteube 08d52cc1d3 Go back to original status view attribute ordering
8 years ago
jsteube 54e5e6c2d0 Make some backward compatibility code more visible
8 years ago
jsteube c3266e363a Make status_display_machine_readable() use of hashcat_status_t
8 years ago
jsteube 89e3168280 Make status_display(), status_benchmark_automate() and status_benchmark() use of hashcat_status_t
8 years ago
jsteube 65b3910dc0 Converted status_benchmark_automate()
8 years ago
jsteube 1d0810a759 Added status_get_hwmon_dev() to status.c
8 years ago
jsteube 2b28010aae Added status_get_input_candidates_dev() to status.c
8 years ago
jsteube 8d81d3bd55 Added progress_mode to status.c
8 years ago
jsteube 86c1c7ef10 Added CPT functions for later use in status.c
8 years ago
jsteube df521d664b Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube b044271b01 Move more status display calculate logic into separate functions
8 years ago
jsteube 2545ec6bf9 Prepare hashcat_get_status()
8 years ago
jsteube 191269f4f0 Add --speed-only mode
8 years ago
jsteube 556c07d8ee Revert "Use printf() instead of event_log_*() in terminal.c and status.c"
8 years ago
jsteube 690b465ddc Use printf() instead of event_log_*() in terminal.c and status.c
8 years ago
jsteube af9de0a7b7 Fix some error string formats
8 years ago
jsteube 0f96c57ead Remove some workarounds to use get rid of unused variable warnings
8 years ago
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube 0ea8b6f3d0 Update terminal.c function parameters
8 years ago
jsteube 14334e4129 Update restore.c function parameters
8 years ago
jsteube 0b2c568ba6 Simplify status_display_* and status_benchmark_* function parameters
8 years ago
jsteube 79c0fc6a11 Automatically unlink restore file if all hashes have been cracked
8 years ago
jsteube 57cb082fda Add some useful stuff to main.c
8 years ago
jsteube fb3e6bab0d Finished refactoring to remove all global variables
8 years ago
jsteube a5800b41f4 Rename hash_management.c to hashes.c
8 years ago
jsteube c53de67cd4 Remove some unneeded mutex
8 years ago
jsteube 133c9295f5 Cleaned up data_t, only contexts left
8 years ago
jsteube 12a2d6d2a0 Move more stuff to status_ctx_t
8 years ago
jsteube 831ef1490b Prepare status_ctx_t
8 years ago
jsteube 84f96c4dda Add cpt_ctx_t
8 years ago
jsteube df23d5b4e9 Move more functions out of hashcat.c
8 years ago
jsteube de21c005fd Move setup_console() to terminal.c
8 years ago
jsteube de5d0349c6 Fixes https://github.com/hashcat/hashcat/issues/517
8 years ago
jsteube 7191780296 Make use of hwmon_ctx_t
8 years ago
jsteube f8d538413e Move pw_min and pw_max to hashconfig_t and bring back data.shutdown_*
8 years ago
jsteube 171bfbbb8b Get rid of shutdown_inner and shutdown_outer
8 years ago
jsteube c71f1bfb0c Introduct combinator_ctx_t
8 years ago
jsteube 67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago
jsteube 54a4ea3db2 Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
8 years ago
jsteube fd72834322 data. no longer required in restore
8 years ago
jsteube 62b97a6fe6 Move loading rules into outer loop
8 years ago
jsteube 095dfdc730 Get rid of quiet variable in data. context
8 years ago
jsteube a3b4cc5a80 Get rid of restore, restore_disable and restore_timer variables in data. context
8 years ago
jsteube 93d3b3a809 Get rid of rp_* variables in data. context
8 years ago
jsteube fe88c763af Get rid of custom_charset_* variables in data. context
8 years ago
jsteube c008b11de3 Make more use of new user_options_t*
8 years ago
jsteube 3adbf3d0d5 Move global mux_dispatcher variable into opencl_ctx_t
8 years ago
jsteube 4cde17aea7 Fix race-condition in thread_keypress()
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube 7ce2f2ff19 Introduce opencl_ctx_t; not finished yet
8 years ago
jsteube 1ce58f51d1 Move thread_keypress() to terminal.c
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube 5126a86907 Move prompt functions to terminal.c
8 years ago
jsteube 7f1ecc7cb7 Use hashcat.c configuration macros to get an idea of the remaining features which should move into their own source file
8 years ago
jsteube 51a059a606 Move status specific functions into their own source file
8 years ago