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
a673aee037
Very hot commit, continue reading here:
...
This is a test commit using buffers large enough to handle both passwords and salts up to length 256.
It requires changes to the kernel code, which is not included in here.
It also requires some of the host code to be modified. Before we're going to modify kernel code to support the larger lengths I want to be
sure of:
1. Host code modification is ok (no overflows or underflows)
2. Passwords and Salts are printed correctly to status, outfile, show, left, etc.
3. Performance does not change (or only very minimal)
This is not a patch that supports actual cracking both passwords and salts up to length 256, but it can not fail anyway.
If if it does, there's no reason to continue to add support for both passwords and salts up to length 256.
2017-06-17 17:57:30 +02:00
Jens Steube
08fc0ec1fb
Added self-test funcionality for OpenCL kernels on startup
...
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
2017-06-13 19:07:08 +02:00
jsteube
0cce17d268
Eventual fix for #1263
2017-05-30 12:15:55 +02:00
Christopher Schmitt
efd18121d5
Review/Style Changes
2017-05-19 08:09:14 -04:00
Christopher Schmitt
d24a6198e8
first pass at free'ing hashcat_status_t
2017-05-18 10:14:25 -04:00
sgroat
21efc80975
fix string
2017-04-10 13:35:01 -07:00
jsteube
0f1d68c358
Update fixed length for compress_terminal_line_length for hash target
2017-03-28 16:43:08 +02:00
jsteube
99fbaa8bcc
Dictionary Cache: Split long status line into multiple lines to stay < 80 chars
2017-03-25 16:11:01 +01:00
jsteube
e933d12838
Rename Input.Mode, Input.Base, ... to Guess.Mode, Guess.Base, ...
2017-03-24 23:39:09 +01:00
jsteube
6d66ff96c1
Truncate longer hash format in status output
2017-03-24 10:45:40 +01:00
jsteube
826de76bd6
Fix invalid strdup of NULL in stdin mode
2017-03-23 16:41:12 +01:00
Jens Steube
c7ed2ade17
Fixed a race condition when a session finishes the input-base was freed but accessed afterwards
...
Fixes https://github.com/hashcat/hashcat/issues/1192
2017-03-19 20:41:50 +01:00
philsmd
269b1ee6a5
renamed ST_9998 -> ST_0011
2017-03-08 08:46:42 +01:00
philsmd
9b0821bb20
fixes #1162 : visual indication if checkpoint quit is enabled
2017-03-07 23:06:50 +01:00
Timo Juhani Lindfors
289744e7a3
Fix spelling of MHz
2017-02-22 19:34:33 +02:00
jsteube
0642639b81
CID 1402417 ( #1 of 1): Division or modulo by float zero
2017-02-14 21:21:24 +01:00
jsteube
717da7f4f2
Added support for loading hccapx files
2017-02-06 17:03:42 +01:00
jsteube
c7999c66bc
Returncode: Added dedicated returncode (see docs/status_codes.txt) for shutdowns caused by --runtime and checkpoint keypress
2017-01-06 08:45:40 +01:00
jsteube
d36cc4c5cb
Give some extra space for plain_buf1 in case $HEX[...] is added
2016-12-31 15:17:01 +01:00
Jens Steube
feb6d4f740
Fixed buffer overflow in status screen display in case of long non-utf8 string
2016-12-31 15:10:53 +01:00
jsteube
9f64f9e705
Removed *throttled* message from NVML as this created more confusion than it helped
2016-12-29 19:07:05 +01:00
jsteube
ec5610271a
New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit
2016-12-09 23:44:43 +01:00
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