Commit Graph

78 Commits (708a86fb5956e40f08701df8eaa50f86d972b364)

Author SHA1 Message Date
jsteube 708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
5 years ago
jsteube 2bd55bca74 Add missing hook_salt buffer parameter to decoder/encoder function declaration
5 years ago
jsteube 3f2346e951 Support hashes in outfiles in outfile-check folder without password
5 years ago
jsteube 35265d43f3 Update outfile_check
5 years ago
jsteube 02fe28fe6c Preparation for -m 501
5 years ago
jsteube bbcc8fea29 Use MODULE_DEFAULT in module_init to reference a global default function
5 years ago
jsteube 3ad6fab63e Add module_potfile_disable()
6 years ago
jsteube da30151b70 Get rid of hash_mode in outfile_check.c
6 years ago
jsteube 6928e5bfbe Get rid of hash_mode in outfile_check.c
6 years ago
Jens Steube 3aecd150f9 Call module_hash_encode() in ascii_digest()
6 years ago
Jens Steube 222d76f01e Replace parse_func() with module_hash_decode()
6 years ago
Rosen Penev 77daf05dd0 Add HC_API_CALL to a few functions
6 years ago
philsmd 2933f3320a
outfile check: performance improvement by using binary instead of linear search
6 years ago
philsmd 93216c76a3
outfile check: improve response time when quitting hashcat
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
Rosen Penev 1c5915cae3 remove special time handling in hashcat.
7 years ago
Rosen Penev 3ba84f17f1 More clang tidy fixes
7 years ago
Rosen Penev ec55209254 remove hc_sleep and _msec.
7 years ago
jsteube 617dbb97ba Prepare migration -m 15800 into -m 2500
7 years ago
jsteube 5551337cf6 Show advice to use optimized kernels only if there's actually one for this hash-mode
7 years ago
jsteube 12d95fd22c Added option --example-hashes to show an example hash for each hash-mode
7 years ago
philsmd e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
jsteube 03bb234045 Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube fc100a852b Added hash-mode 2501 = WPA/WPA2 PMK
7 years ago
philsmd d20079bfe1
if fstat () fails we shouldn't forget to close the file
7 years ago
philsmd aed01460f2
if fstat () fails we shouldn't forget to close the file
7 years ago
philsmd c16145dffd
outfile check: also out_info variable needs to be freed
7 years ago
philsmd c1b89fb2ac
added return code check whenever fstat () was called
7 years ago
philsmd d1e3d64440
outfile check: out_files variable should be freed (also) in case of an error
7 years ago
Rosen Penev 2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
7 years ago
jsteube 2135ea3329 WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:essid
7 years ago
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
7 years ago
jsteube 17548d3ee8 Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
7 years ago
philsmd 297c797521
hook code: refactored the hook salt to be part of the hash_t struct
7 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