Commit Graph

227 Commits (master)

Author SHA1 Message Date
Jens Steube 08fc0ec1fb Added self-test funcionality for OpenCL kernels on startup
7 years ago
sgroat 21efc80975 fix string
7 years ago
Royce Williams 067372f5ce more event_log_* standardization
7 years ago
Jens Steube 963a9772ba Fixed --remove was not applied in case all hashes have been cracked by help of potfile or weak-hash check
7 years ago
jsteube c04dd5c8b1 WPA cracking: Added support for WPA/WPA2 handshake AP nonce automatic error correction
7 years ago
jsteube 33a043ec63 Refactored internal use of esalt from sync with number of salts to sync with number of digests
7 years ago
Jens Steube e82ce9243d Added support for filtering hccapx message pairs using --hccapx-message-pair
7 years ago
jsteube d2e95d5e1b Fix WPA/WPA2 incorrectly reports cracked passwords in some cases
7 years ago
Jens Steube 2dd027af65 Make sure to zero scratch buffer for WPA/WPA2 and LUKS
7 years ago
philsmd 1f88ae42ef
dead code: hash_len is always > 0 at this location
7 years ago
philsmd 94a37157c1
dead code: both hashes_avail and hash_len can't be 0 here
7 years ago
jsteube 9c5cfd17ac Added support for automatic merge of LM halfes when --show and --left is used
7 years ago
jsteube 85aba06e6f Renamed some variables which 'shadow' another variable or function
7 years ago
Rosen Penev a3d04a40b0 Fix more cppcheck warnings
7 years ago
jsteube 9aabc20248 Add a warning message if old hccap file is detected and abort
7 years ago
Jens Steube 65d5921eda Merge pull request #1020 from neheb/master
7 years ago
jsteube 717da7f4f2 Added support for loading hccapx files
7 years ago
Rosen Penev 2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
7 years ago
philsmd dfd4084b3b
fixes #963: show all user's hashes if --show/--left was specified
7 years ago
philsmd 0c68f757d5
fixes 996: for pwdump format both halves of LM need to have the username info
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
philsmd 6fe0173a79
#965: new hook function to support LZMA1/LZMA2 decompression for -m 11600 = 7-Zip
7 years ago
jsteube 5ea24d9bca Fixed duplicate detection for WPA handshakes with the same ESSID
7 years ago
jsteube dc843acf63 Fixed use of option --keyspace in combination with -m 2500 (WPA)
7 years ago
jsteube 8257883ec1 Added hash-mode 14600 = LUKS
7 years ago
jsteube 72af615e8b WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected
8 years ago
Rosen Penev 5c0bd0a15f
Remove strerror in favor of thread safe %m
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
Jens Steube acf13c5544 Fix the evil :password bug, where the hash itself wasn't printed
8 years ago
jsteube e8078f2c73 Add output buffer size to ascii_digest()
8 years ago
Pierre-Antoine Haidar-Bachminska aaf5231b13 Print expected data in rules debugging modes
8 years ago
jsteube b0a616084d Replace some outdated error check
8 years ago
Jens Steube 7958479b62 Do not load data from hashfile if hashfile changed during runtime
8 years ago
jsteube c02a0cbf3f Fix potfile handling in case of duplicate salts in hashlist
8 years ago
magnum a52b96583f Fix file locking (again).
8 years ago
jsteube 1cc3482eb4 Do not use sizeof() on a pointer address
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
jsteube a599b06a53 Fix use of invalid buffer
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 39eed94703 Add option OPTS_TYPE_BINARY_HASHFILE for interface.c
8 years ago
jsteube c4ba7907ca Fix more EOL issues
8 years ago
jsteube 97b58b16af Fix some EOL handling
8 years ago
jsteube e1010ffba1 Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube 1c055a6311 Move event_log_info() out of hashes.c
8 years ago
jsteube 0a26b09684 Fix buffer overflow in status_get_hash_target()
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 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 8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
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 afd44130fc Prefix warning and error messages
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 fa4de96ab0 switch cpu_crc32.c to event_log_*
8 years ago
jsteube 30a190b174 Update hlfmt.c function parameters
8 years ago
jsteube 52068e25d5 Add some additional start-up checks
8 years ago
jsteube 0885c0ec6b Update loopback.c function parameters
8 years ago
jsteube a97e31881c Update interface.c function parameters
8 years ago
jsteube 9b8092abf9 Update outfile.c and potfile.c function parameters
8 years ago
jsteube 684a28af36 Update debugfile.c and hashes.c function parameters
8 years ago
jsteube eeb8210951 Added the current first and last password candidate test queued for execution per device on status view
8 years ago
jsteube 6d3277ab17 Created build_plain(), build_crackpos() and build_debugdata() out of code from check_hash()
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 56d6cd582f Inform user about sorting after parser
8 years ago
jsteube fb3e6bab0d Finished refactoring to remove all global variables
8 years ago
jsteube 892eccfd14 Fix some missing sign conversions
8 years ago
jsteube 8bf2d0eb5d Fix some missing sign conversions
8 years ago
jsteube af1701c765 Fix some memleaks on shutdown
8 years ago
jsteube 7bf567641b Remove unneeded includes from hashes.c
8 years ago
jsteube a5800b41f4 Rename hash_management.c to hashes.c
8 years ago