1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00
Commit Graph

171 Commits

Author SHA1 Message Date
jsteube
1342cf2ce3 Use $HEX[...] in case the password includes the separater character, increases potfile reading performance 2016-12-09 14:54:13 +01:00
Gabriele Gristina
cadd3d24ea Fix sec_etc overflow 2016-12-04 15:54:34 +01:00
Gabriele Gristina
134922ba7a Fix wrong usage of ctime_r() 2016-12-03 14:59:35 +01:00
Rosen Penev
96591f3118
Replace ctime with _r variant 2016-12-02 21:32:18 -08:00
Rosen Penev
f5f17997b2 Fix cppcheck warnings 2016-11-30 14:45:21 -08:00
jsteube
3c40b88eff Status: Do not show Recovered/Time as floats but as integers to reduce over-information 2016-11-30 11:12:56 +01:00
jsteube
7ca6a45781 Add some hint about performance for new users 2016-11-21 18:30:36 +01:00
jsteube
06c1d4a52e Hardware-Management initialization refactor, to show HM related errors only once on startup 2016-11-21 15:58:44 +01:00
jsteube
9e1574a97b Simplify status_get_hwmon_dev() a bit 2016-11-21 14:22:52 +01: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
c8daffb4b6 Fix some unreachable code 2016-11-20 22:11:33 +01:00
jsteube
e8078f2c73 Add output buffer size to ascii_digest() 2016-11-19 16:10:01 +01:00
jsteube
2f398becfb Do not store result of binary operation in a bool 2016-11-19 15:08:22 +01:00
jsteube
907fb52c7b Replaced all calls to gmtime() with gmtime_r() to ensure thread safety with exception to windows, because there's no _gmtime64_r() for windows 2016-11-16 17:06:39 +01:00
jsteube
3da0232ead Remove some code which was already moved from mpsp.c to interface.c 2016-11-12 15:46:42 +01:00
jsteube
cad9120a48 Fix Input.Queue.Mod in hybrid mode 2016-11-11 22:30:03 +01:00
jsteube
4d9cb462a9 Add back input queue in status view
Implements https://github.com/hashcat/hashcat/issues/577
2016-11-10 22:30:17 +01:00
jsteube
1edc129f8a Added core-clock and memory-clock to output in benchmark mode with --machine-readable enabled 2016-11-10 17:50:29 +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
jsteube
0fb9779c15 Make a final status snapshot 2016-11-02 22:45:39 +01:00
jsteube
d6b7b39515 Fix for invalid error "Restore value greater keyspace" 2016-10-31 23:19:44 +01:00
jsteube
7eef713ff7 Fix compiler warnings caused by -Wshadow 2016-10-30 20:37:02 +01:00
Jens Steube
6133809704 Merge pull request #561 from neheb/master
Fix a bunch of warnings.
2016-10-30 20:01:45 +01:00
Rosen Penev
a219b95c17
Fix a bunch of warnings 2016-10-30 10:58:14 -07:00
Gabriele Gristina
f500727bd8 Fix string format 2016-10-30 16:11:20 +01:00
jsteube
7147d659f9 Fix input-base and input-mod ordering for status screen 2016-10-29 23:18:15 +02:00
jsteube
9e156321ef Bring back mask length of mask as number to status screen 2016-10-29 22:44:01 +02:00
jsteube
87aed3482f Fix missing zero-byte termination in build_plain() 2016-10-29 22:19:00 +02:00
jsteube
f3fc5d96c4 Limit status_ctx access with a flag, easier to test 2016-10-29 15:12:45 +02:00
jsteube
5accadb511 Fix invalid Time.Estimated value in status screen 2016-10-27 01:12:06 +02:00
jsteube
97b58b16af Fix some EOL handling 2016-10-25 12:25:53 +02:00
jsteube
e1010ffba1 Prepare library user access to OpenCL device information without running an attack 2016-10-23 17:31:22 +02:00
jsteube
bfdd0edbad Move event_log_info() out of thread.c 2016-10-23 13:38:41 +02:00
jsteube
6b96146e0f Fix integer overflow in status.c 2016-10-21 00:28:14 +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
0a26b09684 Fix buffer overflow in status_get_hash_target() 2016-10-19 13:51:06 +02:00
jsteube
c3266e363a Make status_display_machine_readable() use of hashcat_status_t 2016-10-18 00:13:40 +02:00
jsteube
65b3910dc0 Converted status_benchmark_automate() 2016-10-17 17:20:19 +02:00
jsteube
1d0810a759 Added status_get_hwmon_dev() to status.c 2016-10-17 17:02:56 +02:00
jsteube
2b28010aae Added status_get_input_candidates_dev() to status.c 2016-10-17 16:46:16 +02:00
jsteube
8d81d3bd55 Added progress_mode to status.c 2016-10-17 16:22:32 +02:00
jsteube
86c1c7ef10 Added CPT functions for later use in status.c 2016-10-17 15:19:25 +02:00
jsteube
df521d664b Move restore_* variables into separate functions for later use in status.c 2016-10-17 14:25:16 +02:00
jsteube
615d977b7c Add new functions to hashcat_get_status() 2016-10-17 13:55:55 +02:00
jsteube
b044271b01 Move more status display calculate logic into separate functions 2016-10-17 13:44:07 +02:00
jsteube
2545ec6bf9 Prepare hashcat_get_status() 2016-10-16 19:32:43 +02:00
jsteube
191269f4f0 Add --speed-only mode 2016-10-14 21:38:52 +02:00
jsteube
056083fdba Revert "Prepare for hashcat_ctx_run_session()"
This reverts commit 0179097a53.
2016-10-14 19:25:13 +02:00
jsteube
0179097a53 Prepare for hashcat_ctx_run_session() 2016-10-14 13:27:35 +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
ee1661b9db Revert "Fix formatstring in CPT display"
This reverts commit 8d3e9fc70c.
2016-10-12 14:36:47 +02:00
jsteube
8d3e9fc70c Fix formatstring in CPT display 2016-10-12 14:19:06 +02:00
jsteube
556c07d8ee Revert "Use printf() instead of event_log_*() in terminal.c and status.c"
This reverts commit 690b465ddc.
2016-10-12 14:17:30 +02:00
jsteube
358ad9bdbe Revert "Fix some newlines in status.c"
This reverts commit 29c2931b67.
2016-10-12 14:17:15 +02:00
jsteube
29c2931b67 Fix some newlines in status.c 2016-10-12 13:35:50 +02:00
jsteube
690b465ddc Use printf() instead of event_log_*() in terminal.c and status.c 2016-10-12 13:30:59 +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
39d333d551 Add user_options_extra_amplifier() 2016-10-06 21:37:03 +02:00
jsteube
034c0699bb Added status_words_base_calculate() 2016-10-06 21:28:40 +02:00
jsteube
14334e4129 Update restore.c function parameters 2016-10-06 16:34:30 +02:00
jsteube
f084aaf61b Update hwmon.c function parameters 2016-10-06 11:10:00 +02:00
jsteube
3fb10fe9b4 Update status.c function parameters 2016-10-06 09:47:34 +02:00
jsteube
b751a9d438 Do not show a candidate on status screen if device is copying or generating candidates 2016-10-05 16:02:19 +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
5b2b00ed7d Reset status to INIT after innerloop iteration 2016-10-04 23:21:10 +02:00
jsteube
9811e65a72 Rename Guess.Pass -> Candidates 2016-10-04 19:49:51 +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
jsteube
0b2c568ba6 Simplify status_display_* and status_benchmark_* function parameters 2016-10-04 16:35:24 +02:00
jsteube
578f6816c6 Fix some uint datatype leftovers 2016-10-04 11:22:08 +02:00
jsteube
9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation 2016-10-02 00:00:21 +02:00
jsteube
fdf63705c5 Add some casts for format_speed_display() 2016-10-01 14:03:19 +02:00
jsteube
743dba56db Replaced timer macros with inlines 2016-10-01 12:55:39 +02:00
jsteube
a5f842c4b5 Fix some missing sign conversions 2016-09-30 17:41:40 +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
7191780296 Make use of hwmon_ctx_t 2016-09-28 22:28:44 +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
171bfbbb8b Get rid of shutdown_inner and shutdown_outer 2016-09-28 13:15:23 +02:00
jsteube
c71f1bfb0c Introduct combinator_ctx_t 2016-09-27 18:32:09 +02:00
jsteube
375bc56681 Fix Input.Mode in status in maskfile mode 2016-09-27 13:30:29 +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
fd72834322 data. no longer required in restore 2016-09-25 01:02:44 +02:00
jsteube
59ebe10b07 Move functions from filenames.c to opencl.c and shared.c 2016-09-24 21:44:43 +02:00
jsteube
62b97a6fe6 Move loading rules into outer loop 2016-09-24 12:05:56 +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
93d3b3a809 Get rid of rp_* variables in data. context 2016-09-22 12:45:48 +02:00
jsteube
c18d6a3302 Get rid of skip and limit variables in data. context 2016-09-22 12:33:33 +02:00
jsteube
fe88c763af Get rid of custom_charset_* variables in data. context 2016-09-22 12:23:26 +02:00