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

141 Commits

Author SHA1 Message Date
jsteube
f8a6d156eb Add some more returncode checks 2016-10-15 21:34:38 +02:00
jsteube
d2bcb19740 Fix some rc check 2016-10-15 19:58:39 +02:00
jsteube
7383bb14f5 Add some more returncode checks 2016-10-15 19:30:57 +02:00
jsteube
694de36694 Print warnings in yellow and errors in red 2016-10-15 16:12:20 +02:00
jsteube
91979bff69 Mark OpenCL devices as listing 2016-10-15 14:34:07 +02:00
jsteube
017555e257 Fix some log levels 2016-10-15 14:28:46 +02:00
jsteube
191269f4f0 Add --speed-only mode 2016-10-14 21:38:52 +02:00
jsteube
ef80e3f074 Some newline fixes 2016-10-14 20:18:45 +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
ebc26ecac5 Fix some log levels in opencl.c 2016-10-12 11:45:24 +02:00
jsteube
20832d29d6 Do not reset innerloop_left and outerloop_left too early so we can access it from status display 2016-10-11 15:02:54 +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
42677df2a6 Start context-related logging with goal to get rid of logging.c 2016-10-08 23:16:40 +02:00
jsteube
14248d38e3 Update tuning_db.c function parameters 2016-10-06 16:51:01 +02:00
jsteube
a5e83c27c3 Update wordlist.c function parameters 2016-10-06 16:16:56 +02:00
jsteube
a97e31881c Update interface.c function parameters 2016-10-06 15:49:07 +02:00
jsteube
0579f93402 Update opencl.c and autotune.c function parameters 2016-10-06 15:16:30 +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
c1aba9e314 Reset innerloop_* and outerloop_* variables when no longer needed 2016-10-05 15:00:20 +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
coolbry95
a78fd4e915 changed uint to u32 2016-10-04 00:35:49 -04:00
jsteube
d80653b014 Fix some clSetKernelArg() size error that caused slow modes to not work anymore in -a 1 mode 2016-10-03 20:07:26 +02:00
jsteube
9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation 2016-10-02 00:00:21 +02:00
jsteube
743dba56db Replaced timer macros with inlines 2016-10-01 12:55:39 +02:00
jsteube
fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube
ae0300dabb Rename kernel read and write function and make them static 2016-09-30 18:43:12 +02:00
jsteube
af1701c765 Fix some memleaks on shutdown 2016-09-30 13:36:27 +02:00
jsteube
6bc0d94f56 Make opencl support modular 2016-09-30 12:21:09 +02:00
jsteube
a5800b41f4 Rename hash_management.c to hashes.c 2016-09-30 09:25:51 +02:00
jsteube
ed571a3ec8 Remove unneeded includes 2016-09-30 00:38:29 +02:00
jsteube
c53de67cd4 Remove some unneeded mutex 2016-09-30 00:04:12 +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
1cf4b2a093 Fix a bug on CPU-only systems 2016-09-29 08:54:07 +02:00
jsteube
7191780296 Make use of hwmon_ctx_t 2016-09-28 22:28:44 +02:00
coolbry95
ac1792f943 change id numbers to add one to be consistent with the rest of hashcat output 2016-09-28 14:11:18 -04: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
c3338f0a9a Fix -m 8900 bug 2016-09-28 12:58:56 +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
48917b5843 Move tmp size and hook size to hashconfig_init() 2016-09-28 11:11:14 +02:00
jsteube
ce02b3c54f Add hashconfig_enforce_kernel_loops () 2016-09-28 10:47:39 +02:00
jsteube
47f027d249 Created hashconfig_kernel_thread_force() 2016-09-28 10:41:06 +02:00
jsteube
c71f1bfb0c Introduct combinator_ctx_t 2016-09-27 18:32:09 +02:00
jsteube
8dea3d2eb9 Fix optimizers values in kernel_params_mp_* 2016-09-27 13:44:04 +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
edd50de047 Add opencl_session_update_mp() and opencl_session_update_mp_rl() 2016-09-27 11:43:05 +02:00
jsteube
eeccb01998 Add opencl_ctx_devices_reset() 2016-09-27 10:59:02 +02:00
jsteube
69ad06ec12 Fix some casts 2016-09-26 23:42:37 +02:00
jsteube
75682a5008 Get rid of local_free() and global_free(), no longer required 2016-09-26 23:22: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
59ebe10b07 Move functions from filenames.c to opencl.c and shared.c 2016-09-24 21:44:43 +02:00
jsteube
3279607a4e Some better newline handling 2016-09-24 14:00:59 +02:00
jsteube
6fef4a53fb Add goodbye_screen() 2016-09-24 12:29:07 +02:00
jsteube
62b97a6fe6 Move loading rules into outer loop 2016-09-24 12:05:56 +02:00
jsteube
8c6907a3d7 Move force_jit_compilation initialization to opencl_session_begin() as it depends on hash_mode 2016-09-23 22:56:27 +02:00
jsteube
ca48c49575 Move OpenCL device initialization to outer loop 2016-09-23 22:23:13 +02:00
jsteube
1e2869e8bd Fix benchmark unwanted exit with long running kernels 2016-09-22 19:55:35 +02:00
jsteube
b6f966970b Move all bitmap related host code into bitmap.c 2016-09-22 16:23:36 +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
3da185a3c8 Get rid of wordlist_mode variable in data. context 2016-09-22 15:20:24 +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
e4b4855fbd Get rid of status* variables in data. context 2016-09-22 14:52:51 +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
458d6b37f9 Fix benchmark crashing 2016-09-21 23:56:56 +02:00
jsteube
1cc4358820 Introduce folder_config_t 2016-09-21 23:06:11 +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
Gabriele Gristina
fdbc44ce6c Add option for show opencl info and exit 2016-09-18 15:51:47 +02:00
jsteube
caeedd5646 Move more code from hashcat.c to opencl.c related to opencl device initialization and shutdown 2016-09-17 17:05: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
bc75ba70a1 Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources 2016-09-14 16:07:24 +02:00
jsteube
376e12efe6 Move debugfile related stuff to debugfile.c 2016-09-13 10:38:59 +02:00
jsteube
bd5bc294e6 Move loopback related stuff to loopback.c 2016-09-12 14:58:25 +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
63b47eebc9 Prepare move potfile specific functions into their own source file 2016-09-09 23:17:43 +02:00
jsteube
26172af89d Introduce hashconfig_t 2016-09-09 16:54:48 +02:00
jsteube
18534fcdeb Move stdout specific functions into their own source file 2016-09-08 16:01:24 +02:00
jsteube
e3d0cd0bdd Move more functions out of shared.c 2016-09-08 10:01:49 +02:00
jsteube
80d7dce9b5 Move more functions out of shared.c 2016-09-07 16:04:42 +02:00
jsteube
8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions 2016-09-07 15:13:50 +02:00