Sein Coray
1143cef606
Merge branch 'master' into master
2019-03-18 09:48:09 +01:00
jsteube
ba56f41d26
Abort session if module_hash_binary_count () returns zero
2019-03-17 15:01:41 +01:00
jsteube
5ecbcde945
Cracking bcrypt: Use a feedback from the OpenCL runtime to dynamically find out optimal thread count
2019-03-17 14:17:35 +01:00
jsteube
42e440611a
Fix some broken strict-aliasing rules
2019-03-17 11:09:32 +01:00
jsteube
b48056fa42
Manually unrolled cipher code fixed segmentation faults in 1536 bit variants for TC/VC with amdgpu-pro-18.50-708488-ubuntu-18.04
2019-03-16 21:46:18 +01:00
jsteube
df1ba3745a
Mark -m 18600 unstable on POCL runtime
2019-03-16 16:36:26 +01:00
jsteube
e93590c11d
Fix some variable names in modules
2019-03-16 13:30:53 +01:00
jsteube
218322f630
Support for inline VeraCrypt PIM Brute-Force
2019-03-15 21:48:49 +01:00
Royce Williams
2a739a86ae
rewrap --keep-guessing language for console width
2019-03-13 11:15:55 -08:00
jsteube
e45e15465b
Fix use of OPTS_TYPE_SUGGEST_KG
2019-03-13 20:05:30 +01:00
jsteube
b7f8b2d15e
Fix use of OPTS_TYPE_SUGGEST_KG
2019-03-13 20:04:58 +01:00
Jens Steube
c99ab74001
Merge pull request #1955 from Fist0urs/krb5tgs_1718
...
Add hash modes 19600 (krb5tgs enctype 17) and 19700 (krb5tgs enctype 18)
2019-03-13 19:58:13 +01:00
jsteube
111889d3fc
Keep Guessing: No longer automatically activate --keep-guessing for modes 9720, 9820, 14900 and 18100
2019-03-13 19:02:24 +01:00
Jens Steube
25a9cb58df
Merge pull request #1954 from Fist0urs/krb5tgs
...
Update krb5tgs enc 23 algorithm name + remove useless pwdump input hash format
2019-03-13 18:43:35 +01:00
Jens Steube
5e6f5c31de
Merge pull request #1952 from Chick3nman/master
...
Change behaviour of --keep-guessing flag
2019-03-13 18:43:09 +01:00
Fist0urs
afb010870a
Add hash modes 19600 (krb5tgs enctype 17) and 19700 (krb5tgs enctype 18)
2019-03-13 17:20:04 +01:00
Fist0urs
6022443842
m 13100: remove invalid 'pwdump' input format within module
2019-03-13 17:14:16 +01:00
Fist0urs
1cc814bb42
m 13100: append algorithm to hash format name
2019-03-13 17:12:44 +01:00
Chick3nman
3c7d42079e
Update catch for --keep-guessing to include auto-enabled kernels
2019-03-13 09:17:02 -05:00
jsteube
4653447dfa
Update startup message with informations on using pure OpenCL kernel
2019-03-13 06:29:24 +01:00
Chick3nman
e8b81657d7
Add warning message for --keep-guessing
2019-03-12 13:32:31 -05:00
Chick3nman
c0b3f03605
Do not remove hashes if --keep-guessing enabled
2019-03-12 12:53:44 -05:00
jsteube
6e0ef6984c
Fix -m 14800 benchmark iteration count
2019-03-11 10:11:31 +01:00
jsteube
756ec0288e
Some module specific trap 6 markers
2019-03-10 20:10:56 +01:00
jsteube
2809c6f3fb
Some module specific trap 6 markers
2019-03-10 17:39:33 +01:00
jsteube
555bd84b4c
Some module specific trap 6 markers
2019-03-10 15:33:25 +01:00
jsteube
26d7602bbd
No longer need reqd_work_group_size() in OpenCL kernels since modules taken care of this using threads_min and threads_max
2019-03-10 12:13:14 +01:00
jsteube
9da14d55a2
Some module specific trap 6 markers
2019-03-10 11:50:31 +01:00
jsteube
b99d392e78
OpenCL Runtime: Disable OpenCL kernel cache on Apple for Intel CPU (throws CL_BUILD_PROGRAM_FAILURE for no reason)
2019-03-10 10:48:37 +01:00
philsmd
30fde2f759
-m 16600: currently only electrum1 and electrum2 are supported
2019-03-08 13:58:34 +01:00
Jens Steube
b585f25c8c
Move more no unrolling exceptions from inc_vendor.cl to specific modules
2019-03-08 09:45:51 +01:00
Jens Steube
38cd3f18ee
Mark -m 8200 as unstable on Apple OpenCL runtime
2019-03-07 22:23:30 +00:00
Jens Steube
8d146f3011
Move more no unrolling exceptions from inc_vendor.cl to specific modules
2019-03-07 20:55:18 +00:00
Jens Steube
cace799187
Move more no unrolling exceptions from inc_vendor.cl to specific modules
2019-03-07 18:57:04 +00:00
Sein Coray
ee97d18af9
Added hash mode 19500
2019-03-06 21:15:09 +01:00
jsteube
ac0559f7a4
Change the unstable_warning message to the user to make clear it's not a hashcat issue
2019-03-06 16:35:17 +01:00
jsteube
16f8c5941e
Mark -m 6100,7500,8600,11700,11800,13100,18200 as unstable with AMDGPU driver in pure kernel mode
2019-03-05 09:03:47 +01:00
jsteube
4d2a0a7738
Mark -m 14400 as unstable with AMDGPU driver
2019-03-05 05:38:32 +01:00
jsteube
745baf4894
Mark -m 11750,11760,11850 and 11860 as unstable with AMDGPU driver
2019-03-05 05:31:49 +01:00
jsteube
277db2ecee
Mark VeraCrypt 1536 bit variants as unstable on AMDGPU driver
2019-03-04 16:50:20 +01:00
jsteube
73d4ca14f1
Mark -m 10700 in optimized mode as unstable on Intel OpenCL runtime
2019-03-04 16:20:13 +01:00
jsteube
24f80e1ef4
Mark -m 11600 as unstable with AMDGPU driver
2019-03-04 16:16:25 +01:00
jsteube
d325413b34
Fix -m 10700 activate unstable warning only in optimized mode
2019-03-04 15:34:03 +01:00
jsteube
460153d818
Fix -m 6211,6221,6232,6233 module_unstable_warning settings
2019-03-04 15:25:32 +01:00
jsteube
0f8083a8f5
Mark -m 10100 as unstable with ROCM driver
2019-03-04 15:19:47 +01:00
jsteube
df38814d25
Mark -m 13731,13732,13733 as unstable with Intel OpenCL runtime. Note this happens only with the 18.x version. The preivous 16.x version compiles this just fine.
2019-03-04 14:53:59 +01:00
jsteube
98eb9ddf6b
Fix registration of module_unstable_warning on -m 8900
2019-03-04 14:50:36 +01:00
jsteube
10f5784f7f
Mark -m 6231,6232,6233 as unstable with Intel OpenCL runtime. Note this happens only with the 18.x version. The preivous 16.x version compiles this just fine.
2019-03-04 14:46:06 +01:00
jsteube
e7e16d00af
Fix memory buffer double free
2019-03-04 11:34:56 +01:00
jsteube
1537fc4e5d
Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning)
2019-03-04 10:29:57 +01:00
jsteube
c43ef406a9
Make sure not to abort entire benchmark if a mode was marked as unstable
2019-03-03 20:11:23 +01:00
jsteube
dc9279c95c
New Strategy: Instead of using volatile, mark the mode as unstable. Remove all volatiles
2019-03-03 19:18:56 +01:00
jsteube
26b9e3c1ac
Fix module_kernel_threads_min and module_kernel_threads_max configuration in -m 9000 module
2019-03-03 16:07:56 +01:00
jsteube
b2fb1704ff
Fix switched 64 bit optimization in DPAPI masterkey file v1/v2
2019-03-03 13:54:25 +01:00
jsteube
7c1120b784
Migrate unroll handling for -m 15900 from OpenCL/inc_vendor.cl to module_jit_build_options()
2019-03-03 13:44:25 +01:00
jsteube
1714382daa
Migrate unroll handling for -m 14100 from OpenCL/inc_vendor.cl to module_jit_build_options()
2019-03-03 11:55:42 +01:00
jsteube
b0a83b28d1
Migrate unroll handling for -m 12300 from OpenCL/inc_vendor.cl to module_jit_build_options()
2019-03-03 11:47:33 +01:00
jsteube
1937b67595
Migrate unroll handling for -m 8200 from OpenCL/inc_vendor.cl to module_jit_build_options()
2019-03-03 11:43:47 +01:00
jsteube
fee37ac4c3
Migrate unroll handling for -m 8000 from OpenCL/inc_vendor.cl to module_jit_build_options()
2019-03-03 11:39:18 +01:00
jsteube
88bf330dbe
Remove some old unstable warnings for macOS.
...
Due to new auto-tuning functionality some of these warnings may nolonger required.
Since I do not have any macOS device I can't check for myself, wait for user feedback.
Even then, these warnings have to be treated differently, first by trying to do stuff like -cl-opt-disable.
Such checks are now possible on a per-module basis and should be used first.
2019-03-03 11:21:22 +01:00
jsteube
f5317a6b27
Fix CPU thread count auto-tuning
2019-03-03 11:10:46 +01:00
jsteube
21154d6522
Add some module specific warnings for AMDGPU driver in optimized kernel mode
2019-03-02 21:18:30 +01:00
jsteube
bfdeb6eac5
Move test_instruction() to opencl_ctx_devices_init()
2019-03-02 17:58:01 +01:00
jsteube
80bbb064e5
Add some module specific warnings for Intel driver in pure kernel mode
2019-03-02 16:47:59 +01:00
jsteube
420876c85f
Fix -m 8100 module_jit_build_options hook
2019-03-02 16:37:01 +01:00
jsteube
4cf1e75871
Add some module specific warnings for ROCM driver in pure kernel mode
2019-03-02 16:31:56 +01:00
jsteube
7eee7b7dbc
Add some module specific warnings for AMDGPU driver in pure kernel mode
2019-03-02 16:21:55 +01:00
jsteube
88a051629c
Support module specific JiT compiler build options
2019-03-02 11:12:13 +01:00
jsteube
23917455ef
Added hash-mode 19300 sha1(..)
2019-02-28 20:00:52 +01:00
jsteube
5c3ad11424
Fix module_filename() on Cygwin
2019-02-27 21:21:08 +01:00
jsteube
87c24200da
Added QNX /etc/shadow hash cracking support
...
- Added hash-mode 19000 QNX /etc/shadow (MD5)
- Added hash-mode 19100 QNX /etc/shadow (SHA256)
- Added hash-mode 19200 QNX /etc/shadow (SHA512)
Implements #35
2019-02-27 17:53:00 +01:00
jsteube
512b8ed5d6
Add some verification code to detect the "7z e" problem
2019-02-27 09:47:28 +01:00
jsteube
85f0516e81
Fix salt length limit checks for OPTS_TYPE_ST_BASE64 in generic_salt_decode
2019-02-27 09:25:50 +01:00
jsteube
5da1e4b872
Fixed maximum password length limit which was announced as 256 but actually was 255
2019-02-26 21:20:07 +01:00
jsteube
f63762e597
Reenable select_read_timeout and select_write_timeout on windows
2019-02-26 19:54:25 +01:00
jsteube
d2d1278bf7
Reenable brain support by default
2019-02-26 15:26:10 +01:00
jsteube
166f908241
Get rid of some old hack and cleanly distinguish between HL_MODE_FILE_PLAIN and HL_MODE_FILE_BINARY
2019-02-25 11:20:22 +01:00
jsteube
44cd17e7f1
Fix benchmark result for (fast) slow hashes
2019-02-24 17:47:43 +01:00
jsteube
540b405e3a
Replace IS_ROCM with HAS_VPERM and HAS_VADD3
2019-02-24 10:12:48 +01:00
jsteube
25540494d6
Fixed -m 9100 base64 encoded hash output
2019-02-23 23:46:10 +01:00
jsteube
761475b224
OpenCL Runtime: Improve ROCM detection and make sure to not confuse with recent AMDGPU drivers
2019-02-23 22:50:19 +01:00
jsteube
d0d4ce9f8c
Added hash-mode 18800 Blockchain, My Wallet, Second Password (SHA256)
2019-02-23 17:45:02 +01:00
Jens Steube
306d40a13a
Fixed incorrect progress-only result in a special race condition
2019-02-23 12:24:32 +01:00
jsteube
11b1189e53
Fix makefile targets
2019-02-22 21:58:33 +01:00
jsteube
68d6d36761
Binary Distribution: Removed 32 bit binary executeables
2019-02-22 21:36:02 +01:00
jsteube
684256022e
Small fix for -m 18900
2019-02-22 16:00:08 +01:00
jsteube
29fedf2c41
Added hash-mode 18900 Android Backup
2019-02-22 15:49:47 +01:00
jsteube
95b94b2982
Fix module symbol check
2019-02-22 13:21:37 +01:00
jsteube
b4d52e412b
Rename -m 18700 to Java Object hashCode()
2019-02-22 09:30:56 +01:00
jsteube
b01038b8f4
Allow module_hash_encode() to be set to MODULE_DEFAULT if OPTS_TYPE_BINARY_HASHFILE is set. In that case return hashfile name
2019-02-22 07:00:34 +01:00
jsteube
51eb9ebff7
Added hash-mode 18700 DJB 32
2019-02-21 13:52:01 +01:00
jsteube
83b9a81704
Respect base64 padding lenghts in input tokenizer
2019-02-21 09:17:30 +01:00
jsteube
09362b77ca
Merge branch 'hash-mode-plugin' of https://github.com/hashcat/hashcat into hash-mode-plugin
2019-02-20 20:35:50 +01:00
jsteube
13b99d5825
Fix module_hash_binary_parse() in -m 14600 module
2019-02-20 20:35:28 +01:00
jsteube
9fc193ce47
Bitcoin Wallet: Be more user friendly by allowing a larger data range for ckey and public_key
2019-02-20 16:20:28 +01:00
jsteube
942acb266e
Update -m 12000 module and unit test for longer salts
2019-02-19 11:12:28 +01:00
jsteube
aa21c10283
Add -m 9100 unit test
2019-02-18 09:48:39 +01:00
jsteube
c500553149
Fixed salt_max in -m 2612
2019-02-17 07:36:28 +01:00
jsteube
a5336ceb72
Allocate always MAX_SALT * 2 bytes for temporary buffers going into generic_salt_encode()
2019-02-16 14:07:53 +01:00
jsteube
ba803a79ae
Fix several constraints of raw modes
2019-02-16 13:37:17 +01:00
jsteube
eb0e8eed2a
Fix -m 23 salt buffer size
2019-02-16 12:22:50 +01:00
philsmd
7b3ab9dbcb
fixes 7-Zip parser limits for encrypted/decrypted data lengths
2019-02-15 18:49:16 +01:00
jsteube
a027b7f2b1
Fix max salt length for -m 1441
2019-02-15 15:11:05 +01:00
jsteube
64540dee37
Limit the compiler threads, otherwise this consumes a lot of memory resources due to the new module sources
2019-02-15 09:24:30 +01:00
jsteube
72050ee796
Fix a warning in -m 3100
2019-02-14 13:17:16 +01:00
jsteube
5ef0de45df
Where generic_salt_decode() is used, the generic_salt_encode() should be used, too
2019-02-14 13:05:14 +01:00
jsteube
0096f1a56b
Add generic_salt_encode so we have both function types
2019-02-14 10:52:24 +01:00
jsteube
6f4b72bcd3
Rename parse_and_store_generic_salt to generic_salt_decode
2019-02-14 09:53:29 +01:00
jsteube
0b40518176
Fix some module hash output in -O mode
2019-02-13 22:08:19 +01:00
jsteube
0b1299f864
Fix -m 18300 module
2019-02-13 20:05:16 +01:00
jsteube
314d3c2f88
Add missing -m 16900
2019-02-13 14:35:33 +01:00
jsteube
e30df78b0d
Fix -m 15400 output
2019-02-13 14:16:30 +01:00
jsteube
bb8827f2e0
Fixed output length in -m 101
2019-02-13 10:10:08 +01:00
jsteube
e571b890e9
Fixed length check for raw PBKDF2 modules
2019-02-13 10:03:07 +01:00
jsteube
af634750f2
Fix Joomla salt length
2019-02-13 09:37:30 +01:00
jsteube
25e4023c89
Add some missing benchmark defaults for dynamic kern_type module in -m 16500
2019-02-12 21:11:47 +01:00
jsteube
bab735b367
Get rid of hash_type variable. This hopefully reduces some confusion for new hashcat kernel developers
2019-02-12 16:02:27 +01:00
jsteube
75f7172cca
Prepare remove of hash_type variable
2019-02-12 15:30:42 +01:00
jsteube
8b8cc78b69
Get rid of interface_migrate.c
2019-02-12 14:26:38 +01:00
jsteube
ea09a2462d
Add -m 22, 1410, 1420, 1430, 1440, 1450, 1460, 1710, 1720, 1730, 1740, 1750, 1760 module
2019-02-12 14:24:52 +01:00
jsteube
44afd48755
Add -m 10, 20, 30, 40, 50, 60, 110, 120, 130, 140, 150, 160 module
2019-02-12 14:04:04 +01:00
jsteube
dc9c7e4027
Add -m 3710, 3800, 4010, 4110, 4300, 4400, 4500, 4520, 4521, 4522, 4700 module
2019-02-12 13:17:58 +01:00
jsteube
c584fa3646
Add -m 121, 124, 2600, 2611, 2612, 2711 and 3711 module
2019-02-12 12:37:30 +01:00
jsteube
000d6a0039
Add -m 11700, 11750, 11760, 11800, 11850 and 11860 module
2019-02-11 21:05:09 +01:00
jsteube
0e9330d700
Add -m 6000 and -m 6100 module
2019-02-11 20:46:48 +01:00
jsteube
977598b25d
Add -m 4900 module
2019-02-11 20:40:27 +01:00
jsteube
e18bb5864c
Add -m 10100 module
2019-02-11 20:35:21 +01:00
jsteube
dd26fd4cb9
Add -m 13900 module
2019-02-11 20:31:36 +01:00
jsteube
3cd3944bba
Add -m 1722 module
2019-02-11 20:26:52 +01:00
jsteube
1776e2d111
Add -m 1711 module
2019-02-11 20:21:22 +01:00
jsteube
0fa4c024f0
Add -m 1411 module
2019-02-11 20:15:01 +01:00
jsteube
08c6e3fab2
Add -m 1421 module
2019-02-11 20:08:51 +01:00
jsteube
f640e52a35
Add -m 1441 module
2019-02-11 20:03:40 +01:00
jsteube
3f0f3576f0
Add -m 141 module
2019-02-11 17:18:37 +01:00
jsteube
e5eee5b7f6
Add -m 133 module
2019-02-11 17:08:26 +01:00
jsteube
db11c485a3
Add -m 132 module
2019-02-11 17:01:00 +01:00
jsteube
636749adb0
Add -m 131 module
2019-02-11 16:55:08 +01:00
jsteube
d4a91d2263
Add -m 125 module
2019-02-11 16:48:17 +01:00
jsteube
e3a2e6bacc
Add -m 122 module
2019-02-11 16:42:34 +01:00
jsteube
b25ca86624
Add -m 1731 module
2019-02-11 16:33:42 +01:00
jsteube
b195456281
Add -m 111 module
2019-02-11 16:21:39 +01:00
jsteube
3315be52fc
Add -m 11200 module
2019-02-11 16:02:18 +01:00
jsteube
aca1776aa5
Add -m 11100 module
2019-02-11 15:54:31 +01:00
jsteube
f689950e0c
Remove some leftovers
2019-02-11 15:31:48 +01:00
jsteube
5a607118cc
Add missing modules
2019-02-11 15:18:30 +01:00
jsteube
7432db69fa
Add -m 10200 module
2019-02-11 14:39:43 +01:00
jsteube
9daaca2188
Add -m 14400 module
2019-02-11 14:25:41 +01:00
jsteube
7a7504057c
Add -m 112 module
2019-02-11 13:37:30 +01:00
jsteube
f4fb9111cf
Add -m 9900 module
2019-02-11 13:22:46 +01:00
jsteube
9df982382d
Add -m 16600 module
2019-02-11 13:16:58 +01:00