1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-28 19:08:19 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
jsteube
90b9d5c12c Fix some potential resource leaks in case of an error 2016-11-20 23:15:54 +01:00
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. 2016-11-20 22:54:52 +01:00
Jens Steube
acf13c5544 Fix the evil :password bug, where the hash itself wasn't printed 2016-11-20 00:03:29 +01:00
jsteube
e8078f2c73 Add output buffer size to ascii_digest() 2016-11-19 16:10:01 +01:00
Pierre-Antoine Haidar-Bachminska
aaf5231b13 Print expected data in rules debugging modes 2016-11-14 20:29:25 +01:00
jsteube
b0a616084d Replace some outdated error check 2016-11-12 15:27:11 +01:00
Jens Steube
7958479b62 Do not load data from hashfile if hashfile changed during runtime 2016-11-08 16:41:11 +01:00
jsteube
c02a0cbf3f Fix potfile handling in case of duplicate salts in hashlist 2016-11-07 16:10:16 +01:00
magnum
a52b96583f Fix file locking (again). 2016-11-05 11:33:29 +01:00
jsteube
1cc3482eb4 Do not use sizeof() on a pointer address 2016-11-03 00:07:01 +01:00
jsteube
93adde9d2f * Wrap everything related to *stat() into own functions
* Testwise remove early includes to stdin for OSX, see if they are still required
2016-10-31 11:28:06 +01:00
jsteube
a599b06a53 Fix use of invalid buffer 2016-10-30 22:56:45 +01:00
jsteube
b8efae4281 Refactor all variables with HCBUFSIZ_LARGE size from stack to heap 2016-10-30 22:47:48 +01:00
jsteube
eb58b076da Fix compiler warnings caused by -Wstack-usage=524288 2016-10-30 22:22:26 +01:00
jsteube
9f790d4dbd Move u8 * instead of char * for most interface.c functions 2016-10-30 21:56:56 +01:00
jsteube
39eed94703 Add option OPTS_TYPE_BINARY_HASHFILE for interface.c 2016-10-27 00:32:38 +02:00
jsteube
c4ba7907ca Fix more EOL issues 2016-10-25 12:40:47 +02:00
jsteube
97b58b16af Fix some EOL handling 2016-10-25 12:25:53 +02:00
jsteube
e1010ffba1 Prepare library user access to OpenCL device information without running an attack 2016-10-23 17:31:22 +02:00
jsteube
1c055a6311 Move event_log_info() out of hashes.c 2016-10-23 14:49:40 +02:00
jsteube
0a26b09684 Fix buffer overflow in status_get_hash_target() 2016-10-19 13:51:06 +02:00
jsteube
a460ab01b6 Bring back --username handling to --show and --left 2016-10-19 12:42:41 +02:00
jsteube
f5a92900c6 Rudimentary --show support is back 2016-10-19 11:55:43 +02:00
jsteube
f6334b5f90 Handling --show and --left need to be refactored, do not use those flags atm 2016-10-18 20:42:34 +02:00
jsteube
1f72aa95e6 Destinguish between EVENT_POTFILE_HASH_CRACKED and EVENT_CRACKER_HASH_CRACKED for prompt handling 2016-10-18 00:50:54 +02:00
jsteube
8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository 2016-10-13 10:07:04 +02:00
jsteube
386efb7fb5 Make use of EVENT_CRACKER_HASH_CRACKED, do not print a cracked hash to stdout directly, let the client do it 2016-10-12 11:27:10 +02:00
jsteube
afd44130fc Prefix warning and error messages 2016-10-11 11:56:40 +02:00
jsteube
af9de0a7b7 Fix some error string formats 2016-10-11 10:55:02 +02:00
jsteube
8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error() 2016-10-10 11:03:11 +02:00
jsteube
27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage 2016-10-09 22:41:55 +02:00
jsteube
fa4de96ab0 switch cpu_crc32.c to event_log_* 2016-10-08 23:53:52 +02:00
jsteube
30a190b174 Update hlfmt.c function parameters 2016-10-06 21:12:32 +02:00
jsteube
52068e25d5 Add some additional start-up checks 2016-10-06 17:26:15 +02:00
jsteube
0885c0ec6b Update loopback.c function parameters 2016-10-06 17:01:29 +02:00
jsteube
a97e31881c Update interface.c function parameters 2016-10-06 15:49:07 +02:00
jsteube
9b8092abf9 Update outfile.c and potfile.c function parameters 2016-10-06 15:40:27 +02:00
jsteube
684a28af36 Update debugfile.c and hashes.c function parameters 2016-10-06 10:55:14 +02:00
jsteube
eeb8210951 Added the current first and last password candidate test queued for execution per device on status view 2016-10-04 18:30:00 +02:00
jsteube
6d3277ab17 Created build_plain(), build_crackpos() and build_debugdata() out of code from check_hash() 2016-10-04 16:18:49 +02:00
coolbry95
a78fd4e915 changed uint to u32 2016-10-04 00:35:49 -04:00
jsteube
9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation 2016-10-02 00:00:21 +02:00
jsteube
56d6cd582f Inform user about sorting after parser 2016-10-01 09:27:14 +02:00
jsteube
fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube
892eccfd14 Fix some missing sign conversions 2016-09-30 18:39:31 +02:00
jsteube
8bf2d0eb5d Fix some missing sign conversions 2016-09-30 18:19:42 +02:00
jsteube
af1701c765 Fix some memleaks on shutdown 2016-09-30 13:36:27 +02:00
jsteube
7bf567641b Remove unneeded includes from hashes.c 2016-09-30 11:55:49 +02:00
jsteube
a5800b41f4 Rename hash_management.c to hashes.c 2016-09-30 09:25:51 +02:00