1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 16:38:35 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
jsteube
9d92100a57 Move no-rules check to interface.c so that interface.c is the only source where pw_min and pw_max are set 2017-07-17 15:27:03 +02:00
jsteube
54b7505473 Add host modifications for -a 0 in combination with -L and modify an example kernel 2017-07-12 13:00:04 +02:00
jsteube
f7a8e7c54b Multiple changes:
* Added more preparations to support to crack passwords and salts up to length 256
* Added option --length-limit-disable to disable optimization based on password- and salt-length
* Added option --self-test-disable to disable self-test functionality on startup
2017-06-29 12:19:05 +02:00
jsteube
922fea7616 Add more integer overflow checks 2017-02-22 16:33:23 +01:00
jsteube
a9b0f1a559 Wordlists: Fixed memory leak in case access a file in a wordlist folder fails 2017-02-14 15:47:41 +01:00
Rosen Penev
a3d04a40b0 Fix more cppcheck warnings 2017-02-10 16:10:21 -08:00
Rosen Penev
2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
The BSDs just print m instead of the actual error message. Benefit
is not worth the cost.
2017-02-03 17:53:50 -08:00
jsteube
17548d3ee8 Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat() 2017-01-27 11:46:45 +01:00
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m 2016-12-02 21:26:10 -08: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
jsteube
f234f729f5 Fix the rejection of words in a wordlist if it's exactly of length 32
This fixes https://github.com/hashcat/hashcat/issues/502
2016-10-31 16:11:52 +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
d7c019b583 Rename some variable naming in straight.c 2016-10-29 23:12:18 +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
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
bea228dabe Add straight_ctx_update_loop() 2016-10-06 22:18:20 +02:00
jsteube
29942f5fb3 Update rp.c function parameters 2016-10-06 21:03:10 +02:00
jsteube
077a94600d Update straight.c function parameters 2016-10-06 10:21:39 +02:00
jsteube
fb5d840cf8 Move wordlist folder scan to straight.c and combinator.c init functions 2016-10-03 16:27:34 +02:00
jsteube
9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation 2016-10-02 00:00:21 +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
bb31d0a917 Make straight support modular 2016-09-30 12:45:10 +02:00
jsteube
e12abeb9de Add inner2_loop() 2016-09-29 14:46:51 +02:00
jsteube
c71f1bfb0c Introduct combinator_ctx_t 2016-09-27 18:32:09 +02:00
jsteube
67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t 2016-09-27 13:13:07 +02:00