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
Sein Coray
21a214e26a
Merge branch 'master' of https://github.com/hashcat/hashcat
2019-03-25 12:27:33 +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
Sein Coray
959852a1aa
Merge branch 'master' of https://github.com/hashcat/hashcat
2019-03-25 10:47:00 +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
Sein Coray
3ad7d00380
removed hash constants include
2019-03-22 21:18:02 +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
Sein Coray
2da33ab0ba
fixed issue with converting more than needed and using too much memory
2019-03-21 21:12:18 +01:00
Sein Coray
97249ba1ca
added pkzip kernels 17200, 17210, 17220 and 17230
2019-03-21 20:18:39 +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
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
jsteube
c16a3feabc
Add -m 16500 module
2019-02-11 13:11:51 +01:00
jsteube
63f0ed45bc
Add -m 16400 module
2019-02-11 12:30:37 +01:00
jsteube
9cdc27b7c2
Add -m 16300 module
2019-02-11 11:24:11 +01:00
jsteube
1454580b4f
Add -m 15500 module
2019-02-11 11:13:11 +01:00
jsteube
19ec4340e3
Add -m 16200 module
2019-02-11 11:07:08 +01:00
jsteube
535a5c8b40
Add -m 16100 module
2019-02-11 11:01:59 +01:00
jsteube
dafe5bdafc
Add -m 15200 module
2019-02-11 10:54:54 +01:00
jsteube
41ba9424fd
Add -m 14700 and -m 14800 module
2019-02-11 10:45:54 +01:00
jsteube
444db31e3d
Add -m 13800 module
2019-02-11 10:09:42 +01:00
jsteube
2bb5a9f76f
Add -m 13600 module
2019-02-11 09:43:01 +01:00
jsteube
c7b424381b
Add -m 13300 module
2019-02-11 09:33:46 +01:00
jsteube
d12e6e4c73
Add -m 13200 module
2019-02-11 09:29:37 +01:00
jsteube
08f1637f79
Add -m 12900 module
2019-02-11 09:24:26 +01:00
jsteube
a13f8a8704
Add -m 12800 module
2019-02-11 09:19:32 +01:00
jsteube
2b2471c420
Add -m 12700 module
2019-02-11 09:12:29 +01:00
jsteube
7b38c0f217
Add -m 12300 module
2019-02-11 08:58:28 +01:00
jsteube
ebce25dd79
Add -m 12200 module
2019-02-11 08:52:02 +01:00
jsteube
69659ee9e6
Add -m 15100 module
2019-02-10 18:24:51 +01:00
jsteube
eec67f3519
Add module -m 12100
2019-02-10 18:15:21 +01:00
jsteube
79cdcf9ec6
Add -m 12001 module
2019-02-10 18:07:16 +01:00
jsteube
ddaa21d2f1
Add -m 11900 module
2019-02-10 18:03:13 +01:00
jsteube
5727e1e712
Add -m 11400 module
2019-02-10 17:59:10 +01:00
jsteube
bce84cb17a
Add -m 10900 module
2019-02-10 17:40:29 +01:00
jsteube
1cccaad681
Add -m 10700 module
2019-02-10 14:59:26 +01:00
jsteube
762abc48df
Add -m 10300 module
2019-02-10 14:40:14 +01:00
jsteube
4b78802dd1
Add -m 10000 module
2019-02-10 14:32:41 +01:00
jsteube
a2d2675d43
Add -m 9500 module
2019-02-10 14:22:34 +01:00
jsteube
9ffcbf6cab
Add -m 9400 module
2019-02-10 14:17:38 +01:00
jsteube
cc3169c51c
Add module for -m 9200
2019-02-10 12:44:48 +01:00
jsteube
aab4b030d8
Add -m 9100 module
2019-02-10 09:52:15 +01:00
jsteube
a10837b60b
Add -m 8800 module
2019-02-10 09:41:16 +01:00
jsteube
a183b5132b
Fix for -m 1100
2019-02-10 09:40:52 +01:00
jsteube
a1cad1108e
Add -m 8600 and -m 8700 module
2019-02-10 09:19:56 +01:00
jsteube
186f223667
Add -m 8400 module
2019-02-10 09:03:57 +01:00
jsteube
d5fae7670c
Add -m 8300 module
2019-02-09 23:50:11 +01:00
jsteube
fde470b315
Add -m 8100 module
2019-02-09 23:39:01 +01:00
mhasbini
75a013edf2
Add -m 40 module
2019-02-09 20:33:34 +02:00
jsteube
9d36a30b28
Add module -m 8000
2019-02-09 18:15:25 +01:00
jsteube
b8014f459e
Add module for -m 7900
2019-02-09 18:08:36 +01:00
jsteube
0cb56b7116
Add module for -m 7801
2019-02-09 17:55:24 +01:00
jsteube
d82149070a
Add module for -m 7701
2019-02-09 17:47:20 +01:00
jsteube
edbdfb23b3
Add module for -m 7700
2019-02-09 17:45:22 +01:00
jsteube
bb7de5db63
Add module for -m 7000
2019-02-09 16:57:26 +01:00
jsteube
9d1d05d85d
Add module for -m 7400
2019-02-09 16:56:36 +01:00
jsteube
3faf9116ce
Add module for -m 7400
2019-02-09 16:51:18 +01:00
jsteube
014cc8da6b
Add module for -m 7300
2019-02-09 16:44:03 +01:00
jsteube
6cca2ff7ce
Add module for -m 6900
2019-02-09 16:38:19 +01:00
jsteube
214593d4b1
Add module for -m 6300
2019-02-09 16:32:06 +01:00
jsteube
84357e2bd4
Add module for -m 6700
2019-02-09 16:28:29 +01:00
jsteube
80151320a2
Add module -m 6500
2019-02-09 12:25:55 +01:00
jsteube
ad0824261a
Add module for -m 6400
2019-02-09 12:07:25 +01:00
jsteube
3d203af066
Add module for -m 5700 and -m 5800
2019-02-09 10:03:58 +01:00
jsteube
36157f00d9
Add module -m 4800
2019-02-08 17:41:42 +01:00
jsteube
9f5b297ac9
Add module -m 3100
2019-02-08 17:32:47 +01:00
jsteube
ac1e4bc458
Add module -m 2410
2019-02-08 17:24:55 +01:00
jsteube
bf85dd5c53
Add module -m 8200
2019-02-08 16:33:53 +01:00
jsteube
89faa8330f
Add module -m 7200
2019-02-08 16:12:51 +01:00
jsteube
5cc04fe92a
Add module -m 6600
2019-02-08 16:04:11 +01:00
jsteube
d7db71042f
Add -m 14600 module
2019-02-08 15:40:27 +01:00
jsteube
e20fe6f3d1
add module -m 16700
2019-02-08 15:18:28 +01:00
jsteube
06d8f4cc7b
Add module -m 15600
2019-02-08 14:54:08 +01:00
jsteube
ff5d983886
Add module -m 16000
2019-02-08 14:30:34 +01:00
jsteube
68d9b798f5
Add missing -m 1100 module
2019-02-08 13:19:15 +01:00
Jens Steube
19c1e46fac
Merge branch 'hash-mode-plugin' into m00023_module
2019-02-08 13:10:02 +01:00
jsteube
c9e796fcf0
Add some more modules converted
2019-02-08 13:00:40 +01:00
jsteube
a59d1c17eb
Fix function declaration for execute_keyboard_layout_mapping()
2019-02-07 17:15:45 +01:00
jsteube
0c08e2fcab
Add missing cpu_sha256 in module linking
2019-02-07 17:14:55 +01:00
jsteube
2734464cd1
Fix missing KERN3 use if using OPTS_TYPE_DEEP_COMP_KERNEL
2019-02-07 17:14:10 +01:00
jsteube
6a33be5ea5
Get rid of module_build_plain_postprocess()
2019-02-07 17:11:49 +01:00
jsteube
9b842e30ab
Get rid of OPTI_TYPE_PRECOMPUTE_PERMUT
2019-02-07 17:05:02 +01:00
mhasbini
3b90c6c5a7
Add missing OPTS_TYPE & use a temporary buffer when encoding salt
2019-02-05 21:06:41 +02:00
mhasbini
4d125e62e7
Add -m 00023 module
2019-02-05 01:28:37 +02:00
jsteube
62c660afe2
Add -m 14600 module
2019-02-02 11:11:27 +01:00
jsteube
c197262831
Add -m 15700 module
2019-01-31 16:42:52 +01:00
jsteube
dfef2f9042
Add -m 9300 module
2019-01-31 15:35:23 +01:00
jsteube
fc648c02f5
Add -m 2000 module
2019-01-31 15:19:21 +01:00
jsteube
ccddfcd2f2
Add -m 1100 module
2019-01-31 11:11:47 +01:00
jsteube
5779fa9df6
Add missing modules 6800, 11300, 13400 and 13500
2019-01-31 10:39:53 +01:00
jsteube
78d2706038
Add -m 8900 module and module_extra_tmp_size()
2019-01-28 14:05:58 +01:00
mhasbini
f142651f15
Fix salt encoding
2019-01-27 23:09:54 +02:00
mhasbini
86d7f0a95b
Add -m 11500 module & unit test
2019-01-27 19:58:20 +02:00
jsteube
383b6fb4f7
Make hash-mode sorting in --help a bit more readable
2019-01-27 11:19:32 +01:00
jsteube
ec518a19b4
Add -m 16900 module
2019-01-27 10:58:11 +01:00
jsteube
773281a58b
Add -m 11300 module
2019-01-27 10:47:09 +01:00
jsteube
de851c28e1
Add -m 6800 module
2019-01-27 10:37:25 +01:00
jsteube
53f7f4c09d
Add -m 13400 module
2019-01-27 10:26:55 +01:00
jsteube
68736ff7a1
Add -m 18300 and -m 18100 module
2019-01-26 21:50:32 +01:00
jsteube
91f6d7c32e
Add -m 99999 module
2019-01-26 21:13:53 +01:00
jsteube
380e836cac
Add remaining truecrypt modules
2019-01-26 20:27:06 +01:00
jsteube
c9ad96bbf9
Add -m 6213 module
2019-01-26 19:32:01 +01:00
jsteube
f7d2dc8bfc
Add -m 6212 module
2019-01-26 19:29:59 +01:00
jsteube
8eb2558a7e
Add -m 6211 module and moved some code around
2019-01-26 16:54:29 +01:00
sharmo
646628e188
Add -m 21 module
2019-01-25 21:13:28 +01:00
jsteube
fa5d122fa0
Add unit test for -m 5500
2019-01-25 17:15:53 +01:00
jsteube
e1e1ac5341
Add module and unit test for -m 13000
2019-01-25 16:35:54 +01:00
jsteube
ae81ecf11c
Add module for -m 12500
2019-01-25 13:31:32 +01:00
jsteube
b729fe04b7
Add module and unit test for -m 11600
2019-01-25 11:24:17 +01:00
jsteube
2bd55bca74
Add missing hook_salt buffer parameter to decoder/encoder function declaration
2019-01-25 11:14:04 +01:00
Jens Steube
280cc63369
Merge branch 'hash-mode-plugin' into m17600_m18000_modes
2019-01-25 01:03:49 +01:00
Jens Steube
5a768138e5
Merge pull request #1889 from sharmony/hash-mode-plugin
...
add -m 12 module
2019-01-25 00:58:30 +01:00
sharmo
049d514d60
add -m 12 module
2019-01-24 22:33:06 +01:00
mhasbini
c2fdf6172d
Add module and unit test for -m 18000
...
Add -m 17600
2019-01-24 22:31:14 +02:00
mhasbini
48b710e73e
Add module and unit test for -m 17900
...
Add -m 17500
2019-01-24 22:18:02 +02:00
jsteube
83229acd6b
Add module and unit test for hash-mode 7100
2019-01-24 15:25:07 +01:00
jsteube
c67287e754
Add module and unit test for hash-mode 15000
2019-01-24 14:05:49 +01:00
jsteube
fc90bfc00c
Add module and unit test for hash-mode 15300
2019-01-24 13:43:07 +01:00
jsteube
67627607be
Add module and unit test for hash-mode 18200
2019-01-24 12:34:02 +01:00
jsteube
81c3edede3
Add module and unit test for hash-mode 13100
2019-01-24 12:07:24 +01:00
Jens Steube
17fdf8754d
Merge pull request #1885 from 0xbsec/m17400_m17800_modes
...
Add module and unit test for -m 17800 (& -m 17400 module)
2019-01-24 09:47:46 +01:00
mhasbini
2f89c47ee1
Add module and unit test for -m 17800
...
Add -m 17400
2019-01-23 23:57:46 +02:00
jsteube
4951816a30
Add module and unit test for hash-mode 7500
2019-01-23 16:29:14 +01:00
jsteube
fcebe9fadb
Add module and unit test for hash-mode 1800
2019-01-23 15:05:22 +01:00
jsteube
748a1aac22
Add module and unit test for hash-mode 12000
2019-01-23 11:05:40 +01:00
jsteube
d266cb5834
Fix -m 17300 and -m 17700 configuration
2019-01-22 23:24:17 +01:00
mhasbini
5497154a89
Add module and unit test for hash-mode 17700
2019-01-22 21:32:31 +02:00
Jens Steube
e1234a4bbc
Merge pull request #1881 from 0xbsec/m17300_module
...
Add -m 17300 module
2019-01-21 22:14:34 +01:00
mhasbini
9aeb4f602e
Migrate correct parsing function
2019-01-21 20:50:03 +02:00
jsteube
8ad3333d2a
Add module and unit test for hash-mode 3200
2019-01-21 15:22:58 +01:00
jsteube
4b9b59a3cb
Add module 5500
2019-01-21 13:28:52 +01:00
jsteube
3f2346e951
Support hashes in outfiles in outfile-check folder without password
2019-01-21 11:00:18 +01:00
jsteube
b2154b7ed9
Fix use-after-free of hash_name
2019-01-21 10:00:44 +01:00
jsteube
3cd3ba8e44
Fix gcc warnings
2019-01-20 23:02:12 +01:00
mhasbini
cc59de6538
Add -m 17300 module
2019-01-20 21:11:15 +02:00
jsteube
4b49ceea46
Fix module suffix on msys
2019-01-20 19:27:54 +01:00
jsteube
7d7c618629
Go back to code linking into modules until there's a better solution
2019-01-20 18:24:54 +01:00
jsteube
4557bcfbd9
Add modules back to default target
2019-01-20 17:18:22 +01:00
jsteube
e493704e5f
Add modules to make install target
2019-01-20 12:26:33 +01:00
jsteube
0bec0cfb89
Add -m 3000 module and unit test
2019-01-20 12:04:06 +01:00
jsteube
550b9018f9
Add -m 16801 module
2019-01-20 11:28:57 +01:00
jsteube
f859fbea66
Add -m 16800 module and unit test
2019-01-20 11:17:48 +01:00
jsteube
355ae342f7
Add -m 2501 module
2019-01-20 10:41:16 +01:00
jsteube
35265d43f3
Update outfile_check
2019-01-20 10:28:54 +01:00
jsteube
06a5e736b9
Add -m 500 unit test
2019-01-19 20:09:32 +01:00
jsteube
da413b4eaa
Add -m 5100 module
2019-01-18 22:56:37 +01:00
Gabriele Gristina
1541531a5a
Fix dnclen typo
2019-01-18 21:55:26 +01:00
jsteube
05b71b6bc0
Get rid of the compiler warnings caused by LZMA SDK
2019-01-18 08:34:36 +01:00
jsteube
a39f414def
Add -m 14100 module
2019-01-16 20:38:33 +01:00
jsteube
3b9a26c9f6
Fix -m 20 module
2019-01-16 20:18:40 +01:00
Jens Steube
91dc75b440
Merge pull request #1872 from pellejohnk/module-20
...
module-20: Added module for hashmode 20.
2019-01-16 20:07:48 +01:00
jsteube
1e31b3b271
Add -m 14000 module
2019-01-16 19:55:54 +01:00
Pelle Kuiters
34c8b7af77
module-20: Added module for hashmode 20.
2019-01-16 16:08:02 +01:00
jsteube
47f78199f8
Add -m 600 module
2019-01-15 17:12:13 +01:00
jsteube
bc1dd699e3
Add -m 1500 module
2019-01-15 11:53:59 +01:00
jsteube
2915266205
Add -m 18500 module
2019-01-15 10:35:49 +01:00
jsteube
85ae6d0905
Add -m 18600 module
2019-01-15 10:25:19 +01:00
jsteube
2a5f473ef1
Add -m 18400 module
2019-01-15 10:06:01 +01:00
jsteube
c3630b2f18
Allow modules to change value from user_options->hash_mode to something different in hashconfig->hash_mode. This will be required for modes that can automatically select the right hash_mode for the user for instance LUKS
2019-01-14 19:02:09 +01:00
jsteube
f6ea21449b
Add -m 5600 module
2019-01-14 16:16:34 +01:00
jsteube
6cb9142849
Fixed mandatory module functions check
2019-01-14 15:33:01 +01:00
jsteube
5e0ed24f43
Add CHECK_MANDATORY()
2019-01-14 15:22:28 +01:00
jsteube
79c8618025
Fix cross-compiled binaries and modules
2019-01-14 15:15:21 +01:00
jsteube
083d6e1fb2
Refresh dynloader management
2019-01-14 10:11:23 +01:00
jsteube
0cd2c5ab35
Use -export_dynamic instead of --export-dynamic on OSX
2019-01-14 09:24:58 +01:00
jsteube
56d7b8ceaa
Do not compile modules by default during migration
2019-01-14 09:08:03 +01:00
jsteube
555318f843
Replace -rdynamic with more cross-platform compatible --export-dynamic
2019-01-13 19:34:01 +01:00
jsteube
036e4eba2c
Use -rdynamic instead of including sources of depencies for module compilation
2019-01-13 19:16:00 +01:00
jsteube
b71e06fca8
Move module sources to src/modules
2019-01-13 15:28:42 +01:00
jsteube
2d4834b735
Add md5crypt based modules
2019-01-13 00:35:22 +01:00
jsteube
02fe28fe6c
Preparation for -m 501
2019-01-12 23:42:31 +01:00
jsteube
3c794b370b
Add -m 500 module
2019-01-12 21:48:18 +01:00
jsteube
676dd1c410
Clean up some migrated code from interface_migrated.c
2019-01-12 21:30:21 +01:00
jsteube
91fc5286fa
Fix module_hash_binary_parse check
2019-01-12 21:18:19 +01:00
jsteube
bc22bfee2e
Some cleanup
2019-01-12 15:05:33 +01:00
jsteube
17bd76ee62
Use settings from selftest hash for benchmark unless overriden by module hooks
2019-01-12 01:59:18 +01:00
jsteube
74265307fe
Automate module interface version management
2019-01-12 00:39:13 +01:00
jsteube
26033e5787
Make use of return length from ascii_digest instead of calling strlen()
2019-01-11 23:11:56 +01:00
jsteube
03f315a4ab
Automatic append of salts to SALT_TYPE_GENERIC hashes is comfortable but counter-intuitive, everything that gets decoded in the module should be also accessed when encoding it again
2019-01-11 22:50:05 +01:00
jsteube
fcfd07ceb2
Move parse_and_store_generic_salt to shared.c
2019-01-10 20:51:38 +01:00
jsteube
df1e00e4ed
Fix out-of-boundary reads in base32/base64 operations
2019-01-09 10:56:47 +01:00
jsteube
5e0dec0d6d
Bring back needed variables
2019-01-09 10:03:41 +01:00
jsteube
77739ec946
Remove unused variable
2019-01-09 10:02:03 +01:00
jsteube
6aa7c9befb
Prepare to make byte swapping more intuitional in encoding/decoding functions
2019-01-08 20:09:55 +01:00
Gabriele Gristina
7d3fee8a55
Fix Makefile DEBUG flags for OSX, add modules compiles by default
2019-01-08 16:32:27 +01:00
jsteube
0ae955c5ba
With this commit, all hash_mode depending branches from core files are converted into hooks which can be registered on a module level
2019-01-08 15:55:11 +01:00
jsteube
86819c070f
Add module_hash_save_binary() and module_hash_init_selftest()
2019-01-07 10:05:50 +01:00
jsteube
54edd16746
Clean up some code
2019-01-06 13:48:41 +01:00
jsteube
0186f025d3
Add support for hash modules to usage.c
2019-01-06 13:23:45 +01:00
jsteube
aec6a3bc99
Get rid of hash_mode depending branches in potfile.c
2019-01-06 12:04:42 +01:00
jsteube
4c133c4567
Prepare hash_category
2019-01-05 21:02:19 +01:00
jsteube
bbcc8fea29
Use MODULE_DEFAULT in module_init to reference a global default function
2019-01-05 20:17:12 +01:00
jsteube
888da50aad
Get rid of hash_mode depending branches in status.c
2019-01-05 19:18:30 +01:00
jsteube
e0deb3f825
Add module_deep_comp_kernel()
2019-01-05 18:44:43 +01:00
jsteube
6cbb5e4992
Refactor kernel_accel, kernel_loops and kernel_threads management in combination with modules
2019-01-05 18:24:37 +01:00
jsteube
9190be8d44
Add forced_kernel_accel function
2019-01-05 17:01:16 +01:00
jsteube
e17c3a54d8
Add hook for unstable_warning
2019-01-04 11:55:06 +01:00
jsteube
5633d6808f
Move hash_mode specific code which enforce the use of the JiT compiler to modules
2019-01-04 11:23:48 +01:00
jsteube
e537197184
Add module_build_plain_postprocess()
2019-01-03 15:43:19 +01:00
jsteube
704f353395
Update brain.c hash_mode access
2019-01-03 14:47:50 +01:00
jsteube
8afb54a93b
Fix --benchmark-all on windows
2018-12-30 17:02:11 +01:00
jsteube
a81a566121
Remove hashcat_ctx requirement in ascii_digest()
2018-12-21 15:58:15 +01:00
jsteube
73af860f43
Add functionality in test.pl to allow empty hash returns. This is required to enable hash-mode depending password length checks. NTLM supports just 27 characters in optimized mode, but single mode would produce 32, resulting in a non found password
2018-12-21 09:48:51 +01:00
jsteube
0421cc6782
Add OPTS_TYPE_PT_ALWAYS_HEXIFY
2018-12-20 16:12:29 +01:00
jsteube
0ce01b8836
Make use of module_hash_decode_outfile() in potfile.c as well
2018-12-20 15:46:26 +01:00
jsteube
cfc9772e0e
Add module_hash_decode_zero_hash()
2018-12-20 12:59:56 +01:00
jsteube
3ad6fab63e
Add module_potfile_disable()
2018-12-20 11:04:37 +01:00
jsteube
da30151b70
Get rid of hash_mode in outfile_check.c
2018-12-20 10:43:57 +01:00
jsteube
6928e5bfbe
Get rid of hash_mode in outfile_check.c
2018-12-20 10:33:29 +01:00
jsteube
ce0e19f185
Compile module as .dll example
2018-12-19 16:18:40 +01:00
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
2018-12-19 16:09:28 +01:00
jsteube
15f546bc4e
Update appveyor to not check dev branch
2018-12-19 15:20:48 +01:00
R. Yushaev
031094552b
Add Makefile target 'modules'
...
Allows to build all shared objects in modules directory using the
command 'make modules'. Also add objects to gitignore.
2018-12-19 14:31:32 +01:00
jsteube
7e1e1d34f8
Use real dlopen() to load the module
2018-12-19 13:43:45 +01:00
jsteube
fa0b8e643d
Fix pwdump column names
2018-12-19 11:15:18 +01:00
jsteube
ac55386553
Get rid of hash_mode in selftest.c
2018-12-19 10:58:06 +01:00
jsteube
ea22065b9c
Get rid of hash_mode in user_options.c
2018-12-19 10:13:51 +01:00
jsteube
e56c5035aa
Get rid of hash_mode in wordlist.c
2018-12-19 09:51:25 +01:00
jsteube
abbfc3d10b
Get rid of hash_mode in hlfmt.c
2018-12-18 16:59:00 +01:00
jsteube
4993a85b27
Get rid of hash_mode in dictstat.c
2018-12-18 15:00:00 +01:00
Jens Steube
9c0a1a53df
Merge pull request #1830 from hashcat/master
...
Backport from master
2018-12-18 14:39:51 +01:00
R. Yushaev
393916c0bf
Allow cracking non-unique salts for Office 2013
...
With hash-mode 9600 (MS Office 2013) there can be multiple hashes with
the same salt but with different encryption verifiers in esalt_bufs.
This commit adds the functionality to execute _comp kernels for
different hashes after deriving their common key once.
Fixes #1826
2018-12-18 14:32:56 +01:00
jsteube
e04cd244ab
Fix benchmark initializations
2018-12-17 18:55:20 +01:00
jsteube
3c37daf94b
Get rid of hash_mode in autotune.c
2018-12-17 18:49:07 +01:00
jsteube
f367b7ed91
Move code to migrate into separate files
2018-12-17 14:50:56 +01:00
jsteube
e2899aa83c
Move code to migrate into separate files
2018-12-17 14:47:34 +01:00
jsteube
074947c6db
Get rid of hashconfig_get_kernel_threads() and hashconfig_get_kernel_loops()
2018-12-17 13:03:32 +01:00
jsteube
af22a9d1d9
Remove hashconfig_forced_kernel_threads()
2018-12-17 12:42:07 +01:00
jsteube
6e794841e3
Add default_benchmark_esalt(), default_benchmark_hook_salt(), default_benchmark_salt()
2018-12-17 11:16:53 +01:00
jsteube
3cce072f40
Get rid of strhashtype()
2018-12-17 10:33:21 +01:00
jsteube
0364dd359e
Simplify use of default functions
2018-12-16 19:13:41 +01:00
jsteube
e79fa9c22f
Simplify use of default functions
2018-12-16 19:01:05 +01:00
jsteube
ca169a890c
Add more global default value functions
2018-12-15 19:46:55 +01:00
jsteube
1d8c31a7e2
Add more global default value functions
2018-12-15 19:04:05 +01:00
jsteube
a4fb31e8f7
Add more global default value functions
2018-12-15 16:24:37 +01:00
jsteube
3848c73f80
Add decoder_apply_optimizer ()
...
Add encoder_apply_optimizer ()
Add decoder_apply_options ()
Add encoder_apply_options ()
2018-12-15 15:22:40 +01:00
Jens Steube
bd37903131
Add hook_size, tmp_size, hook_salt_size
2018-12-14 17:18:17 +01:00
Jens Steube
9cf5d9cd6b
Merge pull request #1823 from hashcat/master
...
Backports from master
2018-12-14 15:33:53 +01:00
Jens Steube
3aecd150f9
Call module_hash_encode() in ascii_digest()
2018-12-14 15:29:57 +01:00
R. Yushaev
b5a7e967c1
Add support for Open Document Format 1.1
...
Contains a kernel for the ODF 1.1 encryption implemented in OpenOffice.
The algorithm uses a SHA-1 checksum, a PBKDF2-HMAC-SHA1 key derivation
with 1024 iterations and Blowfish-CFB encryption.
Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py
You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18600 --example-hashes'.
You can leave the filename prefix if you use the --username option to
process those hashes.
- Add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
- Tests: add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
2018-12-14 13:23:52 +01:00
R. Yushaev
875d6eb516
Fix selftest for hash-mode 18400
2018-12-14 13:09:54 +01:00
Jens Steube
222d76f01e
Replace parse_func() with module_hash_decode()
2018-12-14 12:22:13 +01:00
Jens Steube
ec3f3cd7b6
Switch from size_t to int
2018-12-14 12:21:14 +01:00
Jens Steube
42c3ab0485
Merge pull request #1820 from hashcat/master
...
backports from master
2018-12-13 14:22:28 +01:00
Jens Steube
376baa2b10
Merge pull request #1814 from s3inlc/algorithm/1652
...
Added hash mode 18500 sha1(md5(md5($pass)))
2018-12-13 14:21:22 +01:00
Sein Coray
af5d512b6f
Added new hash mode 18500 in usage
2018-12-10 17:02:22 +01:00
Sein Coray
a70a0513bf
Added hash mode 18500 sha1(md5(md5($pass)))
...
closes hashcat/hashcat#1652
2018-12-10 16:11:11 +01:00
philsmd
7646509234
fixed validation of the --brain-client-features value
2018-12-10 13:16:41 +01:00
Jens Steube
c6dcb1b8ae
Merge pull request #1809 from hashcat/master
...
Backports from master
2018-12-09 20:41:00 +01:00
R. Yushaev
074fad9fef
Correct buffer size parameter in snprintf calls
...
There are approx. 240 snprintf calls that set the target buffer size to
out_len - 1 or similar. This "mind the null character" subtraction is
unnecessary since snprintf already includes the string termination into
the given buffer size.
2018-12-07 10:37:56 +01:00
Jens Steube
15ece0902f
Merge pull request #1804 from Naufragous/odf-cracking
...
Add support for Open Document Format 1.2
2018-12-07 09:36:31 +01:00
Jens Steube
9d213147e8
Merge pull request #1805 from mcovalt/electrum_salt_type_2
...
Electrum Salt-Type 2
2018-12-07 09:33:13 +01:00
R. Yushaev
6a5b0c821e
Add support for Open Document Format 1.2
...
Contains a kernel for the latest ODF 1.2 encryption implemented in
LibreOffice. The algorithm uses a SHA-256 checksum, a PBKDF2-HMAC-SHA1
key derivation with 100000 iterations and key stretching and AES-CBC
encryption.
Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py
You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18400 --example-hashes'.
You can leave the filename prefix if you use the --username option to
process those hashes.
- Add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
- Tests: add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
2018-12-06 18:00:09 +01:00
Matt Covalt
e2ac101526
Update interface.c to remove non-existant Salt-Type 3 support.
2018-12-06 08:33:42 -08:00
Jens Steube
55add7c60e
The goal of this branch to develop a plugin like interface for hashcat kernels.
...
The modification of existing core source files to add new hashcat kernels conflicts with the idea of having private hashcat kernel repositories especially when backporting latest hashcat core changes and new features.
The final outcome of this should be a plugin format that does not require modifications on the core soruce files.
Also convert all existing hash-modes to hashcat modules.
We'll start with dynamic loading the modules at runtime rather than linking them at compile time.
This will require some extra code for different OS types but should beneficial on a long term.
This commit add some first ideas of how such modules could look like, however there's no dynamic loading interface yet.
Next steps will be removing all hash-mode depending special code from source files and move them to the modules.
Finally merge with master.
2018-12-06 14:02:10 +01:00
Matt Covalt
71d9369a70
Correct Electrum Wallet Salt-Type support
2018-12-05 10:53:14 -08:00
Sein Coray
c941e55a35
Extended IKE PSK md5/sha1 (-m 5300/5400) to print hashes correctly
2018-12-05 12:57:54 +01:00
philsmd
2ee7306322
Set github master to non-production mode
2018-12-04 11:54:05 +01:00
Jens Steube
72319875d8
Update version to 5.1.0
2018-12-02 11:58:48 +01:00
Jens Steube
0b2ffec379
Fixed selection of OpenCL devices (-d) if there's more than 32 OpenCL devices installed
2018-11-30 22:59:43 +01:00
R. Yushaev
baf47d409e
Add Camellia support for VeraCrypt kernels
...
Adds suport for the Japanese cipher Camellia with 256-bit keys as used
by VeraCrypt.
- Add Camellia header decryption checks to all VeraCrypt kernels
- Add test containers for remaining cipher combinations
2018-11-28 14:21:14 +01:00
Jens Steube
b457f402c6
Fix output of mapped password in status screen
2018-11-26 12:39:17 +01:00
Jens Steube
79263c142d
Fix parameter name spelling
2018-11-26 09:38:13 +01:00
Jens Steube
fca4f7e8a6
Prepare to use --keyboard-layout-mapping for algorithms other than TC/VC
2018-11-25 18:21:07 +01:00
Jens Steube
ee2854ec2a
Support multi-byte characters for TC/VC keyboard layout mapping tables
2018-11-25 13:31:37 +01:00
R. Yushaev
8b04be0e93
Add Kuznyechik support for VeraCrypt kernels
...
Adds support for the Russian cipher specified in GOST R 34.12-2015, also
known as Kuznyechik (Grasshopper).
- Add Kuznyechik header decryption checks to all VeraCrypt kernels
- Add test containers for available Kuznyechik cipher combinations
2018-11-22 16:07:45 +01:00
Jens Steube
ed8384d4bc
OpenCL Runtime: Disable auto-vectorization for Intel OpenCL runtime to workaround hanging JiT since version 18.1.0.013
2018-11-21 12:03:47 +01:00
Jens Steube
c9da60c73a
Fixed thread count maximum for pure kernels in straight attack mode
2018-11-20 15:29:24 +01:00
Jens Steube
490050ecb3
Update usage.c description for --spin-damp
2018-11-20 14:52:49 +01:00
Jens Steube
e770449702
OpenCL Runtime: Use our own yielding technique for synchronizing rather than vendor specific
...
Parameter: Rename --nvidia-spin-damp to --spin-damp (now accessible for all devices)
2018-11-20 12:32:24 +01:00
Jens Steube
ae577410d0
OpenCL Device: Do a real query on OpenCL local memory type instead of just assuming it
2018-11-20 10:06:34 +01:00
jsteube
1156cf7207
Fixed invalid hardware monitor detection in benchmark mode
...
Fixes https://github.com/hashcat/hashcat/issues/1787
2018-11-17 14:40:30 +01:00
Jens Steube
49fc7d45b7
- Keymaps: Added hashcat keyboard mapping us.hckmap (can be used as template)
...
- Keymaps: Added hashcat keyboard mapping de.hckmap
2018-11-15 22:29:03 +01:00
Jens Steube
400be920ba
Add missing non-boot volumes support
2018-11-15 15:05:30 +01:00
Jens Steube
5d5ac1c935
Prepare for on-the-fly keyboard layout substituations required to crack booting TrueCrypt/VeraCrypt volumes
2018-11-15 14:35:51 +01:00
Jens Steube
9afed4b88d
Pidfile: Treat a corrupted pidfile like a not existing pidfile
2018-11-14 09:32:06 +01:00
Royce Williams
3bf663bee1
clarify xxHash change; add 'APFS' to Apple File System refs
2018-11-12 11:31:01 -09:00
Jens Steube
06b39dc3d5
Startup: Show OpenCL runtime initialization message (per device)
2018-11-12 20:45:05 +01:00
Jens Steube
a5e8818805
Start client index from 1 instead of 0
2018-11-12 20:19:59 +01:00
Jens Steube
fde9b86962
Fix invalid initialization for client_idx not present in 5.0.0
2018-11-12 17:10:54 +01:00
Jens Steube
566b1c67b5
Small improvement in --speed-only and --progress-only accuracy
2018-11-12 14:59:42 +01:00
Jens Steube
bb758d66e8
Revert "Simplify some code"
...
This reverts commit 2d15fa07e7
.
2018-11-12 14:34:44 +01:00
Jens Steube
2d15fa07e7
Simplify some code
2018-11-12 14:27:30 +01:00
Jens Steube
a402822646
Fixed output of --speed-only and --progress-only in case a fast hash is used in combination with --slow-candidates
2018-11-12 14:20:42 +01:00
Jens Steube
a4200ba167
Added hash-mode 18300 (Apple File System)
...
Fixes https://github.com/hashcat/hashcat/issues/1686
2018-11-12 11:37:01 +01:00
Jens Steube
2aff01b20e
Hardware Monitor: Renamed --gpu-temp-abort to --hwmon-temp-abort
...
Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
Fixed invalid warnings about throttling in case --hwmon-disable was used
Fixes https://github.com/hashcat/hashcat/issues/1757
2018-11-09 12:48:27 +01:00
Jens Steube
9edc45e5d8
Fix copy/paste error
2018-11-08 13:23:36 +01:00
Jens Steube
6befe6225c
Merge pull request #1771 from Naufragous/veracrypt-streebog
...
Add VeraCrypt Streebog support
2018-11-08 13:02:06 +01:00
Jens Steube
4177e1ee28
Replace gitmodules with files and add support for system-wide libraries
2018-11-08 12:52:06 +01:00
R. Yushaev
47bd838e25
Add VeraCrypt Streebog support
...
VeraCrypt added the possibility to use Streebog-512 as hashing algorithm
for the key derivation. This commit adds the necessary VeraCrypt kernels
as well as additional HMAC-Streebog kernels.
- Add hash-mode 13771: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 512 bit
- Add hash-mode 13772: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1024 bit
- Add hash-mode 13773: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1536 bit
- Add hash-mode 11750: HMAC-Streebog-256 (key = $pass), big-endian
- Add hash-mode 11760: HMAC-Streebog-256 (key = $salt), big-endian
- Add hash-mode 11860: HMAC-Streebog-512 (key = $salt), big-endian
- Add test suite for hash-modes 11750, 11760 and 11860
- Improve pure Streebog kernels
2018-11-08 11:46:31 +01:00
Sein Coray
de5f0ceb5e
Fixed separator parsing for additional algorithms
2018-11-08 09:08:36 +01:00
Jens Steube
b1a460ade2
Fixed status output of progress value in case -S and -l used in combination
2018-11-07 14:20:40 +01:00
Royce Williams
2cbe036cda
--kernel-threads naming consistency
2018-11-06 06:09:30 -09:00
Jens Steube
2a366741a5
Added new option --kernel-threads to manually override the automatically calculated number of threads
2018-11-06 16:06:06 +01:00
Jens Steube
3eab677bdf
Move the system include where it belongs to
2018-11-04 14:26:19 +01:00
Jens Steube
9baf728fe7
Fixed token configuration for:
...
- descrypt_parse_hash
- keccak_*_parse_hash
- sha256crypt_parse_hash
- drupal7_parse_hash
2018-11-04 12:49:56 +01:00
Jens Steube
82cdd585f0
Fixed token configuration for -m 6700
2018-11-04 10:11:29 +01:00
Jens Steube
344ea5b36d
Memory: Reduced default maximum bitmap size from 24 to 18 and give a notice to use --bitmap-max to restore
2018-11-04 10:07:45 +01:00
Jens Steube
399bd2562a
Fixed checking the length of the last token in a hash if it was given the attribute TOKEN_ATTR_FIXED_LENGTH
...
Fixes https://github.com/hashcat/hashcat/issues/1755
2018-11-04 09:41:07 +01:00
Jens Steube
83632a83e4
Memory: Limit maximum host memory to allocate depending on bitness
2018-11-03 18:16:49 +01:00
Jens Steube
b19a03aa84
No need to compute brain_session if --brain-client is not set
2018-11-03 13:15:23 +01:00
Jens Steube
a4a9d29420
Fixed calculation of brain-attack if a given wordlist has the size zero
...
Fixes https://github.com/hashcat/hashcat/issues/1756
2018-11-03 12:20:55 +01:00
Jens Steube
d4dad3e1e3
Added support to use --stdout in brain-client mode
2018-11-01 12:21:32 +01:00
Jens Steube
ff6e403703
Fixed ignoring --brain-client-features configuration in case brain-server has attack positions informations from a previous run
2018-11-01 12:03:28 +01:00
Jens Steube
175fea4094
Fixed out-of-bounds write in short-term memory of the brain-server
2018-11-01 11:54:40 +01:00
Jens Steube
3b8abb7f0d
Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system
2018-11-01 11:09:37 +01:00
R. Yushaev
a8eb611b1c
Add HMAC-Streebog-512 (pure kernels)
...
Implement HMAC based on GOST 34.11-2012 Streebog-512 as well as a test
case for it. Both the PyGOST + hmac python module and the VeraCrypt HMAC
for Streebog-512 were used as references. The kernels expect the digests
to be in big-endian order according to the RFC examples for Streebog.
Fix two bugs from commit 224315dd62
.
- Add hash-mode 11850: HMAC-Streebog-512 (key = $pass), big-endian
- Add test case for hash-mode 11850
- Bugfix for a3-pure Streebog kernels (modes 11700 and 11800)
- Rename a few Streebog constants in interface.h
2018-10-31 14:42:02 +01:00
Jens Steube
3b2c3f419d
Merge branch 'master' of https://github.com/hashcat/hashcat
2018-10-31 12:07:04 +01:00
Jens Steube
573454cc5e
Remove client_fd initializer
2018-10-31 12:06:56 +01:00
Jens Steube
3faf92a261
Merge pull request #1748 from philsmd/master
...
fixes #1744 : added --stdin-timeout-abort to allow a custom time to wait before abort
2018-10-31 12:05:39 +01:00
philsmd
dbb81fb48e
fixes #1744 : added --stdin-timeout-abort to allow a custom time (in seconds) to wait before abort (use 0 to disabled it)
2018-10-31 11:37:06 +01:00
Jens Steube
2fbd711495
Move WSAStartup() call back to user_options
2018-10-31 11:14:21 +01:00
Jens Steube
80737b1f8d
Some brain logging fixes
2018-10-31 10:58:52 +01:00
Jens Steube
61ded2bd54
Fixed missing call to WSAStartup() and client indexing in order to start the brain server on windows
2018-10-31 10:50:16 +01:00
Jens Steube
81a4604964
Set github master to non-production mode
2018-10-31 08:56:15 +01:00
Jens Steube
5f53a9ec32
Fix endianness and invalid separator character in outfile format of hash-mode 16801 (WPA-PMKID-PMK)
2018-10-31 08:55:32 +01:00
Arseniy Sharoglazov
ee873da300
Added hash-modes 18200 (Kerberos 5 AS-REP etype 23)
2018-10-30 19:05:44 +03:00
R. Yushaev
9951e9580d
Fix duplicate brain status bug
2018-10-29 14:45:35 +01:00
R. Yushaev
224315dd62
Add pure kernels and tests for Streebog hashes
...
Complete Streebog support with pure kernels that allow for passwords
longer than 64 characters. Provide generic inc_hash_streebog files
for future Streebog-based hash modes (HMAC, PBKDF2, VeraCrypt).
Include streebog support in the test suite. For this, python module
PyGOST is needed. Also add clarification to hash mode description
stating that Streebog hashes are expected in big-endian byte order.
There are several implementations, including PyGOST, which default
to little-endian byte order, while the RFC examples are big-endian.
- Add pure kernels for hash-mode 11700 (Streebog-256)
- Add pure kernels for hash-mode 11800 (Streebog-512)
- Tests: Add hash-modes 11700 (Streebog-256) and 11800 (Streebog-512)
2018-10-29 10:33:30 +01:00
Jens Steube
915da5fee3
Some fixes for macOS
2018-10-28 17:29:39 +01:00
Jens Steube
dc39deba0f
Update version to 5.0.0
2018-10-28 16:51:00 +01:00
Jens Steube
d6fe2c7cd4
The hashcat brain
2018-10-28 16:47:13 +01:00
Jens Steube
24ce7bacae
Updated Intel OpenCL runtime version check
2018-10-26 21:16:32 +02:00
Jens Steube
f3f4ab4421
Do not return -1 in case of --keyspace
2018-10-25 13:56:03 +02:00
Sein Coray
591c1db0f6
Changed separator for certain hash algorithms to be static
2018-10-25 11:37:54 +02:00
R. Yushaev
831075b532
Fixed the byte order of digest output for hash-mode 11800 (Streebog-512)
2018-10-25 10:44:24 +02:00
Jens Steube
e2a9409413
Merge pull request #1710 from unix-ninja/master
...
Add support for TOTP (RFC 6238)
2018-10-22 20:49:31 +02:00
unix-ninja
55d56baaa5
Fix digest to allow auto optimized code by compiler
2018-10-22 08:25:05 -04:00
unix-ninja
1809794299
Simplify code in check_hash()
2018-10-22 08:02:57 -04:00
Jens Steube
99709a32a3
Allow keepass iteration count to be larger than 999999
2018-10-21 13:32:07 +02:00
Jens Steube
adb1686b9a
Override --quiet and show final status screen in case --status is used
...
Fixes #1720
2018-10-21 11:50:44 +02:00
Jens Steube
4359f61f84
Make sure to initialize INPUT_RECORD variables because of the union data type section
2018-10-21 11:31:51 +02:00
unix-ninja
cef3c1cb06
Use C99 format specifier
2018-10-20 22:00:15 -04:00
Jens Steube
d4123333c0
Do stdin read timeout check only in case no data has been processed
2018-10-20 18:53:14 +02:00
jsteube
d96b649751
Add support for -a 1 in -S mode
2018-10-20 18:00:42 +02:00
jsteube
32b915fd01
Get rid of some old compiler warning flags in Makefile
2018-10-20 17:35:54 +02:00
Jens Steube
8ca4e46f2c
Remove some debugging code
2018-10-20 11:52:27 +02:00
Jens Steube
a4ac370496
Test fix for plain_t in 32 bit mode
2018-10-20 09:46:24 +02:00
unix-ninja
6558253d72
Don't cause memory leaks...
2018-10-19 15:37:02 -04:00
unix-ninja
fddfd835d2
Support 64 bit timestamps properly
2018-10-19 15:35:52 -04:00
unix-ninja
770e21e5ee
Support 64 bit timestamps properly
2018-10-19 15:16:46 -04:00
unix-ninja
8b2af6b207
More code style changes
2018-10-19 08:45:44 -04:00
R. Yushaev
4d457ca141
Fix conflicts caused by PR GH-1717
2018-10-19 10:53:23 +02:00
unix-ninja
3869ce9246
More coding style fixes
2018-10-18 08:55:55 -04:00
Jens Steube
5ee3e502f8
Fixed missing wordlist encoding in combinator mode
...
Fixes #1668
2018-10-18 14:19:07 +02:00
Jens Steube
4a9171ca5d
Fix use of select() on stdin on windows
...
Fixes #1705
2018-10-18 11:20:01 +02:00
unix-ninja
ac2b811941
Categorize TOTP under "One-Time Passwords"
2018-10-17 19:27:06 -04:00
unix-ninja
db4ec8ed2c
Fix formatting to comply with hashcat coding guidelines
2018-10-17 16:34:34 -04:00
unix-ninja
23ee9379c1
Fix zero-padding on token output for matches
2018-10-17 11:47:04 -04:00
unix-ninja
27366c3eff
Don't duplicate existing functionality
2018-10-17 11:44:34 -04:00
unix-ninja
d66200a406
Force --keep-guessing on mode 18100
2018-10-17 08:17:48 -04:00
unix-ninja
83c78cdf0b
Cleanup unused code
2018-10-17 08:15:49 -04:00
philsmd
73ed017daf
stdin: add read timeout checks (abort if no input for a long time)
2018-10-17 10:55:47 +02:00
Jens Steube
5b8a35a118
Fix returncode from hashcat in case --show or --left was used
2018-10-17 09:13:54 +02:00
unix-ninja
37983de4b2
Fix compile warnings in totp_parse_hash()
2018-10-16 17:39:46 -04:00
unix-ninja
3c3b05d1e5
Resolve conflicts
2018-10-16 15:48:20 -04:00
unix-ninja
6cda8f7077
Change TOTP index from 17300 to 18100
2018-10-16 15:33:09 -04:00
unix-ninja
977b560bb4
Add support for TOTP (RFC 6238)
2018-10-16 15:05:14 -04:00
philsmd
b1465693a3
fixes #1708 : reject invalid masks with only a single ? at the end
2018-10-16 15:59:20 +02:00
R. Yushaev
5c87720acc
Add SHA3 and Keccak
...
The previous hash-mode 5000 covered Keccak-256 only. FIPS changed one
padding byte while adopting Keccak as the SHA3 standard, which gives us
different digests. Now we have separate kernels for SHA3 and Keccak.
- Added hash-mode 17300 = SHA3-224
- Added hash-mode 17400 = SHA3-256
- Added hash-mode 17500 = SHA3-384
- Added hash-mode 17600 = SHA3-512
- Added hash-mode 17700 = Keccak-224
- Added hash-mode 17800 = Keccak-256
- Added hash-mode 17900 = Keccak-384
- Added hash-mode 18000 = Keccak-512
- Removed hash-mode 5000 = SHA-3 (Keccak)
2018-10-15 16:06:31 +02:00
Jens Steube
6f8b90a11a
Add support for latest OpenCL headers from Khronos
2018-10-14 12:39:11 +02:00
Jens Steube
8452930795
Allow hashfile for -m 16800 to be used with -m 16801
2018-10-14 11:39:31 +02:00
Jens Steube
6afe989bed
Fixed the tokenizer configuration in postgres hash parser
2018-10-14 11:38:31 +02:00
Chrjsen
91bab324b3
Fixed spelling error in user_options.c
2018-10-04 21:31:13 +02:00
Jens Steube
1b980cf010
Allow hashfile for -m 16800 to be used with -m 16801
2018-09-29 11:52:21 +02:00
Rosen Penev
77daf05dd0
Add HC_API_CALL to a few functions
...
On 32-bit MinGW, clang was throwing errors about this.
64-bit MinGW and regular MSYS does not throw warnings after the change.
2018-09-18 16:34:00 -07:00
Michael Sprecher
1892b842d7
Increased the maximum size of edata2 in Kerberos 5 TGS-REP etype 23
2018-09-12 12:25:02 +02:00
jsteube
d6ed195db9
Add -a 1 support for slow candidates mode
2018-09-01 23:12:56 +02:00
jsteube
5f797147fb
Link ws2_32 in order to make use of select()
2018-09-01 14:09:24 +02:00
jsteube
fd71da8ade
Add timeout to fgets() for later use
2018-09-01 13:19:29 +02:00
jsteube
52c52836e3
Add new option --slow-candidates which allows hashcat to generate passwords on-host
2018-09-01 12:31:17 +02:00
Jens Steube
466ea8eaba
Fixed detection of unique ESSID in WPA-PMKID-* parser
2018-08-31 15:47:48 +02:00
philsmd
2933f3320a
outfile check: performance improvement by using binary instead of linear search
2018-08-31 12:55:05 +02:00
Jens Steube
a134ea52b3
Fixed a race condition in status view leading to out-of-bound reads
2018-08-30 21:31:05 +02:00
Jens Steube
3e149843ae
Fixed detection of unique ESSID in WPA-PMKID-* parser
2018-08-30 11:13:44 +02:00
Jens Steube
4fa970fbf5
Merge pull request #1673 from RAN1/master
...
Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
2018-08-30 11:06:26 +02:00
Jens Steube
99fbbd4639
Merge pull request #1672 from philsmd/master
...
outfile check: improve response time when quitting hashcat
2018-08-30 10:54:34 +02:00
RAN1
40cc9b948f
hwmon_ctx_init: return on speed_only and progress_only
2018-08-29 22:38:03 -04:00
RAN1
ec1b6442b1
Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
2018-08-28 16:28:44 -04:00
philsmd
93216c76a3
outfile check: improve response time when quitting hashcat
2018-08-26 17:51:40 +02:00
Xanadrel
3466e5eb5a
--potfile-path should be File and not Dir in the --help
2018-08-25 00:14:51 +02:00
jsteube
a3ee4d7188
Do not allocate memory segments for bitmap tables if we dont need it, for example in benchmark mode
2018-08-24 12:59:28 +02:00
philsmd
0f449b6440
hcstat2: allow to use option --markov-hcstat2 instead of just --markov-hcstat
2018-08-23 09:10:54 +02:00
jsteube
067ffa9d64
Add more tracker for amplifier and iterations to status screen
2018-08-18 02:17:42 +02:00
jsteube
27db8ced7e
Add a tracker for salts, amplifier and iterations to status screen
2018-08-18 01:41:07 +02:00
Michael Sprecher
e975612f82
Fixed the ciphertext max length in Ansible Vault parser
2018-08-16 12:13:22 +02:00
Michael Sprecher
5536ab9917
Getting rid of OPTS_TYPE_HASH_COPY for Ansible Vault
2018-08-15 23:32:58 +02:00
philsmd
1c49ff39f1
fixes #1654 : missing mask in output of --stdout -a 7
2018-08-15 13:32:08 +02:00
Jens Steube
ae5c0ef1ba
Merge branch 'master' of https://github.com/hashcat/hashcat
2018-08-14 15:39:57 +02:00
Jens Steube
ce9b56e06c
Allow bitcoin master key length not be exactly 96 byte a multiple of 16
2018-08-14 15:39:39 +02:00
jsteube
a5746548e8
Allow use of hash-mode 7900, 10700 and 13731 on AMD devices after workaround
2018-08-13 13:41:43 +02:00
jsteube
dad05d9f69
Testing: Workaround some AMD OpenCL runtime segmentation faults
2018-08-09 13:03:22 +02:00
jsteube
762e5d5cda
Go back into development mode
2018-08-08 23:01:32 +02:00
jsteube
4963357fac
Update to v4.2.1
2018-08-07 14:04:04 +02:00
jsteube
95b420dfb4
Use special CFLAGS for LZMA compile
2018-08-06 21:50:01 +02:00
jsteube
634dd71384
Remove some suppressed warnings
2018-08-06 21:04:48 +02:00
jsteube
afd1efd59c
Fixed a buffer overflow in precompute_salt_md5() in case salt was longer than 64 characters
2018-08-06 15:35:35 +02:00
jsteube
9f54c3dd14
Transfer only a few byte should be enough to force the runtime to actually allocate the memory
2018-08-06 14:46:52 +02:00
jsteube
242d991def
Fix memleak in memory evaluation
2018-08-06 10:25:19 +02:00
jsteube
f9b13035f2
Limit evaluate available memory check to nvidia runtime
2018-08-06 10:16:29 +02:00
jsteube
86fc587182
Be a bit more sensible while try to evaluate available memory
2018-08-06 00:20:39 +02:00
jsteube
e67195aa11
Try to evaluate available OpenCL device memory and use this information instead of total available OpenCL device memory for autotune
2018-08-05 23:29:54 +02:00
jsteube
1d7e1ba7e5
Unset PRODUCTION
2018-08-03 22:42:09 +02:00
jsteube
9c0ba3a640
Fix speed report in case --machine-readable is used
2018-08-02 20:47:17 +02:00
jsteube
c1edc5d562
Increase max PWS space to 1GB to allow higher -n values for GPU with lots of compute units
2018-08-02 20:20:58 +02:00
Jens Steube
4a856b1149
Merge pull request #1643 from hops/master
...
Added hash-mode 16900 = Ansible Vault
2018-08-01 20:28:00 +02:00
Michael Sprecher
3a321c8dce
Added hash-mode 16900 = Ansible Vault
2018-08-01 19:44:30 +02:00
jsteube
d11070729b
Fix Token Length Exception on NetNTLMv2 hashes
2018-08-01 19:09:41 +02:00
jsteube
39af031ced
Fix Token Length Exception on NetNTLMv1 hashes
2018-07-31 17:31:54 +02:00
jsteube
bdec457951
TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start
2018-07-31 16:18:45 +02:00
jsteube
c1ebfe486f
Refactor --progress-only and --speed-only calculation
2018-07-31 14:41:25 +02:00
jsteube
cd0923f1b8
General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile
2018-07-30 13:23:48 +02:00
Jens Steube
0e2c94c695
Merge pull request #1635 from RAN1/master
...
Add macOS library install pathnames
2018-07-29 15:30:17 +02:00
RAN1
276538b141
Use only library install path for macOS library
2018-07-27 13:55:51 -04:00
jsteube
cc390f200e
Fix typo
2018-07-27 16:02:05 +02:00
jsteube
b1788a934e
Fix missing TOKEN_ATTR_VERIFY_SIGNATURE in phpass_parse_hash()
2018-07-26 13:22:28 +02:00
jsteube
9d43111730
Fix broken hex notation
2018-07-26 11:41:56 +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
RAN1
5bfdf79ed8
Add macOS library install pathnames
2018-07-24 19:04:20 -04:00
jsteube
cc8fa3ee80
Remove TOKEN_ATTR_TERMINATE_STRING from input_tokenizer() and replace with equalivalent code where it's needed
2018-07-24 13:55:23 +02:00
Jens Steube
a9b98a2d54
Merge pull request #1634 from magnumripper/master
...
Fix a couple of gcc-6 -Wpointer-sign build warnings.
2018-07-24 12:05:14 +02:00
magnum
f5e9f4dc85
Fix a couple of gcc-6 -Wpointer-sign build warnings.
2018-07-24 10:57:54 +02:00
RAN1
fa75e85896
Fix shared install on macOS
2018-07-23 17:09:37 -04:00
Michael Sprecher
07840c9fe3
Fixed a missing check for hashmodes using OPTS_TYPE_PT_UPPER causing the self-test to fail when using combinator- and hybrid-mode
2018-07-23 19:09:58 +02:00
philsmd
2e1845ec11
fixes #1624 : increase esalt/nonce buffer to 1024 for -m 11400 = SIP
2018-07-23 15:51:39 +02:00
jsteube
2530f83029
Move LZMA SDK files into separate folder for compiling
2018-07-23 13:36:23 +02:00
jsteube
81f909e229
Prepare for v4.2.0 release
2018-07-23 12:12:33 +02:00
jsteube
34bf28f9d4
Fix __add3 bitops in host code
2018-07-22 12:23:18 +02:00
Jens Steube
eb563f5a10
Fix minimum line length for token 3 in saph_sha1_parse_hash()
2018-07-21 14:09:52 +02:00
Jens Steube
a33af21642
Fix some output formats after refactorization with input_tokenizer()
2018-07-20 20:29:00 +02:00
jsteube
048298020e
All remaining parser functions have been rewritten to make use of input_tokenizer():
...
chacha20_parse_hash
crammd5_dovecot_parse_hash
electrum_wallet13_parse_hash
ethereum_pbkdf2_parse_hash
ethereum_presale_parse_hash
ethereum_scrypt_parse_hash
filevault2_parse_hash
filezilla_server_parse_hash
jks_sha1_parse_hash
jwt_parse_hash
mywalletv2_parse_hash
netbsd_sha1crypt_parse_hash
plaintext_parse_hash
tacacs_plus_parse_hash
tripcode_parse_hash
Removed old generic salt parser function parse_and_store_salt()
2018-07-20 11:00:39 +02:00
jsteube
85aef30dff
The following parser functions have been rewritten to make use of input_tokenizer():
...
opencart_parse_hash
des_parse_hash
win8phone_parse_hash
sha1cx_parse_hash
itunes_backup_parse_hash
skip32_parse_hash
2018-07-19 17:14:33 +02:00
jsteube
8903adb164
Added OpenCL device utilization to status information in machine readable output
2018-07-18 18:14:42 +02:00
jsteube
ed0ac581cd
The following parser functions have been rewritten to make use of input_tokenizer():
...
keepass_parse_hash
zip2_parse_hash
2018-07-18 17:59:44 +02:00
jsteube
558c2c4aa5
The following parser functions have been rewritten to make use of input_tokenizer():
...
ms_drsr_parse_hash
androidfde_samsung_parse_hash
rar5_parse_hash
krb5tgs_parse_hash
axcrypt_parse_hash
2018-07-17 16:13:55 +02:00
jsteube
a6b52d6faf
The following parser functions have been rewritten to make use of input_tokenizer():
...
ecryptfs_parse_hash
bsdicrypt_parse_hash
rar3hp_parse_hash
cf10_parse_hash
mywallet_parse_hash
2018-07-16 18:22:58 +02:00
jsteube
e1fd84255b
Some fixes for seven_zip_parse_hash() using input_tokenizer()
2018-07-15 20:54:49 +02:00
jsteube
230ec5e004
Add TOKEN_ATTR_TERMINATE_STRING feature to input_tokenizer()
...
The following parser functions have been rewritten to make use of input_tokenizer():
bitcoin_wallet_parse_hash
sip_auth_parse_hash
crc32_parse_hash
oraclet_parse_hash
seven_zip_parse_hash
2018-07-15 18:10:04 +02:00
jsteube
39418571db
The following parser functions have been rewritten to make use of input_tokenizer():
...
prestashop_parse_hash
postgresql_auth_parse_hash
mysql_auth_parse_hash
2018-07-14 22:40:03 +02:00
jsteube
cd552eb54d
The following parser functions have been rewritten to make use of input_tokenizer():
...
pdf14_parse_hash
pdf17l8_parse_hash
pbkdf2_md5_parse_hash
pbkdf2_sha1_parse_hash
pbkdf2_sha256_parse_hash
pbkdf2_sha512_parse_hash
2018-07-14 12:48:54 +02:00
jsteube
6ee7709d27
The following parser functions have been rewritten to make use of input_tokenizer():
...
djangopbkdf2_parse_hash
siphash_parse_hash
crammd5_parse_hash
saph_sha1_parse_hash
pdf11_parse_hash
pdf11cm2_parse_hash
2018-07-13 09:59:59 +02:00
jsteube
bc8ed67a11
The following parser functions have been rewritten to make use of input_tokenizer():
...
oldoffice01_parse_hash
oldoffice01cm2_parse_hash
oldoffice34_parse_hash
oldoffice34cm2_parse_hash
2018-07-12 18:06:00 +02:00
jsteube
9f4655e131
The following parser functions have been rewritten to make use of input_tokenizer():
...
lotus8_parse_hash
cisco8_parse_hash
cisco9_parse_hash
office2007_parse_hash
office2010_parse_hash
office2013_parse_hash
2018-07-11 11:57:43 +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
1b30a1d6c7
The following parser functions have been rewritten to make use of input_tokenizer():
...
nsec3_parse_hash
wbb3_parse_hash
racf_parse_hash
androidfde_parse_hash
scrypt_parse_hash
2018-07-09 12:49:42 +02:00
jsteube
f02e72425b
The following parser functions have been rewritten to make use of input_tokenizer():
...
sapb_parse_hash
sapg_parse_hash
drupal7_parse_hash
sybasease_parse_hash
netscaler_parse_hash
cloudkey_parse_hash
2018-07-08 12:55:31 +02:00
jsteube
1c121ef79c
The following parser functions have been rewritten to make use of input_tokenizer():
...
sha512macos_parse_hash
sha512grub_parse_hash
rakp_parse_hash
krb5pa_parse_hash
2018-07-07 11:25:25 +02:00
jsteube
0820fe4100
The following parser functions have been rewritten to make use of input_tokenizer():
...
sha1aix_parse_hash
agilekey_parse_hash
lastpass_parse_hash
fortigate_parse_hash
2018-07-06 13:48:39 +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
18fed3053a
The following parser functions have been rewritten to make use of input_tokenizer():
...
md5aix_parse_hash
sha256aix_parse_hash
sha512aix_parse_hash
2018-07-05 11:11:24 +02:00
jsteube
7e18ab05be
The following parser functions have been rewritten to make use of input_tokenizer():
...
ikepsk_md5_parse_hash
ikepsk_sha1_parse_hash
2018-07-04 12:58:30 +02:00
jsteube
afd5fa760c
The following parser functions have been rewritten to make use of
...
input_tokenizer():
androidpin_parse_hash
chap_parse_hash
lotus5_parse_hash
lotus6_parse_hash
radmin2_parse_hash
gost2012sbog_256_parse_hash
gost2012sbog_512_parse_hash
2018-07-03 10:23:04 +02:00
jsteube
8b2478d744
The following parser functions have been rewritten to make use of input_tokenizer():
...
sha256crypt_parse_hash
sha512crypt_parse_hash
keccak_parse_hash
blake2b_parse_hash
juniper_parse_hash
oracleh_parse_hash
gost_parse_hash
2018-07-02 09:20:15 +02:00
jsteube
87be2e8cce
The following parser functions have been rewritten to make use of input_tokenizer():
...
sha224_parse_hash
sha256_parse_hash
sha256s_parse_hash
sha384_parse_hash
sha512_parse_hash
sha512s_parse_hash
ripemd160_parse_hash
whirlpool_parse_hash
hmacmd5_parse_hash
hmacsha1_parse_hash
hmacsha256_parse_hash
hmacsha512_parse_hash
mysql323_parse_hash
2018-07-01 10:49:30 +02:00
jsteube
c6eb269784
The following parser functions have been rewritten to make use of input_tokenizer():
...
mssql2000_parse_hash
mssql2005_parse_hash
mssql2012_parse_hash
oracles_parse_hash
episerver4_parse_hash
sha512b64s_parse_hash
hmailserver_parse_hash
phps_parse_hash
mediawiki_b_parse_hash
peoplesoft_parse_hash
skype_parse_hash
djangosha1_parse_hash
redmine_parse_hash
punbb_parse_hash
sha256b64s_parse_hash
atlassian_parse_hash
2018-07-01 09:49:33 +02:00
jsteube
06a34bd026
Convert sha1b64s_parse_hash() to make use of input_tokenizer()
2018-06-30 10:51:21 +02:00
jsteube
384fe1ba15
Add support for multiple valid signatures in input_tokenizer()
2018-06-30 10:39:28 +02:00
jsteube
5728933cd2
Convert sha1b64_parse_hash() to make use of input_tokenizer()
2018-06-30 10:25:10 +02:00
jsteube
d36e70b598
Convert pstoken_parse_hash() to make use of input_tokenizer()
2018-06-30 10:13:26 +02:00
jsteube
ea6fd41c01
Merge branch 'master' of https://github.com/hashcat/hashcat
2018-06-29 20:32:14 +02:00
jsteube
4991bb85d2
Remove the following obsolete functions and replace them with input_tokenizer():
...
dcc_parse_hash
ipb2_parse_hash
sha1sha1_parse_hash
smf_parse_hash
vb3_parse_hash
2018-06-29 20:31:52 +02:00
Jens Steube
07b49c17f8
Merge pull request #1605 from magnumripper/master
...
Mute another -Wpointer-sign warning.
2018-06-29 12:37:50 +02:00
jsteube
6817876324
Do not increase output length in parse_and_store_generic_salt() if OPTS_TYPE_ST_ADD80 or similar is used
2018-06-29 12:33:02 +02:00
magnum
35a4972bb3
Mute another macOS -Wpointer-sign warning.
2018-06-28 19:18:16 +02:00
jsteube
319374e917
Merge branch 'master' of https://github.com/hashcat/hashcat
2018-06-28 14:25:12 +02:00
jsteube
10556b6324
The following parser functions have been rewritten to make use of
...
input_tokenizer():
descrypt_parse_hash()
md5pix_parse_hash()
md5asa_parse_hash()
netntlmv1_parse_hash()
netntlmv2_parse_hash()
joomla_parse_hash()
2018-06-28 14:24:52 +02:00
Jens Steube
7a408d9824
Merge pull request #1604 from magnumripper/master
...
Mute a macOS -Wpointer-sign warning.
2018-06-27 11:37:15 +02:00
jsteube
9196f1ba55
Added rounds_count_length() function to detect optional rounds=
...
substring in *crypt hashes
The following parser functions have been rewritten to make use of
input_tokenizer():
phpass_parse_hash()
md5crypt_parse_hash()
md5apr1_parse_hash()
episerver_parse_hash()
2018-06-27 11:12:35 +02:00
magnum
4e28d85e3e
Mute a macOS -Wpointer-sign warning.
2018-06-27 10:41:21 +02:00
jsteube
f574cbc88a
the following parser functions have been rewritten to make use of
...
input_tokenizer()
dcc2_parse_hash()
dpapimk_parse_hash()
2018-06-26 12:32:58 +02:00
jsteube
a2d99c5ac6
Rewrite several *_parse_hash() functions to use parse_and_store_generic_salt()
2018-06-25 16:30:40 +02:00
jsteube
50824a24c6
Rewrite parse_and_store_salt from scratch and rename original to parse_and_store_salt_legacy() for migration phase
...
Rewrite several *_parse_hash() functions to use parse_and_store_generic_salt()
2018-06-25 11:36:09 +02:00
jsteube
5f83dd8620
Convert cisco4_parse_hash() to make use of input_tokenizer()
...
Convert lm_parse_hash() to make use of input_tokenizer()
2018-06-24 14:04:05 +02:00
jsteube
2abe8caf24
Convert bcrypt_parse_hash() to make use of input_tokenizer()
...
Add more code to input_tokenizer()
2018-06-23 22:32:49 +02:00
jsteube
26dea37c9d
TEST CODE: tokenizer function in order to simplify parsing functions
2018-06-23 16:00:49 +02:00
jsteube
c902df7d8a
Fix some typo
2018-06-22 09:57:44 +02:00
jsteube
32d6b3e10e
OpenCL kernels: Add '-pure' prefix to kernel filenames to avoid problems caused by reusing existing hashcat installation folder
2018-06-20 14:18:17 +02:00
jsteube
c28fdf7f44
Added hash-mode 16700 = FileVault 2
2018-06-18 14:38:35 +02:00
jsteube
c3fc50294f
Bring back CUDA_CACHE_DISABLE=1 because users report to have problems without it
2018-06-17 09:06:12 +02:00
jsteube
124d10989c
Try original NV kernel bytecode cache for faster startup, see how user response is
2018-06-16 22:26:39 +02:00
jsteube
547025ec47
HCCAPX management: Use advanced hints in message_pair stored by hcxtools about endian bitness of replay counter
...
Fixed missing code section in -m 2500 and -m 2501 to crack corrupted handshakes with a LE endian bitness base
2018-06-15 17:00:41 +02:00
jsteube
60f2d413e0
Fix missing hexification for chars 0x00 - 0x1f
2018-06-14 20:06:56 +02:00
jsteube
b88c956d97
Rule Engine: Add JtR compatible support for hex notations in rule engine
2018-06-14 15:08:00 +02:00
jsteube
a8060f4946
Rewritten handling of OpenCL JiT build options to fix warnings with GCC 8
2018-06-13 16:43:43 +02:00
jsteube
ce4858f7a3
Rewritten printable_utf8() because the original one throws too many warnings with GCC 8
2018-06-13 16:42:33 +02:00
jsteube
469fece141
OpenCL Kernels: Abort session if kernel self-test failed
2018-06-13 12:22:54 +02:00
Jens Steube
fee4cb42cc
Merge pull request #1541 from erpscanteam/master
...
POC for cracking SAP "half hashes" CODVN B+F/G
2018-06-12 16:38:21 +02:00
Jens Steube
88640468df
Merge pull request #1542 from matrix/selftest_warning_fix
...
Fix selftest.c warning
2018-06-12 16:32:21 +02:00
philsmd
7d6c0d746c
7-Zip: increase the crc length to parse
...
Similar to the increase done with this commit: d382400805
we need to increase the crc length again such that hashcat can load hashes corresponding to some very highly compressed files within the 7-Zip archive.
For reference, this problem was first reported here: https://hashcat.net/forum/thread-7378.html :
as you can see
```
...$1059026$5d00001000): Salt-value exception
```
The value 1059026 is about 1MB of decrypted and decompressed data that needs to be checksummed.
2018-03-22 09:52:40 +01:00
Gabriele Gristina
7e2101438c
Fix selftest.c warning
2018-03-10 14:26:14 +01:00
Mathieu Geli
4dbc1f4a87
Implement 7701/7801 SAP CODVN half-hashes
2018-03-06 16:42:53 +03:00
Jens Steube
f6cfcbbc3a
Merge pull request #1529 from yarda/system-lzma-sdk
...
Add support for building with system lzma-sdk
2018-03-03 18:37:29 +01:00
magnum
a3759d77cf
Fix a problem with 'make install' on macOS if user has a GNU sed before
...
the native one in PATH (we would end up giving incompatible options).
Also omit the '-s' in LFLAGS for macOS, the linker just warns about that
option being obsolete and ignored.
2018-02-28 16:48:13 +01:00
jsteube
63defd1cea
Remove unused variable
2018-02-28 11:57:23 +01:00
jsteube
83f07febfc
Initial v4.1.1 deverloper mode commit
2018-02-28 11:25:23 +01:00
Jaroslav Škarvada
83ce54a736
Add support for building with system lzma-sdk
...
Fixes : #1528
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2018-02-28 11:21:46 +01:00
jsteube
ca1115a1ee
No longer need to use 32 threads on second dimension for bitsliced algorithms
2018-02-20 01:01:50 +01:00
Jens Steube
872f82ab8d
Get rid of thread limit for bitsliced kernels
2018-02-18 11:10:33 +01:00
Jens Steube
7b165a86a9
Fix LM selftest in -a 0 mode
2018-02-18 11:10:01 +01:00
Jens Steube
e79feb0b6f
Add more reqd_work_group_size attributes to kernels
2018-02-17 22:16:05 +01:00
Jens Steube
7674c3a556
Revert "Thread limits on bitsliced kernels no longer required"
...
This reverts commit ba5f23474e
.
2018-02-17 21:28:02 +01:00
Jens Steube
ba5f23474e
Thread limits on bitsliced kernels no longer required
2018-02-17 20:41:07 +01:00
jsteube
b8b816eada
Fix 64 marker for -m 11300 and -m 15900
2018-02-16 21:53:25 +01:00
Jens Steube
aa82d8d34d
Re-enable CPU optimizations and some CPU case in thread management
2018-02-16 18:56:21 +01:00
Jens Steube
fe321105fe
No need to copy empty compression buffers
2018-02-16 16:20:35 +01:00
Jens Steube
c7ae5fb7f0
Do not run more run a kernel with more threads than workitems
2018-02-16 15:53:57 +01:00
Jens Steube
07f119c28b
Fix -a 7 of fast hashes in optimized mode
2018-02-14 10:21:44 +01:00
philsmd
4fcfa2ac77
max/min password/salt length vs max/min supported lengths by kernel
...
Make it clear that the "pass lengths" and "salt lenghts" hints are only indicative and describe the max/min pass/salt length of the kernels and are not specific to the current attack (e.g. mask attack of length 8)
2018-02-13 18:19:32 +01:00
jsteube
dfb95024bc
Fix temporary datatype in wpapmk kernels
2018-02-13 16:34:00 +01:00
Jens Steube
d965475b28
Replace a missing while() with round_up_multiple_64()
2018-02-13 13:28:26 +01:00
Jens Steube
1af8e29a4b
Add round_up_multiple_32() and round_up_multiple_64()
2018-02-13 13:20:29 +01:00
Jens Steube
f75accef59
Update -m 2501 selftest hash in order to succeed with new AUX kernels
2018-02-13 12:09:00 +01:00
Jens Steube
6cd6b08229
Other format that base on md5crypt should also use OPTS_TYPE_PREFERED_THREAD
2018-02-13 11:59:47 +01:00
Jens Steube
413ade76fb
Add OPTS_TYPE_PREFERED_THREAD flag for -m 500
2018-02-13 11:12:08 +01:00
jsteube
98b20526f4
Fix missing cleanup for new AUX kernels
2018-02-13 10:39:22 +01:00
Jens Steube
7d09ae93f2
Merge branch 'master' of https://github.com/hashcat/hashcat
2018-02-13 10:27:55 +01:00
Jens Steube
1361651730
Add OPTS_TYPE_PREFERED_THREAD marker
2018-02-13 10:27:43 +01:00
jsteube
8053a05594
Use kernel specific max thread counts for helper kernel, not device specific
2018-02-13 10:02:00 +01:00
jsteube
fe4413797e
OpenCL Kernels: Use three separate comparison kernels (depending on keyver) for WPA instead of one
2018-02-13 09:13:35 +01:00
Jens Steube
31da893a40
Enforce 2GB host memory per GPU limit
2018-02-12 15:29:08 +01:00
Jens Steube
c9f3ef6dae
Fix final comparison in sort_by_dictstat()
2018-02-12 14:56:28 +01:00
jsteube
91e522d094
Add special marker for speed only mode
2018-02-12 09:41:46 +01:00
jsteube
240652a0ff
Move speed timer initialization from run_cracker() to run_copy()
2018-02-11 22:28:17 +01:00
jsteube
c4f30220a0
OpenCL Kernels: Refactored kernel thread management from native to maximum per kernel
2018-02-11 21:29:57 +01:00
Jens Steube
d38608b9bc
Add get_kernel_preferred_wgs_multiple() for future use
2018-02-11 16:22:24 +01:00
Jens Steube
1f442b5b0c
Add get_kernel_local_mem_size() for future use
2018-02-11 16:09:50 +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
a7a15df911
OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode
2018-02-10 20:44:13 +01:00
Jens Steube
fd89cac052
No longer need to warm-up OpenCL device for benchmark with new thread settings
2018-02-09 23:41:30 +01:00
Jens Steube
75c4d09301
CPU threads still work better on a single local work item
2018-02-09 23:40:52 +01:00
Jens Steube
fa379074b6
Fixed a logic error in storing temporary progress for slow hashes,leading to invalid speeds in status view
2018-02-09 18:30:53 +01:00
Jens Steube
b0ff625844
OpenCL Kernels: Thread-count is switched from native to maximum - as a consequence we assume host memory pool of 2GB per GPU
2018-02-09 16:42:28 +01:00
jsteube
088c45040b
Remove some redundant constants
2018-02-09 10:48:19 +01:00
Jens Steube
9b1e66d87c
Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads
2018-02-09 09:50:13 +01:00
jsteube
05a01d3843
fix some datatypes
2018-02-08 19:13:29 +01:00
jsteube
98abea9a0f
Fix one more technical teething trouble with compressor kernels
2018-02-08 15:41:19 +01:00
jsteube
3dcacb5f55
Fix hc_clEnqueueReadBuffer buffer size in gidd_to_pw_t()
2018-02-08 08:26:24 +01:00
jsteube
1c25cf5490
Fix compiler warning about rc variable which shadows a previous local
2018-02-07 22:32:01 +01:00
jsteube
bb401c9cec
Fixed a missing check for returncode in case hashcat.hcstat2 was not found
2018-02-07 18:47:55 +01:00
jsteube
bd9c17e49a
Add some missing function declarations
2018-02-06 13:06:10 +01:00
jsteube
e59d5fd25e
sometimes device_global_mem and device_maxmem_alloc reportedback from the opencl runtime are a bit inaccurate.
...
let's add some extra space just to be sure.
2018-02-06 10:11:06 +01:00
jsteube
cdc4f3828b
Reduce max kernel threads from 256 to 64 in -w 4 to save host and GPU memory
2018-02-06 09:38:54 +01:00
jsteube
a3a16f676f
OpenCL Kernels: Add a decompressing kernel and a compressing host code in order to reduce PCIe transfer time
...
For details see https://hashcat.net/forum/thread-7267.html
2018-02-05 17:18:58 +01:00
jsteube
2f30e5e929
Fixed invalid support for SIMD in -m 400
2018-02-05 15:57:36 +01:00
Jens Steube
665a514977
Use a more conservative mechanic in the last step of the autotune
2018-02-03 19:01:11 +01:00
Jens Steube
fb00b528c4
Improve autotune and synchronize results on same OpenCL devices
2018-02-03 13:49:39 +01:00
Jens Steube
3d2c0018fc
Limit the maximum OpenCL thread count to 256
...
If an OpenCL device allows a very high thread count (for example 1024 on nvidia), the host memory required is 32 times as high with 32 (It jumps from 128MB to 4GB device memory requirement). since there's no device with that much device memory (because of 1/4 memory rule) it has to limit the kernel_accel_max to be a very low number because the pws buffer will be so large otherwise. therefore autotune will be unable to calculate a good kernel_accel multiplier. currently there's no OpenCL device known that needs result in a better performance with 1024 threads compared to 256. as a result, we limit the number of threads to 256, which turns out to be a general good value.
2018-02-03 12:28:00 +01:00
jsteube
517062849e
Save some space in speed display to avoid line breaks
2018-02-03 11:21:28 +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
76a3e3f7af
OpenCL Runtime: Add current timestamp to OpenCL kernel source in order to force OpenCL JiT compiler to recompile and not use the cache
2018-02-01 16:57:59 +01:00
jsteube
3272e29497
Returncode: Enforce returncode 0 in case the user selected --speed-only or --progress-only and no other error occured
2018-02-01 11:18:40 +01:00
jsteube
a8ca6862bf
OpenCL Runtime: Enforce to use OpenCL version 1.2 to restrain OpenCL runtimes to make use of the __generic address space qualifier
2018-02-01 10:48:24 +01:00
jsteube
019ed0de6e
Fix double free
2018-01-31 20:24:57 +01:00
jsteube
dd97799e4c
Hashcat Context: Fixed a memory leak in shutdown phase
2018-01-31 16:42:04 +01:00
jsteube
e2654efaa7
Hash Parser: Fixed a memory leak in shutdown phase
2018-01-31 16:40:48 +01:00
jsteube
9136d23f2a
Use hcmalloc() instead of malloc() whenever possible
2018-01-31 16:40:01 +01:00
jsteube
c34670c567
OpenCL Devices: Fixed several memory leaks in shutdown phase
2018-01-31 16:38:55 +01:00
jsteube
6361ea823c
Use hcmalloc() instead of malloc() whenever possible
2018-01-31 16:36:04 +01:00
jsteube
09261dad0e
Prepare for v4.1.0 release
2018-01-30 11:24:21 +01:00
jsteube
2095e27d46
User Options: According to getopts manpage the last element of the option array has to be filled with zeros
2018-01-29 12:35:08 +01:00
jsteube
5b527f6aa6
Removed debugging code
2018-01-28 20:15:19 +01:00
jsteube
68b1ea4b68
OpenCL Runtime: Updated rocm detection
2018-01-28 20:14:25 +01:00
jsteube
9aa9725b91
Terminal: Display Set Cost/Rounds During Benchmarking
2018-01-28 13:53:31 +01:00
jsteube
e877c30ebc
OpenCL Kernels: Remove password length restriction to 16 for Cisco-PIX and Cisco-ASA hashes
...
Fixes #1488
2018-01-27 22:21:44 +01:00
jsteube
ef3cdddb18
Enforce environment variables to be set in cygwin environment
2018-01-27 13:26:36 +01:00
jsteube
01a7476ff8
Link hashcat native binary with -lrt to workaround problems with clock_gettime() on libc versions < 2.17
2018-01-26 23:24:01 +01:00
jsteube
213de0ba43
Simplify production versioning and fix variable content if there's no git installed
2018-01-26 23:15:11 +01:00
jsteube
084eed0a0d
Moved some gcc options around to different places in Makefile
2018-01-26 20:04:32 +01:00
TomasKorbar
8222b361f1
Modified makefile to add soname for libhashcat
...
closes #1496
2018-01-26 19:03:56 +01:00
jsteube
e21779112f
Fix some tabs in Makefile
2018-01-26 16:29:03 +01:00
philsmd
caa5c052ec
Makefile: disallow running 'make install' on windows systems (including cygwin/msys etc)
2018-01-26 08:20:12 +01:00
philsmd
0b79d65682
Makefile: fixed whitespace by using spaces instead of tabs where possible
2018-01-26 07:58:45 +01:00
jsteube
553668bb9f
Added hash-mode 16600 = Electrum Wallet (Salt-Type 1-3)
2018-01-25 15:28:21 +01:00
Jens Steube
7062425d2b
OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time
2018-01-23 20:33:26 +01:00
jsteube
7a8239b4c1
Fixed the maximum password length check in password reassembling function
...
Fixes #1492
2018-01-22 18:59:46 +01:00
jsteube
ce0cee0ac4
Stick to original JWT format from jwt.io
2018-01-21 19:57:24 +01:00
jsteube
0796c074c3
Added -m 16500 Kernels
...
Also changed function declaration of parser function from const hashconfig_t to just hashconfig_t
2018-01-21 18:53:55 +01:00
jsteube
5eeefb5506
More prepare for JWT
2018-01-21 15:29:17 +01:00
Jens Steube
bb806d777e
Merge pull request #1493 from mohemiv/master
...
added -m 16400 = CRAM-MD5 Dovecot
2018-01-19 10:13:46 +01:00
jsteube
7c1fb0140c
Files: Copy include/ folder and its content to case SHARED is set to 1 in Makefile
2018-01-18 12:09:51 +01:00
Arseniy Sharoglazov
928cf471fb
The hash-mode for "CRAM-MD5 Dovecot" changed from 10201 to 16400
2018-01-17 11:25:21 +03:00
Jens Steube
17f6324886
Merge pull request #1480 from matrix/osx_clock_gettime
...
Osx clock gettime
2018-01-15 15:53:58 +01:00
Arseniy Sharoglazov
798f05355f
added -m 10201 = CRAM-MD5 Dovecot
2018-01-15 15:52:52 +03:00
Gabriele Gristina
03fab4a345
Fix clock_gettime() on OSX (v2)
2018-01-11 02:41:16 +01:00
philsmd
fa679ce496
masks: skipping too large/small masks fixed
2018-01-03 14:46:49 +01:00