jsteube
9c0ba3a640
Fix speed report in case --machine-readable is used
2018-08-02 20:47:17 +02:00
jsteube
c1ebfe486f
Refactor --progress-only and --speed-only calculation
2018-07-31 14:41:25 +02:00
jsteube
88ebca40b8
Added hash-mode 16800 = WPA-PMKID-PBKDF2
...
Added hash-mode 16801 = WPA-PMKID-PMK
Renamed lot's of existing WPA related variables to WPA-EAPOL in order to distinguish them with WPA-PMKID variables
Renamed WPA/WPA2 to WPA-EAPOL-PBKDF2
Renamed WPA/WPA2 PMK to WPA-EAPOL-PMK
2018-07-25 16:46:06 +02:00
jsteube
82457d2904
Fixed a missing check for errors on OpenCL device leading to invalid removal of restore file
2018-07-10 13:17:07 +02:00
jsteube
3bf3ec5bbe
Fine tune --progress-only mode output for extreme slow kernels
2018-07-05 14:44:34 +02:00
jsteube
dd2511233d
Fixed a miscalculation in --progress-only mode output for extreme slow kernels like -m 14800
2018-07-05 14:14:39 +02:00
jsteube
c4f30220a0
OpenCL Kernels: Refactored kernel thread management from native to maximum per kernel
2018-02-11 21:29:57 +01:00
jsteube
ce8f445ebe
Fix a few warnings and divide by zero (speed_pos)
2018-02-11 14:25:55 +01:00
Jens Steube
d656e9c3a4
OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
2018-02-11 10:56:08 +01:00
jsteube
05a01d3843
fix some datatypes
2018-02-08 19:13:29 +01:00
jsteube
11b18512c7
Terminal: Add workitem settings to status display (can be handy for debugging)
2018-02-02 23:22:21 +01:00
jsteube
6361ea823c
Use hcmalloc() instead of malloc() whenever possible
2018-01-31 16:36:04 +01:00
Rosen Penev
aece2cc4be
Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
...
Missed from last pull request.
2017-12-11 13:44:58 -08:00
Rosen Penev
1c5915cae3
remove special time handling in hashcat.
...
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
2017-12-09 16:40:45 -08:00
Rosen Penev
dee6934f32
Fix cast qual with double pointers
2017-11-24 11:08:49 -08:00
Rosen Penev
353d3c3008
Fix a bunch of cast-qual warnings
2017-11-13 20:46:26 -08: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
Rosen Penev
6b0ee145c4
Fix missing stuff
2017-11-10 20:54:48 -08:00
Rosen Penev
0555613305
Remove else statement after return
...
Suggested by clang tidy
2017-11-04 23:43:33 -07:00
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
2017-10-02 22:10:10 -07:00
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
2017-09-18 13:21:00 +02:00
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
2017-08-16 19:43:41 +02:00
philsmd
1644ac30b5
use an overflow check instead of a hard coded value for ETA
2017-08-16 17:51:35 +02:00
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
2017-07-20 12:46:18 +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
fc100a852b
Added hash-mode 2501 = WPA/WPA2 PMK
...
Fixes https://github.com/hashcat/hashcat/issues/1287
Limited hash-mode 2500 to max length 63
Fixes https://github.com/hashcat/hashcat/issues/1286
2017-07-03 16:11:57 +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
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