jsteube
bbe9b723e1
Timer: Switch from gettimeofday() to clock_gettime() to workaround problems on cygwin
2017-12-10 14:02:43 +01: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
jsteube
ea795ef5ab
Move out code to check for hashfile or hash on commandline into dedicated function
2017-12-06 16:12:34 +01:00
Jens Steube
f2ce04e912
Allow relative use of -I in build_opts
2017-12-05 14:14:36 +01:00
jsteube
1184ae1cdd
Added option --benchmark-all to benchmark all hash-modes not just the default selection
2017-12-05 11:08:59 +01:00
jsteube
f817652bbb
Terminal: Send clear line code to the same output stream as the next message following
2017-12-04 14:51:42 +01:00
jsteube
4414b520c8
remove unused variables
2017-12-04 11:20:48 +01:00
jsteube
829ea605c5
Self Test: Skip self-test for mode 8900 user-configurable scrypt settings are incompatible to fixed settings in the self-test hash
...
Self Test: Skip self-test for mode 15700 because settings are too high and create a too long startup time
2017-12-04 11:14:39 +01:00
jsteube
f573c1d96d
Add optimized -m 16100 kernels
2017-12-03 14:35:39 +01:00
jsteube
8ec2af97ed
Eventual fix for unicode folder name issue on windows
2017-12-02 15:24:10 +01:00
jsteube
b864fa5ba7
Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
...
Removed option --powertune-enable to enable power tuning, please use driver specific tools
2017-12-01 15:19:10 +01:00
jsteube
9c7b56165c
Reset PID controller history data for GPU fan speed in case user resumes from a paused session
2017-12-01 11:25:37 +01:00
jsteube
0fbaff8b90
Revert: Have -m 16100 always running in keep-guessing mode
2017-11-30 12:36:43 +01:00
jsteube
cda0d7dd35
Have -m 16100 always running in keep-guessing mode
2017-11-30 12:35:22 +01:00
jsteube
5847067c96
First working -m 16100 kernel
2017-11-29 17:00:14 +01:00
jsteube
7a54490da2
More -m 16100 preparations
2017-11-29 14:55:48 +01:00
philsmd
c9b16d76e6
self-tests: always work with copies of the self-test hash
2017-11-28 16:31:04 +01:00
jsteube
42d1db4294
Fixed a restore issue leading to "Restore value is greater than keyspace" in case mask-files or wordlist-folders were used
2017-11-28 09:25:10 +01:00
jsteube
04a30e6071
Show [r]esume in prompt in pause mode only and show [p]ause in prompt in resume mode only
...
Fixes https://github.com/hashcat/hashcat/issues/1459
2017-11-26 10:50:22 +01:00
Rosen Penev
dee6934f32
Fix cast qual with double pointers
2017-11-24 11:08:49 -08:00
jsteube
e93fa25454
Allow the use of hashcat_init() without a callback function
2017-11-21 11:30:39 +01:00
philsmd
9d58ddd9f6
fixed strtok_r () calls, could prevent memory crashes
2017-11-18 14:23:02 +01:00
philsmd
d382400805
fixes #1450 : allow longer crc32 data length field for -m 11600
2017-11-18 12:59:21 +01:00
philsmd
ef6b20cc30
increase HCBUFSIZ_LARGE and truncate too large strings when copied to old_buf in events
2017-11-18 12:18:56 +01:00
philsmd
f86854a0c8
fixes #1447 : prevent hexifying the [] passwords again in --show runs
2017-11-17 10:13:04 +01:00
philsmd
425290bf2b
use hc_asprintf () for PR #1451 instead of snprintf ()
2017-11-17 09:50:52 +01:00
philsmd
612a50408c
in case of a parser error we always should include the actual error message even if hash is long
2017-11-16 12:37:31 +01:00
Jens Steube
6c34a8074d
Merge pull request #1448 from neheb/master
...
Fix a bunch of cast-qual warnings
2017-11-15 10:19:12 +01:00
Jens Steube
6047f591ff
Merge pull request #1444 from neheb/master
...
Replace char[] with *char
2017-11-14 07:48:46 +01:00
Rosen Penev
353d3c3008
Fix a bunch of cast-qual warnings
2017-11-13 20:46:26 -08:00
Jens Steube
78a78c233c
Merge pull request #1445 from neheb/strtol
...
Finish conversion to strtol family
2017-11-14 05:34:30 +01:00
Rosen Penev
b3adf1dc30
Finish conversion to strtol family
2017-11-13 12:53:05 -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
Chick3nman
69bdac9cfe
Fixed spelling mistake
...
drastical -> drastically
2017-11-13 11:57:25 -06:00
Jens Steube
ea5425b344
Merge pull request #1439 from neheb/master
...
Change atoi family to strtol family
2017-11-13 09:10:57 +01:00
jsteube
1b312d14fd
Added hash-mode 16000 = Tripcode
2017-11-11 14:44:56 +01:00
Rosen Penev
6b0ee145c4
Fix missing stuff
2017-11-10 20:54:48 -08:00
philsmd
227a5aa092
fix #1435 : --show/--left hash parsing fixed for hashes with long salts
2017-11-09 11:36:01 +01:00
jsteube
a5c79de43b
Update LZMA SDK files to latest (2017-08-28, 17.01 beta)
2017-11-07 12:27:27 +01:00
jsteube
4b5110281d
Unset production flag during development phase
2017-11-07 10:28:16 +01:00
jsteube
f2ea05ca69
Final v4.0.1 commit
2017-11-07 10:15:03 +01:00
Royce Williams
59701ee7ed
change wording when user tries -O, but not needed
2017-11-06 06:33:55 -09:00
philsmd
d93b591dc5
cosmetic: updated comment about VERSION_EXPORT
2017-11-06 13:00:05 +01:00
philsmd
7825846e00
for 1414: add dependency on the shared root folder, fix parallel builds
2017-11-06 12:46:56 +01:00
jsteube
f8c687f529
Fixed compile of kernels on AMD systems on windows due to invalid detection of ROCm
2017-11-06 10:22:23 +01:00
Rosen Penev
1109017a53
Change atoi family to strtol family
...
Suggested by clang tidy
2017-11-05 12:33:41 -08:00
Rosen Penev
3ba84f17f1
More clang tidy fixes
2017-11-05 01:52:29 -07:00
Rosen Penev
0555613305
Remove else statement after return
...
Suggested by clang tidy
2017-11-04 23:43:33 -07:00
Rosen Penev
496fc309fe
Add const to a few parameters.
...
Suggested by clang-tidy
2017-11-04 23:37:41 -07:00
Rosen Penev
2a56a229fa
logfile: Use struct directly instead of casting.
...
Gets rid of a clang warning
2017-11-04 23:33:06 -07:00
Rosen Penev
4165f94e51
Change memcpy to memmove since it overlaps
2017-11-04 23:22:59 -07:00
Rosen Penev
51a5e1cc51
Fix a few memory leaks
2017-11-04 23:20:36 -07:00
Jens Steube
e6978c23c0
Merge pull request #1408 from neheb/patch-2
...
Switch debug to -Og
2017-10-28 13:38:48 +02:00
philsmd
c06c5ddd48
fixes #1412 : sed for VERSION_EXPORT fixed compilation problem
2017-10-28 13:28:07 +02:00
jsteube
baa2f7e44a
Remove unsused variable user_options_extra in autotune.c
2017-10-28 12:19:21 +02:00
jsteube
0ac3dcbf76
Unset production flag during development phase
2017-10-28 12:17:58 +02:00
jsteube
28b76bd387
Do not use run_kernel_memset() for password candidate initialization in autotune
2017-10-27 11:48:24 +02:00
jsteube
c6390deeb1
Remove temporary warmup for benchmark
2017-10-27 11:39:07 +02:00
jsteube
5875867efb
Merge branch 'master' of https://github.com/hashcat/hashcat
2017-10-27 11:37:22 +02:00
jsteube
bbc53b7fe4
Fix initialization of example password candidates for slow hashes in autotune
2017-10-27 11:36:57 +02:00
Rosen Penev
8d4b08b3ab
Switch debug to -Og
...
Og provides a more realistic debugging experience compared to -g (which uses the highly inefficient O0)
2017-10-27 00:08:56 -07:00
Jens Steube
f3984b7413
Start with the original device name
2017-10-27 01:28:55 +02:00
Jens Steube
afdc3fac74
Fix a shadowed variable
2017-10-27 01:20:32 +02:00
jsteube
966cff80bc
Allow device name substrings in hashcat.hctune
2017-10-27 01:01:07 +02:00
jsteube
c6d7fc845d
Restore VERSION_TAG in Makefile
2017-10-26 13:31:21 +02:00
jsteube
55c8c287a5
Add missing selftest functionality for OPTS_TYPE_INIT2/OPTS_TYPE_LOOP2 based kernels
2017-10-25 13:25:18 +02:00
philsmd
1030f5b44e
fixes #1403 : fixed extraction of the version number for archives without .git dir
2017-10-24 13:34:01 +02:00
Jens Steube
77f3eb2864
OpenCL Kernels: Thread-count is set to hardware native count except if -w 4 is used then OpenCL maximum is used
2017-10-22 14:16:32 +02:00
jsteube
d0f5c9f2b3
Rename MacOS to macOS
2017-10-20 13:36:47 +02:00
Jens Steube
9568837b12
Revert "Replace PRIu64 with ju. Less verbose."
2017-10-20 12:19:33 +02:00
jsteube
980f04a7b6
Rename instances of OSX to MacOS
2017-10-20 11:58:31 +02:00
jsteube
bf112870a3
OpenCL Runtime: Improved detection for AMD and NV devices on OSX
2017-10-20 11:34:36 +02:00
jsteube
2e85972ec5
Add special detection for NVIDIA OpenCL devices on OSX
2017-10-20 08:39:23 +02:00
Rosen Penev
869b5fb522
Replace PRIu64 with ju. Less verbose.
2017-10-19 19:35:18 -07:00
jsteube
b99eb92b56
Re-enable amdgpu-pro, do some warm-up in benchmark mode
2017-10-19 20:56:14 +02:00
jsteube
cf1ed8d75c
Update ROCm requirement
2017-10-19 16:23:44 +02:00
jsteube
635b2bfd50
Do initial OpenCL device thread management a bit different
2017-10-19 14:54:03 +02:00
jsteube
f84abdef1c
Merge branch 'master' of https://github.com/hashcat/hashcat
2017-10-18 17:02:39 +02:00
jsteube
0d192df517
Run integreted GPU at 8 threads max
2017-10-18 17:02:12 +02:00
philsmd
2c963054f3
show/left: fix new variable redeclaration bug
2017-10-18 15:42:43 +02:00
jsteube
048b14f6c6
Fix missed set of attribute skipped_temp
2017-10-18 12:57:48 +02:00
jsteube
d7da964a7c
Fix missed set of attribute skipped_temp
2017-10-18 12:57:15 +02:00
jsteube
84312bfae6
Fix missed set of attribute skipped_temp
2017-10-18 12:54:22 +02:00
philsmd
276879b1ea
show/left: improve speed of --show/--left again by using a single malloc/free for all nodes and reduce RAM by using the first nodes hash information
2017-10-18 12:09:32 +02:00
philsmd
433513a47f
get rid of last_node in pot_tree_entry, we update the first node of the list instead of the last one
2017-10-18 08:54:21 +02:00
jsteube
e16e878e59
Update potential trap 6 (apple only) algorithms, user can override with --force
2017-10-17 19:10:29 +02:00
jsteube
6c16b7f3ee
Version tag rc6
2017-10-17 12:30:39 +02:00
philsmd
6542331101
show/left: improved the performance by using a tree and linked node structure
2017-10-17 12:08:17 +02:00
jsteube
73bba00286
Autotune: Do a pre-autotune test run to find out if kernel runtime isabove some TDR limit
...
HCtune File: Remove apple related GPU entries to workaround Trap 6 error
2017-10-17 09:07:59 +02:00
jsteube
5265803493
Add some sanity check for benchmark mode
2017-10-14 16:58:18 +02:00
jsteube
dae6bc8657
Version tag rc5
2017-10-14 12:55:52 +02:00
jsteube
51aba5517f
Update some of the visual indicator of active options when benchmarking
2017-10-14 12:54:34 +02:00
jsteube
d64f6e0912
Version tag rc4
2017-10-10 14:43:11 +02:00
jsteube
bfd3c57308
Fixed a calculation error in get_power() leading to errors of type "BUG pw_add()!!"
2017-10-10 14:41:33 +02:00
jsteube
f55350584f
Version tag rc3
2017-10-10 11:37:08 +02:00
jsteube
5e6d43107e
Startup: Check and abort session if outfile and wordlist point to the same file
2017-10-10 11:30:20 +02:00
jsteube
583849cd23
Fix missing free() for memory allocated with asprintf()
2017-10-04 13:04:58 +02:00
jsteube
6c251d48a4
Fixed format type in debugging log
2017-10-04 12:59:57 +02:00
Jens Steube
48684d9fcf
Merge pull request #1383 from philsmd/master
...
fixed the nanosecond access time problem, also working on macos now
2017-10-04 12:55:52 +02:00
Jens Steube
3040e6b669
Merge pull request #1382 from neheb/master
...
replace more snprintf calls with hc_asprintf.
2017-10-04 12:33:35 +02:00
Jens Steube
a445f48a39
Merge pull request #1379 from neheb/patch-1
...
Adjust hcmalloc to be the same as calloc
2017-10-04 12:28:00 +02:00
philsmd
a10a8427cb
fixed the nanosecond access time problem, also working on macos now
2017-10-04 12:23:37 +02:00
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
2017-10-02 22:10:10 -07:00
neheb
baeb51ad38
Adjust hcmalloc to be the same as calloc
...
calloc is almost equivalent to malloc + memset(0) except that it's faster with big allocations because of OS trickery. It also protects against integer overflow and throws a null pointer on overflow whereas malloc does not.
2017-10-02 12:20:16 -07:00
jsteube
2670791916
Improved dictstat header check
2017-10-02 15:44:03 +02:00
jsteube
822ae7b9a9
RC2
2017-10-01 17:17:48 +02:00
jsteube
719f2656b1
Fix empty line check in _old_apply_rule()
2017-10-01 17:03:16 +02:00
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too
2017-09-29 12:13:29 +02:00
Jens Steube
4a4eb0ef7f
Merge pull request #1376 from neheb/make
...
Deny warnings with -Wno instead of commenting them out.
2017-09-29 11:33:04 +02:00
Jens Steube
a037ba0c73
Merge pull request #1375 from neheb/warning
...
Fix for clang and some cppcheck warnings
2017-09-29 11:20:35 +02:00
Rosen Penev
da621fa3be
fix some clang -Weverything warnings
2017-09-27 20:05:04 -07:00
Rosen Penev
148c4335aa
fix printf formats.
2017-09-27 20:05:04 -07:00
Rosen Penev
190fc9bf17
Deny warnings with -Wno instead of commenting them out.
...
Ease of use change. I usually replace -W with -Weverything and silencing these warnings involves adding a bunch of -Wno.
Also sorted alphabetically.
2017-09-27 20:04:21 -07:00
Chick3nman
68db9c438d
Style change for benchmark mode output
2017-09-27 13:38:17 -05:00
Chick3nman
ee430ead14
Styling change for benchmark mode output
2017-09-27 13:31:42 -05:00
Chick3nman
5e05c6c14e
Styling change for benchmark mode output
2017-09-27 13:28:35 -05:00
Chick3nman
0a20640cc9
Changing mode display styling
2017-09-26 15:55:31 -05:00
Chick3nman
59927ac923
Switch hash-mode in benchmark from DEBUG to Production
...
moved event_log_info (hashcat_ctx, "Hashmode: %d", hashconfig->hash_mode); to Production segment, skipping DEBUG check
2017-09-26 12:31:29 -05:00
Rosen Penev
ec55209254
remove hc_sleep and _msec.
...
MinGW defines sleep and usleep so just use those directly.
2017-09-23 13:02:34 -07:00
Jens Steube
55eaff3a45
Merge pull request #1365 from Fist0urs/DPAPI_reworked
...
-m 15300 reworked + splitted in 15300/15900
2017-09-21 17:02:18 +02:00
Fist0urs
e3cb3e9b4c
test.pl ready and 0 error. Ready for PR
2017-09-21 16:55:30 +02:00
jsteube
92df9592e6
Merge branch 'master' of https://github.com/hashcat/hashcat
2017-09-21 16:27:41 +02:00
jsteube
81c2ab2ded
OpenCL Runtime: On AMD GPU, recommend AMD ROCm driver for Linux
2017-09-21 16:27:27 +02:00
philsmd
48f153b5e2
typo in Makefile
2017-09-21 14:17:16 +02:00
Fist0urs
a6294537fd
Splitted DPAPI kernel in 2 to increase performances
2017-09-21 12:23:33 +02:00
jsteube
036d4874c7
Update version numbers to v4.0.0-RC1
2017-09-20 16:06:27 +02:00
jsteube
57a70710ae
Small wordlist loading performance optimization
2017-09-20 11:03:38 +02:00
jsteube
f55446b6f3
HCdict File: Renamed file from hashcat.hcdict to hashcat.hcdict2 and add header because versions are incompatible
2017-09-20 10:22:18 +02:00
Jens Steube
24a78574e2
Fix use of veracrypt-pim
2017-09-19 16:41:31 +02:00
jsteube
2517292ac1
Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX
2017-09-19 12:04:05 +02:00
jsteube
bac000667c
Fix wpa_parse_hash(), the wpa esalt was partially initialized beforehand, we can not simply memset it to zero
2017-09-19 12:01:11 +02:00
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
2017-09-18 13:21:00 +02:00
jsteube
7a278ef035
Fix overflow in out_push()
2017-09-17 12:14:52 +02:00
Jens Steube
8802b12644
Merge pull request #1358 from 0xbsec/master
...
Fix overflow in mangle_dupechar_last function
2017-09-17 11:57:34 +02:00
jsteube
5551337cf6
Show advice to use optimized kernels only if there's actually one for this hash-mode
2017-09-16 22:33:04 +02:00
mhasbini
de7ccd88ef
Fix overflow in mangle_dupechar_last function
2017-09-16 20:43:38 +03:00
jsteube
34c5eac550
Fixed the use of --veracrypt-pim option. It was completely ignored without showing an error
2017-09-16 12:53:45 +02:00
jsteube
3aec5ecf1c
Add some advice and notes about pure and optimized OpenCL kernels
2017-09-16 12:17:31 +02:00
jsteube
0675f72c4d
Fix --stdout in -a 7 mode
...
Fixes https://github.com/hashcat/hashcat/issues/1354
2017-09-16 11:37:59 +02:00
jsteube
2b4be5d093
Move AMD ROCm driver check out of a --force condition
2017-09-08 12:44:06 +02:00
jsteube
3b89153c2d
Fix use of --hex-salt with SALT_TYPE_GENERIC
2017-09-06 22:14:06 +02:00
jsteube
d05f40ab98
Remove OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND, no longer needed with latest ROCm
2017-09-06 16:38:55 +02:00
Jens Steube
3e597f4c7b
Revert use of zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer()
...
Caused problems with WPA cracking performance on NVidia when not using rules
2017-09-05 17:19:49 +02:00
jsteube
0dfe015301
Fixed a parser error in multiple modes not checking for return code, resulting in negative memory index writes
2017-09-04 15:53:13 +02:00
jsteube
8ee75141ea
OpenCL Runtime: Set OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND
2017-08-31 15:25:19 +02:00
jsteube
6d112aeb39
OpenCL Kernels: Rewritten Keccak kernel to run fully on registers and partially reversed last round
2017-08-30 13:27:04 +02:00
Jens Steube
8fb583f0a7
Simplify kernel thread calculation for SCRYPT based algorithms
2017-08-29 22:43:26 +02:00
Jens Steube
12295dcd90
Restore v3.6.0 kernel thread handling of scrypt
2017-08-29 18:30:50 +02:00
Jens Steube
fcd20fbacb
OpenCL Runtime: Fall back to 64 threads default (from 256) on AMD GPU to prevent creating too many workitems
2017-08-29 17:36:50 +02:00
jsteube
86f67517a0
Allow higher number of kernel_loops for -a 0 mode in case they are slow hashes
2017-08-29 10:28:42 +02:00
jsteube
a0be36d7b8
Fix compile error caused by __add3()
2017-08-27 19:46:17 +02:00
jsteube
35a24df55e
Fixed an integer overflow in hash buffer size calculation
2017-08-26 16:29:59 +02:00
jsteube
f6fe5657a3
Fixed an integer overflow in masks not skipped when loaded from file
2017-08-26 14:40:53 +02:00
jsteube
2bc2137203
Remove some debugging statement
2017-08-25 20:54:21 +02:00
jsteube
688a580d6c
Fixed an integer overflow in innerloop_step and innerloop_cnt variables
2017-08-25 20:52:13 +02:00
Jens Steube
b58da88174
Merge pull request #1343 from philsmd/master
...
fixes show output of -m 9710, -m 9810 and -m 10410
2017-08-25 10:02:17 +02:00
philsmd
f1c3f952ba
fixes show output of -m 9710, -m 9810 and -m 10410
2017-08-25 09:55:10 +02:00
Royce Williams
21bf521f30
Merge remote-tracking branch 'upstream/master'
2017-08-24 07:21:17 -08:00
Royce Williams
1a162e2ab4
Clarify Blake2b label
2017-08-24 07:19:50 -08:00
jsteube
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
2017-08-23 12:43:59 +02:00
jsteube
51372438fe
Allow OpenCL kernel inline assembly if ROCm drivers was detected
2017-08-22 18:47:53 +02:00
Royce Williams
cd69cd3c0b
Merge remote-tracking branch 'upstream/master'
2017-08-22 06:55:06 -08:00
Royce Williams
a08f65b50e
flip the logic in terminal.c for readability
2017-08-22 06:53:18 -08:00
jsteube
7b71fb803b
Add hash-mode to --example-hashes and use $HEX[] in case the password is in binary
2017-08-22 15:52:41 +02:00
jsteube
18c8de3428
Use zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer()
2017-08-22 15:19:25 +02:00
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
2017-08-22 11:09:46 +02:00
jsteube
a8f3392344
Startup: Show some attack-specific optimizer constraints on start, eg: minimum and maximum support password- and salt-length
2017-08-22 10:08:28 +02:00
philsmd
a4616e6c6d
fixes #1338 : hexify also all password of format $HEX[]
2017-08-21 09:14:49 +02:00
jsteube
f32e113942
Add missing case in append_block() in pure kernel rule engine
2017-08-20 15:08:51 +02:00
jsteube
6907981f08
Backport current state of optimized kernel rule engine to CPU
2017-08-20 12:50:24 +02:00
jsteube
f63df45fca
Backport current state of pure kernel rule engine to CPU
2017-08-20 12:27:19 +02:00
jsteube
1432446734
Fix initialization of size_pws_amp
2017-08-20 12:04:56 +02:00
jsteube
58d1dedd1e
OpenCL Buffers: Do not allocate memory for amplifiers for fast hashes, it's simply not needed
2017-08-19 19:25:37 +02:00
Royce Williams
149a611cbd
Merge remote-tracking branch 'upstream/master'
2017-08-19 08:05:51 -08:00
jsteube
0846b33f52
Fixed an invalid progress value in status view if words from the base wordlist get rejected because of length
2017-08-19 17:02:05 +02:00
jsteube
319799bbbf
Switch the datatypes of the variables responsible for work-item count and work-item size from u32 to u64
2017-08-19 16:39:22 +02:00
jsteube
c8da13c3aa
Update default scrypt tmto to be ideal for latest NV and AMD top models
2017-08-17 17:46:54 +02:00
jsteube
cd5470f00e
Add missing benchmark salt length default for SIP mode
2017-08-17 12:13:47 +02:00
jsteube
92a288fbd3
Resolved merge conflict by incorporating both suggestions.
2017-08-17 12:12:03 +02:00
Jens Steube
c92b4e1eb2
Merge pull request #1333 from philsmd/master
...
fixes #1278 : allow the '#' character within the username of DCC2 hashes
2017-08-17 11:52:12 +02:00
philsmd
0d6b9d0419
fixes #1313 : keep/print the original salt for descrypt hashes
2017-08-17 11:29:04 +02:00
jsteube
9a46442a80
Fix CPU performance for slow hashes with SIMD
2017-08-17 09:42:42 +02:00
philsmd
1d5dbab258
fixes #1278 : allow the '#' character within the username field of DCC2 hashes
2017-08-17 07:51:19 +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
0dcec01623
Make size_t what size_t is
2017-08-16 16:14:08 +02:00
philsmd
bc1a101d2b
fixes #1321 : new option --wordlist-autohex-disable
2017-08-16 12:42:28 +02:00
philsmd
42ee091772
fixed the usage of getopt_* ()
2017-08-16 11:46:17 +02:00
jsteube
6217f11028
Backport missing boundary check to CPU
2017-08-12 13:34:21 +02:00
jsteube
0b0abb5c12
Prepare pure kernel rule engine for performance optimization
2017-08-12 13:04:52 +02:00
jsteube
e47506c610
Use pure kernel rule engine for --stdout
2017-08-12 12:11:48 +02:00
jsteube
8a0d21360b
Prepare for pure kernel rule engine support
2017-08-11 16:09:12 +02:00
jsteube
34d882a116
Rename inc_rp.X to inc_rp_optimized.X
2017-08-11 11:25:47 +02:00
jsteube
f5ee3db5a6
Update cpu rule engine to support passwords up to length 256
2017-08-11 11:15:43 +02:00
Jens Steube
1ed6576c25
Merge pull request #1316 from philsmd/pr/NULLvsDoubleFree
...
fixed double-free problem if OpenCL/ folder is missing (and e.g. shar…
2017-08-10 15:50:15 +02:00
philsmd
611b62a25d
fixed double-free problem if OpenCL/ folder is missing (and e.g. shared folder == session folder)
2017-08-10 15:05:47 +02:00
philsmd
16df4564ce
fixes #1314 : do not use the defines INSTALL_FOLDER/SHARED_FOLDER in read_restore (), but the corresponding values from the folder config
2017-08-10 14:39:54 +02:00
jsteube
adacccecdf
Add pure kernels for FileZilla Server >= 0.9.55
2017-08-09 14:48:47 +02:00
Royce Williams
176f66086e
Merge remote-tracking branch 'upstream/master'
2017-08-08 21:22:07 -08:00
jsteube
c8a645dc16
Fix invalid default salt length for mode 11000 in benchmark
2017-08-04 14:12:37 +02:00
Jens Steube
1b835c8fbd
Merge pull request #1311 from philsmd/master
...
fixes 1306: every permanent chdir () needs to update the folder_config
2017-08-03 15:53:54 +02:00
jsteube
177800d1d0
Add pure kernels for RAdmin2
2017-08-03 15:21:39 +02:00
jsteube
a9375b9817
Fix maximum password length supported in MS Office <= 2003
2017-08-03 15:08:08 +02:00
jsteube
e0c86f40e5
Fix maximum password length supported in Lotus Notes/Domino 6
2017-08-03 14:33:31 +02:00
jsteube
1f42377931
Simplify Lotus Notes/Domino 5 kernel
2017-08-03 14:11:31 +02:00
philsmd
344d1a37df
fixes 1306: every permanent chdir () needs to update the folder_config
2017-08-03 14:02:09 +02:00
jsteube
54eb0b158d
Prepare DNSSEC (NSEC3) optimized kernel for pure kernel version
2017-08-03 12:35:05 +02:00
jsteube
4626270a1e
Set maximum allowed password length for Sybase ASE to 30, according to documentation
2017-08-02 13:36:00 +02:00
jsteube
83d37ebeff
Add pure kernels for FortiGate (FortiOS)
2017-08-01 14:16:27 +02:00
jsteube
6379e76bc8
No need for handling OPTS_TYPE_PT_ADD80 and OPTS_TYPE_PT_ADD01 in non-optimized combinator mode
2017-08-01 12:12:24 +02:00
jsteube
d573a73072
Use MIN() for setting pw_max
2017-08-01 10:23:14 +02:00
Jens Steube
92eb946345
Merge pull request #1309 from neheb/master
...
get_random_num: Simplify
2017-07-30 12:30:27 +02:00
Rosen Penev
9736782411
Switch back to rand().
...
rand_s is broken in AppVeyor.
2017-07-29 15:54:20 -07:00
Rosen Penev
3c530a48c4
get_random_num: Simplify
...
random() is available everywhere except Windows and DOS.
Also switch Windows to rand_s.
2017-07-27 19:32:47 -07:00
jsteube
332396a003
Fix SCRYPT on ROCm
2017-07-28 02:28:52 +02:00
jsteube
a0b30dc9a3
Forcing OpenCL 1.2 no longer needed; all OpenCL runtimes updated
2017-07-28 01:33:29 +02:00
jsteube
33804110d1
Update default environment variables
2017-07-28 00:38:17 +02:00
jsteube
f6f22f6616
Use a different cache hash for amp and mp kernel
2017-07-23 13:55:25 +02:00
jsteube
b847bbb274
Fix calculation of device_name_chksum; should be done for each iteration
2017-07-22 18:46:12 +02:00
Royce Williams
471ba4075d
make display of active options in benchmark match actual usage
2017-07-20 06:09:45 -08:00
Royce Williams
434af9fe6a
visual indicator of options active when benchmarking
2017-07-20 05:58:42 -08:00
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
2017-07-20 12:46:18 +02:00
Royce Williams
d1fef8f74a
tighten to under 80 columns, and minor grammar
2017-07-19 06:08:37 -08:00
jsteube
80c5150292
Change the benchmarking info text on -O and disable it if -w is already set
2017-07-19 15:33:19 +02:00
jsteube
be4076cba6
Multiply SPEED in machine-readable status output with 1000, making it more accurate if performance is < 1H/ms
2017-07-19 14:53:43 +02:00
jsteube
10d9918bb1
Remove password minimum length for -m 112 and -m 3100
2017-07-19 12:35:54 +02:00
jsteube
9e61928416
Fix some copy/paste error
2017-07-19 10:53:02 +02:00
Royce Williams
96fde7471b
Note that -b implies -O and how to override
2017-07-18 16:20:41 -08:00
jsteube
4bcd10cf46
Update --help menu; Explain -O option and drop -L option
2017-07-18 20:47:26 +02:00
jsteube
08a3fc2bb3
Enable automatic fallback to optimized kernel if pure kernel is not found
2017-07-18 20:32:56 +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
f87ac21065
Some small corrections on salt length for MD5-ASA
2017-07-17 20:25:08 +02:00
jsteube
945cf9be2f
md5($salt.$pass.$salt)
2017-07-17 17:24:32 +02:00
jsteube
9d92100a57
Move no-rules check to interface.c so that interface.c is the only source where pw_min and pw_max are set
2017-07-17 15:27:03 +02:00
jsteube
79bb69bcd4
Assign more official pw_min and pw_max values to related modes
2017-07-17 15:00:28 +02:00
jsteube
14fb0d5a17
Assign more official pw_min and pw_max values to related modes
2017-07-17 14:46:26 +02:00
jsteube
7e95700cd4
Assign more official pw_min and pw_max values to related modes
2017-07-17 14:33:51 +02:00
jsteube
2047625899
Update pw_min, pw_max, salt_min and salt_max switch cases to current development status
2017-07-17 13:48:33 +02:00
jsteube
1cd0212f73
Fix Cisco-PIX and Cisco-ASA pw_max as they limit themself to 16
2017-07-17 08:50:09 +02:00
jsteube
67de882790
Allow weak-hash-check support in -L mode
2017-07-16 16:13:45 +02:00
jsteube
0e7bb074e6
Allow some oversized salt-length with dedicated kernels
2017-07-15 18:05:25 +02:00
jsteube
967d7b9323
Rename SALT_TYPE_INTERN to SALT_TYPE_GENERIC
2017-07-14 14:57:31 +02:00
jsteube
8e3153549f
Fix invalid use of SALT_MAX_OLD
2017-07-14 14:41:23 +02:00
Jens Steube
4833d6c4d7
Fix Makefile and test.sh script
2017-07-14 14:18:59 +02:00
jsteube
c4098e2230
Fix invalid use of a non-vector function from within a vector function
2017-07-14 14:16:48 +02:00
jsteube
f70da8a04c
Increase salt length for salt of generic hash types
...
Remove --hex-salt support for non-generic hash types
2017-07-13 11:03:57 +02:00
jsteube
54b7505473
Add host modifications for -a 0 in combination with -L and modify an example kernel
2017-07-12 13:00:04 +02:00
Jens Steube
04bb6a46ef
There's a problem with Intels OpenCL runtime. The JiT hangs while trying to compile, for example mode 1700 in -L mode.
...
Disabling the OpenCL optimization using -cl-opt-disable helped.
While doing so, it turned out that there's many algorithms that _benefit_ from disabling the compiler optimizations.
Other are not.
Full list: https://docs.google.com/spreadsheets/d/1w0wZtHsP8ql4JLDRnm3zqi8JyMSBk9zzpXXjQz84Fwc/edit?usp=sharing
2017-07-11 17:15:16 +02:00
jsteube
2c79d26778
Add -m 10700 pure kernel for -L support
2017-07-11 10:43:18 +02:00
jsteube
8a6e3a5275
Add support in HMAC for passwords larger than block size of the underlaying hash
2017-07-10 11:15:15 +02:00
jsteube
f619811b70
Remove PBKDF2-HMAC-MD5 includes password length limit
2017-07-09 23:53:53 +02:00
jsteube
97020f6521
Vectorized Ethereum Wallet + SCRYPT and added support for long passwords
2017-07-09 23:32:44 +02:00
jsteube
a91d048c04
Vectorized Ethereum Wallet, PBKDF2-HMAC-SHA256 and added support for long passwords
2017-07-09 23:10:28 +02:00
jsteube
25fba33901
Vectorized DPAPI masterkey file v1 and v2 and added support for long passwords
2017-07-09 23:05:14 +02:00
Jens Steube
ec7b416baf
Merge pull request #1291 from ZerBea/master
...
removed message-pair-check - no longer needed
2017-07-09 20:02:09 +02:00
jsteube
32329cf3f4
Vectorized Juniper/NetBSD sha1crypt and added support for long passwords
2017-07-09 20:01:45 +02:00
ZerBea
a6a732704f
removed message-pair-check - no longer needed
2017-07-09 19:54:08 +02:00
jsteube
de9d026bb0
Vectorized iTunes backup < 10.0 and added support for long passwords
2017-07-09 19:37:36 +02:00
jsteube
8f73d356f2
Vectorized LUKS and added support for long passwords
2017-07-09 19:24:34 +02:00
jsteube
1049fa386a
Add OPTI_TYPE_SLOW_HASH_SIMD_LOOP in interface.c where it was missing
2017-07-09 18:01:55 +02:00
jsteube
709cfa2e91
Added long passwords support for KeePass 1 (AES/Twofish) and KeePass 2 (AES)
2017-07-09 15:12:11 +02:00
jsteube
837b5a31d1
Added long passwords support for AxCrypt
2017-07-09 00:13:00 +02:00
jsteube
fc32b24236
Vectorized RAR5 and added support for long passwords
2017-07-08 23:55:56 +02:00
jsteube
933fa47d21
Vectorized Android FDE (Samsung DEK) and added support for long passwords
2017-07-08 21:56:36 +02:00
jsteube
edf904f309
Vectorized MS-AzureSync PBKDF2-HMAC-SHA256 and added support for long passwords
2017-07-08 21:39:15 +02:00
jsteube
af46a1560b
Vectorized Blockchain, My Wallet and added support for long passwords
2017-07-07 23:32:41 +02:00
jsteube
a1321d2d64
Added long passwords support for BSDi Crypt, Extended DES
2017-07-07 22:16:42 +02:00
jsteube
02ce227ff1
Vectorized Oracle T: Type (Oracle 12+) and added support for long passwords
2017-07-07 22:09:51 +02:00
jsteube
6e57aa1c0f
Vectorized eCryptfs and added support for long passwords
2017-07-07 21:46:41 +02:00
jsteube
eda88e6c84
Vectorized PBKDF2-HMAC-MD5 and added support for long passwords
2017-07-07 16:58:28 +02:00
jsteube
d3e6ae42f0
Added long passwords support for 7-Zip
2017-07-07 16:48:18 +02:00
jsteube
27a57383f0
Vectorized Password Safe v3 and added support for long passwords
2017-07-07 16:02:49 +02:00
jsteube
5de48182b4
Fixed max password length limit in mode 10500
2017-07-07 12:33:06 +02:00
jsteube
bedc481390
Added long passwords support for SAP CODVN H (PWDSALTEDHASH) iSSHA-1
2017-07-07 12:14:06 +02:00
jsteube
8916de538a
Vectorized MS Office 2013 and added support for long passwords
2017-07-07 10:38:05 +02:00
jsteube
51470b2b04
Vectorized MS Office 2010 and added support for long passwords
2017-07-07 10:03:59 +02:00
jsteube
99f58f90a4
Fix some compiler warning on unused variables
2017-07-07 00:30:42 +02:00
jsteube
94b565262a
Merge branch 'master' of https://github.com/hashcat/hashcat
2017-07-07 00:29:11 +02:00
jsteube
61f39b37d2
Vectorized MS Office 2007 and added support for long passwords
2017-07-07 00:29:05 +02:00
jsteube
8fe0a36b30
OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1
2017-07-06 21:54:28 +02:00
jsteube
a1e3b20902
Add ROCm to the list of supported AMD platforms
2017-07-06 19:11:56 +02:00
jsteube
17b003b355
Vectorized Lotus Notes/Domino 8 and added support for long passwords
2017-07-06 14:57:28 +02:00
jsteube
cbd37ab587
Update some more modes to already converted modes with long password support
2017-07-06 14:39:05 +02:00
jsteube
df3890b49d
Added long passwords support for SCRYPT
2017-07-06 14:27:36 +02:00
jsteube
ccd85f345d
Vectorized 1Password, cloudkeychain and added support for long passwords
2017-07-06 14:11:33 +02:00
jsteube
6cbd2acd24
Added long passwords support for Drupal7
2017-07-06 11:02:43 +02:00
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
2017-07-06 10:35:25 +02:00
jsteube
819b53eb1d
Added long passwords support for sha256crypt $, SHA256 (Unix)
2017-07-05 13:43:14 +02:00
jsteube
7fec4f27d8
Vectorized OSX v10.8+ (PBKDF2-SHA512) and added support for long passwords
2017-07-05 13:01:55 +02:00
jsteube
195e3c744c
Vectorized TrueCrypt PBKDF2-HMAC-Whirlpool and added support for long passwords
2017-07-05 10:08:47 +02:00
jsteube
f2067d6962
Vectorized TrueCrypt PBKDF2-HMAC-RipeMD160 and added support for long passwords
2017-07-04 18:51:02 +02:00
jsteube
55874ec853
Vectorized VeraCrypt PBKDF2-HMAC-SHA256 and added support for long passwords
2017-07-04 15:40:34 +02:00
jsteube
907b065e00
Vectorized TrueCrypt PBKDF2-HMAC-SHA512 and added support for long passwords
2017-07-04 12:19:40 +02:00
jsteube
5eb76ccdde
Vectorized Password Safe v3 and added support for long passwords
2017-07-04 11:22:48 +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
1dfdefae69
Vectorized LastPass + LastPass sniffed kernel and added support for long passwords
2017-07-03 13:14:55 +02:00
jsteube
c3f0bb77dd
Vectorized AIX {ssha1} kernel and added support for long passwords
2017-07-03 13:06:59 +02:00
jsteube
2e78cf1d58
Vectorized 1Password, agilekeychain kernel and added support for long passwords
2017-07-03 13:00:42 +02:00
jsteube
a8a1fe1b4f
Vectorized AIX {ssha512} kernel and added support for long passwords
2017-07-03 12:44:03 +02:00