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

153 Commits

Author SHA1 Message Date
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
jsteube
e8078f2c73 Add output buffer size to ascii_digest() 2016-11-19 16:10:01 +01:00
jsteube
e777c25a67 Improve handling of MAX_CUT_TRIES 2016-11-19 15:25:01 +01:00
jsteube
daeb5f66ac Use same locking mechanism in potfile as in outfile 2016-11-19 15:13:54 +01:00
jsteube
2f398becfb Do not store result of binary operation in a bool 2016-11-19 15:08:22 +01:00
jsteube
0cd39ab963 Fix some code in potfile.c to make cppcheck happy 2016-11-16 16:08:40 +01:00
jsteube
316694fd08 Move hc_qsort_r() and hc_bsearch_r() from potfile.c to shared.c - Lets us use them from within all objects 2016-11-16 10:22:57 +01:00
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 2016-11-16 10:16:15 +01:00
jsteube
16c6a48e0b Fix some null-pointer derefence which never occurs but is listed in the clang analyzer output 2016-11-12 15:06:10 +01:00
Jens Steube
2d743706cb Merge pull request #570 from magnumripper/master
Fix file locking (again).
2016-11-05 23:26:59 +01:00
jsteube
2507f62722 Add hash-mode option OPTS_TYPE_PT_ALWAYS_ASCII to control need_hexify() from interface.c 2016-11-05 14:46:00 +01:00
magnum
7d7ca48704 Change need_hexify so it optionally tests for printable UTF-8 as opposed
to printable ASCII.
2016-11-05 13:36:55 +01:00
magnum
a52b96583f Fix file locking (again). 2016-11-05 11:33:29 +01:00
jsteube
fb8fb6b21d Actual use of --outfile-autohex-disable was lost during refactoring. Fixes https://github.com/hashcat/hashcat/issues/567 2016-11-04 22:12:25 +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
e3a245f615 Fix compiler warnings caused by -Wpointer-arith 2016-10-30 20:39:27 +01:00
jsteube
7eef713ff7 Fix compiler warnings caused by -Wshadow 2016-10-30 20:37:02 +01:00
jsteube
c4ba7907ca Fix more EOL issues 2016-10-25 12:40:47 +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
9b2c69a00d Bring error in case someone uses --show 2016-10-18 21:04:40 +02:00
jsteube
edefcdbaaa Rudimentary --left support is back 2016-10-18 21:03:16 +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
191269f4f0 Add --speed-only mode 2016-10-14 21:38:52 +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
690ca0219e Fix formatstring in CPT display and get rid of potfile_format_plain() 2016-10-12 14:38:33 +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
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
0f96c57ead Remove some workarounds to use get rid of unused variable warnings 2016-10-10 09:12:36 +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
27887bf9ce Get rid of more log_info() in hashcat() 2016-10-07 21:47:11 +02:00
jsteube
52068e25d5 Add some additional start-up checks 2016-10-06 17:26:15 +02:00
jsteube
9b8092abf9 Update outfile.c and potfile.c function parameters 2016-10-06 15:40:27 +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
55f1dc321a Replace ssort() with sort_r.h 2016-10-01 10:47:03 +02:00
jsteube
fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube
af1701c765 Fix some memleaks on shutdown 2016-09-30 13:36:27 +02:00
jsteube
d2877b95e4 Automatically disable most features in case -I is used 2016-09-30 13:14:11 +02:00
jsteube
46866dd0b1 Make potfile support modular 2016-09-30 12:37:29 +02:00
jsteube
521db46c11 Move dictstat_init() out of outer loop, also add enabled flag 2016-09-24 13:01:17 +02:00
jsteube
a0f6ed6832 Introduce hashes_t; not finishe yet 2016-09-16 17:01:18 +02:00
jsteube
bd9e092ea3 Do not write potfile if --potfile-disable is in use 2016-09-14 19:46:31 +02:00
jsteube
3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
b7906f6b93 Move outfile specific functions into their own source file 2016-09-10 17:35:58 +02:00
jsteube
a61d1faaad Cleanup and redefine some potfile functions 2016-09-10 15:17:23 +02:00
jsteube
53db51dcc3 Finalize potfile specific functions migration to their own source file 2016-09-10 12:16:16 +02:00
jsteube
f809937b1e Move more potfile specific functions into their own source file 2016-09-10 11:32:26 +02:00
jsteube
63b47eebc9 Prepare move potfile specific functions into their own source file 2016-09-09 23:17:43 +02:00