Commit Graph

60 Commits (72af615e8b9be2039341867fbe0f8775f8edee65)

Author SHA1 Message Date
Jens Steube 1b4edc92ee Merge pull request #925 from neheb/master
8 years ago
Rosen Penev 36bd1c7dd9 Replace some snprintf calls with asprintf.
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
Rosen Penev 5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
Rosen Penev 4d09cc10fd
Fix some formats and conversion errors
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
jsteube 733a7385b4 Fix some code in restore.c to make cppcheck happy
8 years ago
Rosen Penev 22abb22c13
Fix a few printf formats
8 years ago
jsteube d6b7b39515 Fix for invalid error "Restore value greater keyspace"
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
Gabriele Gristina 6bf5ee95a6 Fix resource leak
8 years ago
Etienne f35f475b4f Add --restore-file-path option
8 years ago
jsteube e1010ffba1 Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube 14bd614bfc Move event_log_info() out of restore.c
8 years ago
jsteube 27e92540e4 Do not unlink restore file of restore is disabled
8 years ago
jsteube 574acfab6a Move masks_pos from rd* to masks_ctx and dicts_pot from rd* to straight_ctx
8 years ago
jsteube 761e3f0d96 Move out words_cur from restore_ctx to status_ctx and let the dispatcher update it
8 years ago
jsteube df521d664b Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube 2545ec6bf9 Prepare hashcat_get_status()
8 years ago
jsteube f8a6d156eb Add some more returncode checks
8 years ago
jsteube 191269f4f0 Add --speed-only mode
8 years ago
jsteube 056083fdba Revert "Prepare for hashcat_ctx_run_session()"
8 years ago
jsteube 0179097a53 Prepare for hashcat_ctx_run_session()
8 years ago
jsteube 8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube 60f6137a3f Fix some newlines in restore mode
8 years ago
jsteube af9de0a7b7 Fix some error string formats
8 years ago
jsteube 8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error()
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 076784d235 Update user_options.c function parameters
8 years ago
jsteube 14334e4129 Update restore.c function parameters
8 years ago
jsteube 578f6816c6 Fix some uint datatype leftovers
8 years ago
jsteube 79c0fc6a11 Automatically unlink restore file if all hashes have been cracked
8 years ago
jsteube 7f2ab2db60 Add unlink_restore()
8 years ago
jsteube 57cb082fda Add some useful stuff to main.c
8 years ago
jsteube 50d2cec912 Fix some variable name convention
8 years ago
jsteube 667a8b1d3d Make use of argc/argv easier
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube af1701c765 Fix some memleaks on shutdown
8 years ago
jsteube d2877b95e4 Automatically disable most features in case -I is used
8 years ago
jsteube e13f2305dd Make restore support modular
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 4399b0361b Fix segfault in benchmark mode
8 years ago
jsteube fd72834322 data. no longer required in restore
8 years ago
jsteube a3b4cc5a80 Get rid of restore, restore_disable and restore_timer variables in data. context
8 years ago
jsteube 3adbf3d0d5 Move global mux_dispatcher variable into opencl_ctx_t
8 years ago
jsteube 9daf139fef Refactor devices_status to have better thread control
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 f1835dc7f5 Move more functions to thread.c
8 years ago