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

103 Commits

Author SHA1 Message Date
jsteube
cdfabe333f Fixed pointer to local outside scope when using -j or -k 2017-02-14 15:09:01 +01:00
jsteube
dc2ecc9dae Fixed pointer to local outside scope when using -j or -k 2017-02-14 14:27:08 +01:00
jsteube
291c1bcdd2 Dispatcher: Fixed several memory leaks when an OpenCL error occurs 2017-02-14 14:02:18 +01: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
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
c0c7830835 Fix includes for dispatch.c 2016-11-20 16:13:42 +01:00
jsteube
72e39a7ec0 Try to use true and false in case we're handling a bool data-type just as kind of a hint it's a bool 2016-11-18 10:09:03 +01:00
jsteube
fc490263a5 Fix a bug in reject counter in stdin mode and simplify some code 2016-11-16 13:24:41 +01:00
Jens Steube
779662ea23 Fixed a bug when cracking a large salted hashlist: If a word is rejected this produces so high CPU load that cracking process doesn't start 2016-11-09 02:02:11 +01:00
Gabriele Gristina
6bf5ee95a6 Fix resource leak 2016-10-30 16:08:41 +01:00
jsteube
574acfab6a Move masks_pos from rd* to masks_ctx and dicts_pot from rd* to straight_ctx 2016-10-20 22:14:54 +02:00
jsteube
761e3f0d96 Move out words_cur from restore_ctx to status_ctx and let the dispatcher update it 2016-10-20 21:27:42 +02:00
jsteube
2005f5d193 Remove terminal.h where's it's not needed 2016-10-18 00:41:24 +02:00
jsteube
bfbc4279f4 Add some more returncode checks 2016-10-15 19:44:31 +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
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
42677df2a6 Start context-related logging with goal to get rid of logging.c 2016-10-08 23:16:40 +02:00
jsteube
f469694030 Add event_set_kernel_power_final() 2016-10-07 22:25:52 +02:00
jsteube
a5e83c27c3 Update wordlist.c function parameters 2016-10-06 16:16:56 +02:00
jsteube
0579f93402 Update opencl.c and autotune.c function parameters 2016-10-06 15:16:30 +02:00
jsteube
578f6816c6 Fix some uint datatype leftovers 2016-10-04 11:22:08 +02:00
jsteube
fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube
299edf5170 Fix some missing sign conversions 2016-09-30 18:09:29 +02:00
jsteube
a5800b41f4 Rename hash_management.c to hashes.c 2016-09-30 09:25:51 +02:00
jsteube
133c9295f5 Cleaned up data_t, only contexts left 2016-09-29 23:49:33 +02:00
jsteube
12a2d6d2a0 Move more stuff to status_ctx_t 2016-09-29 23:25:29 +02:00
jsteube
831ef1490b Prepare status_ctx_t 2016-09-29 22:27:04 +02:00
jsteube
84f96c4dda Add cpt_ctx_t 2016-09-29 15:19:12 +02:00
jsteube
e12abeb9de Add inner2_loop() 2016-09-29 14:46:51 +02:00
jsteube
f8d538413e Move pw_min and pw_max to hashconfig_t and bring back data.shutdown_* 2016-09-28 13:51:00 +02:00
jsteube
94680cb311 Move hardware_power_all, kernel_power_all and kernel_power_final to opencl_ctx_t 2016-09-28 11:49:08 +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
jsteube
54a4ea3db2 Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs 2016-09-26 01:18:00 +02:00
jsteube
62b97a6fe6 Move loading rules into outer loop 2016-09-24 12:05:56 +02:00
jsteube
095dfdc730 Get rid of quiet variable in data. context 2016-09-22 15:56:32 +02:00
jsteube
f9ec232b9b Get rid of attack_kern variable in data. context 2016-09-22 15:50:49 +02:00
jsteube
f1d93d576a Get rid of attack_mode variable in data. context 2016-09-22 15:41:59 +02:00
jsteube
5b0835258c Get rid of hex_wordlist variable in data. context 2016-09-22 15:14:55 +02:00
jsteube
21d852b194 Get rid of benchmark variable in data. context 2016-09-22 15:07:19 +02:00
jsteube
c18d6a3302 Get rid of skip and limit variables in data. context 2016-09-22 12:33:33 +02:00
jsteube
1c9027cb03 Get rid of rule_buf_l, rule_buf_r, rule_len_l and rule_len_r in data. context 2016-09-22 12:15:13 +02:00
jsteube
3664f02670 Get rid of global get_next_word_func function pointer variable 2016-09-22 11:35:08 +02:00
jsteube
c008b11de3 Make more use of new user_options_t* 2016-09-21 16:07:49 +02:00
jsteube
ced3b3b82f Move global mux_counter variable into opencl_ctx_t 2016-09-20 13:26:19 +02:00
jsteube
3adbf3d0d5 Move global mux_dispatcher variable into opencl_ctx_t 2016-09-20 13:18:47 +02:00
jsteube
9daf139fef Refactor devices_status to have better thread control 2016-09-19 15:52:01 +02:00
jsteube
a0f6ed6832 Introduce hashes_t; not finishe yet 2016-09-16 17:01:18 +02:00
jsteube
7ce2f2ff19 Introduce opencl_ctx_t; not finished yet 2016-09-15 16:02:52 +02:00
jsteube
dcdd0d89cd Move thread_monitor() to monitor.c 2016-09-15 04:29:22 +02:00