jsteube
9d6d2cb2b8
Replace md5_complete_no_limit() code with functions from emu_inc_hash_md5.h
2019-03-28 09:21:32 +01:00
Chick3nman
0cc365139b
Added sanity check to confirm --machine-readable and --status-json do not run at the same time.
...
Fixed typo in existing sanity check.
2019-03-27 06:53:34 -05:00
Chick3nman
cac6522cd7
More prep
2019-03-27 06:10:28 -05:00
jsteube
7806be32c2
Add module_unstable_warning() for several modes used with AMDGPU drivers
2019-03-27 12:05:34 +01:00
Chick3nman
81bc4b9ee9
Fixed Typo
2019-03-27 05:44:09 -05:00
Chick3nman
2358220cbe
Prepare for --status_json
...
add option, enum, autocomplete, status function placeholders
2019-03-27 05:09:24 -05:00
Jens Steube
06dc04bf1a
Use kern_type instead of hash_mode to calculate device_name_chksum
2019-03-26 13:11:26 +01:00
Jens Steube
e74e8f0234
Fix device_name_chksum calculation
2019-03-26 12:26:30 +01:00
Jens Steube
0fb3b3c83e
Declare internal functions in OpenCL kernels as static
2019-03-26 11:03:25 +01:00
jsteube
69587c91dd
Do not use uint if not needed
2019-03-25 21:57:10 +01:00
jsteube
2bb594b385
Remove add3() from bitops, replaced with the ones in inc_common.cl
2019-03-25 16:40:39 +01:00
jsteube
ecbd4a51c8
Add remaining emu_inc_* sources to Makefile
2019-03-25 16:15:58 +01:00
jsteube
5b667d2c01
Get rid of src/cpu_aes.c, src/cpu_des.c, src/cpu_md5.c and src/cpu_sha256.c
2019-03-25 15:54:58 +01:00
jsteube
fb8a9d7c40
Get rid of cpu_sha1.c
2019-03-25 14:08:59 +01:00
jsteube
66d94b06e4
Get rid of src/rp_kernel_on_cpu.c and src/rp_kernel_on_cpu_optimized.c and use OpenCL emulated kernel version
2019-03-25 12:24:04 +01:00
jsteube
a44bed7549
More preparation for OpenCL emulation mode
2019-03-23 22:13:59 +01:00
jsteube
0a6fc35707
Fix includes in Makefile
2019-03-22 21:58:54 +01:00
jsteube
c9d60c079f
Prepare OpenCL kernels for non-static compilation
2019-03-22 15:16:25 +01:00
jsteube
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
2019-03-21 23:00:38 +01:00
jsteube
aec49509b8
Make sure -T does not come in inflict with FIXED_LOCAL_SIZE
2019-03-20 10:22:26 +01:00
jsteube
f08fe1fe90
Use advanced memory allocation only on NV and AMD
2019-03-20 09:40:34 +01:00
Jens Steube
af129d32da
Merge pull request #1941 from s3inlc/master
...
Added hash mode 19500
2019-03-19 10:44:06 +01:00
Sein Coray
836c91c8c2
Merge branch 'master' of https://github.com/s3inlc/hashcat
2019-03-18 17:47:42 +01:00
Sein Coray
17083b8f56
applied requested final changes
2019-03-18 17:47:35 +01:00
jsteube
5ef67a8ab7
Apply previous blowfish optimization for -m 3200 also on -m 9000 and -m 18600
2019-03-18 12:42:47 +01:00
jsteube
a172ab7d8a
Update unstable warnings for latest AMDGPU driver
2019-03-18 10:08:13 +01:00
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