1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-02 04:48:23 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
jsteube
d6ed195db9 Add -a 1 support for slow candidates mode 2018-09-01 23:12:56 +02:00
jsteube
52c52836e3 Add new option --slow-candidates which allows hashcat to generate passwords on-host 2018-09-01 12:31:17 +02:00
Jens Steube
9b1e66d87c Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads 2018-02-09 09:50:13 +01:00
Rosen Penev
8458f07a57 Replace char[] with *char
The latter is more correct. The side effect is that filesize becomes smaller.

gcc    clang

before

O2
756112 762120

Os
674192 680216

after

O2
748456 760728

Os
666536 674728
2017-11-13 12:12:44 -08:00
jsteube
12d95fd22c Added option --example-hashes to show an example hash for each hash-mode 2017-08-22 11:09:46 +02:00
jsteube
beb6ee2061 Add OPTI_TYPE_OPTIMIZED_KERNEL
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
2017-07-18 14:45:15 +02:00
jsteube
fbea72ebd6 Renamed default kernels to optimized kernels
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
2017-07-18 13:23:42 +02:00
jsteube
f97c0d38d7 Allow using -L with -a 7 (other modes need no modification) for fast hashes 2017-06-30 16:51:57 +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
Royce Williams
067372f5ce more event_log_* standardization 2017-04-01 23:50:06 -08:00
jsteube
922fea7616 Add more integer overflow checks 2017-02-22 16:33:23 +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
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
3442892fda Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings 2016-10-31 09:19:37 +01: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
ebc8eb7454 switch combinator.c to event_log_* 2016-10-08 23:45:35 +02:00
jsteube
a5e83c27c3 Update wordlist.c function parameters 2016-10-06 16:16:56 +02:00
jsteube
d9c1c89a57 Update combinator.c function parameters 2016-10-06 10:10:04 +02:00
jsteube
15d2f9b11e Add some reserved scratch buffer for innerloop combinator instead of reallocating each time 2016-10-05 15:41:56 +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
8034fb31b8 Make bitmaps, cracks-per-time and debugfile support modular 2016-09-30 11:48:14 +02:00
jsteube
f1cf902c35 Add missing combinator files 2016-09-27 20:07:49 +02:00