Commit Graph

122 Commits (067ffa9d647e4ea2d1b35f7fd65b01b116313765)

Author SHA1 Message Date
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
jsteube 9eb47153d4 Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube 25726e4f4e Remove some (hopefully) redundant macros and compiler options
8 years ago
jsteube 5dd5c15966 Move tty_*() specific functions into their own source file
8 years ago