Commit Graph

47 Commits (41648e9db079e441b1de476a139d2b3322b84f7b)

Author SHA1 Message Date
jsteube 84fcd8289f Files: Do several file and folder checks on startup rather than when they are actually used to avoid related error after eventual intense operations
8 years ago
jsteube 17548d3ee8 Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
8 years ago
philsmd 297c797521
hook code: refactored the hook salt to be part of the hash_t struct
8 years ago
jsteube 6ece83760d Add wrapping function for asprintf()
8 years ago
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
jsteube 1342cf2ce3 Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
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
neheb eff04d1633 Change fseek and ftell to o variants
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 e777c25a67 Improve handling of MAX_CUT_TRIES
8 years ago
jsteube 8f4d93f938 Fix some double-free if manually setting --outfile-check-dir
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
jsteube 9f790d4dbd Move u8 * instead of char * for most interface.c functions
8 years ago
jsteube 7eef713ff7 Fix compiler warnings caused by -Wshadow
8 years ago
jsteube f5a92900c6 Rudimentary --show support is back
8 years ago
jsteube 191269f4f0 Add --speed-only mode
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 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 c48ca34e1b Update outfile_check.c function parameters
8 years ago
jsteube 578f6816c6 Fix some uint datatype leftovers
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube 2994afd81a Use hc_stat from types.c instead of OS dependant branching
8 years ago
jsteube 5f18fb40f1 Added hc_mkdir instead of mkdir macro
8 years ago
jsteube fb3e6bab0d Finished refactoring to remove all global variables
8 years ago
jsteube a26f624032 Remove unneeded includes from outfile_check.c
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 de5d0349c6 Fixes https://github.com/hashcat/hashcat/issues/517
8 years ago
jsteube 171bfbbb8b Get rid of shutdown_inner and shutdown_outer
8 years ago
jsteube 75682a5008 Get rid of local_free() and global_free(), no longer required
8 years ago
jsteube 319d548766 Move all outfile-check folder related host code into outfile_check.c
8 years ago
jsteube b4a3dd35b0 Get rid of outfile_check_timer variable 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 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 f4c5241275 Move thread_outfile_remove() to outfile_check.c
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube 2a6e03510b Add template files
8 years ago