Commit Graph

77 Commits (c440dec8672984dbfc4a81eef7ee561baa71bc2b)

Author SHA1 Message Date
philsmd c440dec867
file locking: check return value of fcntl ()
8 years ago
jsteube 9c5cfd17ac Added support for automatic merge of LM halfes when --show and --left is used
8 years ago
sgroat 113fe102f5 Cleanup zero-length printf format string warnings
8 years ago
Rosen Penev 2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
8 years ago
jsteube 2135ea3329 WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:essid
8 years ago
philsmd 1c4af583e8
minor: removed unused user_options variable
8 years ago
philsmd dfd4084b3b
fixes #963: show all user's hashes if --show/--left was specified
8 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
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 5ea24d9bca Fixed duplicate detection for WPA handshakes with the same ESSID
8 years ago
jsteube 8257883ec1 Added hash-mode 14600 = LUKS
8 years ago
jsteube 1f756bf752 Include passwords for removed hashes present in the potfile to next loopback iteration
8 years ago
jsteube e1b5de12d5 Fixed potfile loading to accept blank passwords
8 years ago
jsteube a4f40ac226 Added old potfile detection, show warning message
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
magnum fb56ce9b5a Only lock loopback and pot files while actually writing to them. Closes #893.
8 years ago
jsteube db5291a76c Add special weak-hash detection section for LM
8 years ago
jsteube 90b9d5c12c Fix some potential resource leaks in case of an error
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 e8078f2c73 Add output buffer size to ascii_digest()
8 years ago
jsteube e777c25a67 Improve handling of MAX_CUT_TRIES
8 years ago
jsteube daeb5f66ac Use same locking mechanism in potfile as in outfile
8 years ago
jsteube 2f398becfb Do not store result of binary operation in a bool
8 years ago
jsteube 0cd39ab963 Fix some code in potfile.c to make cppcheck happy
8 years ago
jsteube 316694fd08 Move hc_qsort_r() and hc_bsearch_r() from potfile.c to shared.c - Lets us use them from within all objects
8 years ago
jsteube 23fa7000fa Removed functions sort_by_pot() and sort_by_salt_buf() from potfile.c - Code no longer required due to potfile --show and --left handling logic
8 years ago
jsteube 16c6a48e0b Fix some null-pointer derefence which never occurs but is listed in the clang analyzer output
8 years ago
Jens Steube 2d743706cb Merge pull request #570 from magnumripper/master
8 years ago
jsteube 2507f62722 Add hash-mode option OPTS_TYPE_PT_ALWAYS_ASCII to control need_hexify() from interface.c
8 years ago
magnum 7d7ca48704 Change need_hexify so it optionally tests for printable UTF-8 as opposed
8 years ago
magnum a52b96583f Fix file locking (again).
8 years ago
jsteube fb8fb6b21d Actual use of --outfile-autohex-disable was lost during refactoring. Fixes https://github.com/hashcat/hashcat/issues/567
8 years ago
jsteube b8efae4281 Refactor all variables with HCBUFSIZ_LARGE size from stack to heap
8 years ago
jsteube eb58b076da Fix compiler warnings caused by -Wstack-usage=524288
8 years ago
jsteube 9f790d4dbd Move u8 * instead of char * for most interface.c functions
8 years ago
jsteube e3a245f615 Fix compiler warnings caused by -Wpointer-arith
8 years ago
jsteube 7eef713ff7 Fix compiler warnings caused by -Wshadow
8 years ago
jsteube c4ba7907ca Fix more EOL issues
8 years ago
jsteube a460ab01b6 Bring back --username handling to --show and --left
8 years ago
jsteube f5a92900c6 Rudimentary --show support is back
8 years ago
jsteube 9b2c69a00d Bring error in case someone uses --show
8 years ago
jsteube edefcdbaaa Rudimentary --left support is back
8 years ago
jsteube f6334b5f90 Handling --show and --left need to be refactored, do not use those flags atm
8 years ago
jsteube 1f72aa95e6 Destinguish between EVENT_POTFILE_HASH_CRACKED and EVENT_CRACKER_HASH_CRACKED for prompt handling
8 years ago