Commit Graph

47 Commits (v6.1.0)

Author SHA1 Message Date
Rosen Penev fd8150769d Add casts where needed in C++ mode
5 years ago
Gabriele Gristina 3161aec3da fix the comments :)
5 years ago
Gabriele Gristina 5679ca3344 Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
5 years ago
Gabriele Gristina 398c89c75c switch almost all FILE ops, potfile is the only missing
5 years ago
Gabriele Gristina b2529af172 remove original commented code
5 years ago
Gabriele Gristina 6cb4abd526 Add zlib support v2
5 years ago
Jens Steube 3c4f4df771 Rename some more variables
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
jsteube 75f7172cca Prepare remove of hash_type variable
5 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
philsmd 9d58ddd9f6
fixed strtok_r () calls, could prevent memory crashes
7 years ago
Rosen Penev 6b0ee145c4 Fix missing stuff
7 years ago
Rosen Penev 1109017a53 Change atoi family to strtol family
7 years ago
Rosen Penev 0555613305 Remove else statement after return
7 years ago
Jens Steube f3984b7413 Start with the original device name
7 years ago
Jens Steube afdc3fac74 Fix a shadowed variable
7 years ago
jsteube 966cff80bc Allow device name substrings in hashcat.hctune
7 years ago
jsteube 1d04de3a8e Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube 12d95fd22c Added option --example-hashes to show an example hash for each hash-mode
7 years ago
sgroat 21efc80975 fix string
7 years ago
philsmd 9ed93fcce9
dead code: here we do not need to check for NULL
7 years ago
philsmd f535eb2bd0
always check the input for NULL before the strtok_r () calls
7 years ago
philsmd a82f6fb77c
our usage of strtok_r () was not totally correct (but almost)
7 years ago
Rosen Penev 2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
7 years ago
jsteube 6ece83760d Add wrapping function for asprintf()
8 years ago
Rosen Penev 36bd1c7dd9 Replace some snprintf calls with asprintf.
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 536dcef7eb Replaced all calls to strtok() with strtok_r() to ensure thread safety
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 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 14248d38e3 Update tuning_db.c function parameters
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 eb6dffd52a Make tuning_db support modular
8 years ago
jsteube a5800b41f4 Rename hash_management.c to hashes.c
8 years ago
jsteube 3adbf3d0d5 Move global mux_dispatcher variable into opencl_ctx_t
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 bc75ba70a1 Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube 6aee697112 Cleanup some macro values
8 years ago
jsteube 8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago
jsteube 3ed4bfd237 Move tuningdb specific functions into their own source file
8 years ago