Commit Graph

158 Commits (master)

Author SHA1 Message Date
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
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 690ca0219e Fix formatstring in CPT display and get rid of potfile_format_plain()
8 years ago
jsteube 386efb7fb5 Make use of EVENT_CRACKER_HASH_CRACKED, do not print a cracked hash to stdout directly, let the client do it
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 0f96c57ead Remove some workarounds to use get rid of unused variable warnings
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 27887bf9ce Get rid of more log_info() in hashcat()
8 years ago
jsteube 52068e25d5 Add some additional start-up checks
8 years ago
jsteube 9b8092abf9 Update outfile.c and potfile.c function parameters
8 years ago
coolbry95 a78fd4e915 changed uint to u32
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube 55f1dc321a Replace ssort() with sort_r.h
8 years ago
jsteube fb3e6bab0d Finished refactoring to remove all global variables
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 46866dd0b1 Make potfile support modular
8 years ago
jsteube 521db46c11 Move dictstat_init() out of outer loop, also add enabled flag
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube bd9e092ea3 Do not write potfile if --potfile-disable is in use
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube b7906f6b93 Move outfile specific functions into their own source file
8 years ago
jsteube a61d1faaad Cleanup and redefine some potfile functions
8 years ago
jsteube 53db51dcc3 Finalize potfile specific functions migration to their own source file
8 years ago
jsteube f809937b1e Move more potfile specific functions into their own source file
8 years ago
jsteube 63b47eebc9 Prepare move potfile specific functions into their own source file
8 years ago