Jens Steube
27f130ea90
Kernel Cache: Reactivate OpenCL runtime specific kernel caches
2019-04-13 14:47:41 +02:00
Jens Steube
db91876d23
Disable check for device_available_mem on Windows in combination with AMD drivers
2019-04-13 14:36:49 +02:00
philsmd
7557f884c5
outfile remove: fix hash parsing
...
The feature to add cracks to hashcat.outfiles/ wasn't working correctly with the latest betas because the hash:pass was not split correctly and therefore not correctly passed to the parsing function. The whole line was passed instead of only the hash.
This should fix the problem of splitting the lines and therefore correctly parsing the outfiles.
Thanks
2019-04-13 09:28:14 +02:00
jsteube
fea92595a4
Filter out 8th bit in -m 1500 password characters
2019-04-11 09:12:42 +02:00
Brandon Chalk
61ac3e3282
Minor speed and readability improvements to mode 19800 and 19900
2019-04-09 23:25:01 -07:00
Brandon Chalk
95c74c52c1
Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18)
2019-04-09 21:58:42 -07:00
jsteube
764ca0c1c6
Add hash line separator backward compatibility for -m 16800
2019-04-09 19:13:30 +02:00
jsteube
92f4ccce93
Increase buffer size for --example-hashes output
2019-04-08 17:36:26 +02:00
ZeroBeat
c572c37637
prepare new hashline
2019-04-08 15:30:15 +02:00
jsteube
dbd8181c15
Disable stderr temporary since OpenCL runtime JiT (LLVM) prints directly to stderr when it should not
2019-04-08 14:23:02 +02:00
jsteube
28437b0ab0
Add NV inline assembly instruction set check on startup
2019-04-08 13:17:13 +02:00
jsteube
4cd98603f5
Add DiskCryptor modules for 1024 bit and 1536 and support for Serpent and Twofish. Be careful, untested yet!
2019-04-08 09:31:31 +02:00
philsmd
60c255a69d
added -m 19800 = DiskCryptor AES
2019-04-07 18:08:56 +02:00
jsteube
aed98e0795
Merge branch 'master' of https://github.com/hashcat/hashcat
2019-04-07 00:35:49 +02:00
jsteube
a22483f540
Remove some misleading error message
2019-04-07 00:35:33 +02:00
jsteube
773dab9161
Mark -m 10700 as unstable on AMDGPU driver in pure kernel mode
2019-04-06 20:06:19 +02:00
jsteube
d950918fe9
Fix missing module_jit_build_options() in -m 17300
2019-04-06 17:30:12 +02:00
jsteube
d7286e50a7
Mode 19500 on AMDGPU driver no longer produces self-test failures
2019-04-06 17:27:03 +02:00
jsteube
c911f2bd83
Fix some OpenCL JiT compiler warnings on ROCM
2019-04-06 17:24:57 +02:00
jsteube
e779c22c2c
Remove some warnings no longer needed
2019-04-05 15:33:35 +02:00
jsteube
3c9d26b161
Add some conditions to make scan-build happy
2019-04-05 13:46:29 +02:00
jsteube
05a38a42b7
Initialize some values to make scan-build happy
2019-04-05 12:20:36 +02:00
jsteube
2fab28a6f3
Add some useful converters
2019-04-05 12:19:53 +02:00
jsteube
f374da11e3
Fix function pointer can be NULL
2019-04-05 09:54:55 +02:00
magnum
009cf26a04
Mute a -Wformat warning and fix some whitespace noise while at it.
2019-04-05 08:52:35 +02:00
jsteube
8008d65499
Allow -m 1800 in optimized mode on AMDGPU drivers
2019-04-04 22:06:12 +02:00
jsteube
875718fb8e
Backport -m 500 pure kernel code to -m 6300 enables using it on AMDGPU driver
2019-04-04 21:05:07 +02:00
jsteube
cd88410781
Backport -m 500 pure kernel code to -m 1600 enables using it on AMDGPU driver
2019-04-04 21:02:26 +02:00
jsteube
d7d716f3ab
Make it easier to include OpenCL kernels into modules
2019-04-04 20:01:37 +02:00
jsteube
9ced13cc94
Get rid of CONSTSPEC macro in OpenCL kernels
2019-04-04 10:15:34 +02:00
jsteube
13edc32fb4
Fix some unused variable warnings
2019-04-03 21:53:34 +02:00
jsteube
91d9475c11
Plugin refactorization should be finished, no more need for these flags
2019-04-03 20:55:06 +02:00
jsteube
56ecfc3991
No need to risk stability for 400k binary size
2019-04-03 20:52:49 +02:00
jsteube
5951322f72
Testcommit using ar tool in Makefile
2019-04-03 15:37:29 +02:00
Jens Steube
cf8c815caf
Merge pull request #1975 from Chick3nman/master
...
Add --status-json flag
2019-04-03 09:18:16 +02:00
Chick3nman
fc1aa83541
Change logic for formatting with multiple devices when some are skipped
2019-04-02 16:53:59 -05:00
Chick3nman
1cf2a4fea6
Fix type missmatch
2019-04-02 16:23:05 -05:00
Chick3nman
dc1fc28733
Fix Formatting
2019-04-02 16:10:54 -05:00
Chick3nman
5b20662c7f
Fix Formatting
2019-04-02 16:10:23 -05:00
Chick3nman
5e307603d6
Fix formatting
2019-04-02 16:06:18 -05:00
Chick3nman
64f0931301
Switched key name from progress to speed
2019-04-02 15:48:15 -05:00
Chick3nman
3e13739aa6
Fix Typo
2019-04-02 15:40:27 -05:00
Chick3nman
71c02cad5e
Add --speed-only and --progress-only support
2019-04-02 15:32:25 -05:00
Chick3nman
c2c656edbe
Fix missing line
2019-04-02 15:00:56 -05:00
Chick3nman
e696e0a87d
Fix time formatting
2019-04-02 14:59:10 -05:00
Chick3nman
b551592082
Add start and estimated end times, fix formatting
2019-04-02 14:55:05 -05:00
jsteube
d855ddaf9e
Make use of need_hexify to decide if hexification is needed for ESSID in -m 16800 and -m 16801
2019-04-02 21:30:33 +02:00
jsteube
a9663cdb53
For modes 2500, 2501, 16800 and 16801, if --left is used, return original input format
2019-04-02 21:23:44 +02:00
Chick3nman
7bbf4eb183
Fixed restore point number formatting
2019-04-02 13:26:46 -05:00
Chick3nman
4d60c7514a
Fixed formatting for speed and progress
2019-04-02 13:25:36 -05:00
Chick3nman
ea141f43da
Formatting for json status
2019-04-02 13:11:55 -05:00
jsteube
e5322c8bee
Fix --remove handling in -m 16800 and -m 16801 with new outfile format
2019-04-02 18:39:42 +02:00
jsteube
b8d609ba16
WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes
2019-04-02 11:24:22 +02:00
jsteube
c0a31b3239
Prepare potfile specific module_hash_decode and module_hash_encode hooks
2019-04-01 12:32:11 +02:00
Jens Steube
4115e6b825
Update some unstable_warning on Intel CPU
2019-04-01 11:22:51 +02:00
jsteube
319bf80178
Fix hash_encode() salt position
2019-03-31 20:17:17 +02:00
jsteube
76bf5173ba
Do not use MAYBE_UNUSED in inc_common.cl
2019-03-31 19:45:15 +02:00
jsteube
1c45de4b63
Remove more old GCC diagnostic options
2019-03-31 19:41:28 +02:00
jsteube
d3a3f10fcf
Remove some old GCC diagnostic options
2019-03-31 18:06:08 +02:00
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
2019-03-31 17:39:00 +02:00
jsteube
f9110c6863
Fix calculation of brute forced PIM
2019-03-30 17:03:06 +01:00
jsteube
9d774958b7
Merge branch 'master' of https://github.com/hashcat/hashcat
2019-03-30 16:56:13 +01:00
jsteube
2158fd70c9
Fix use of OPTS_TYPE_COPY_TMPS in modules
2019-03-30 16:55:55 +01:00
jsteube
d80603648e
Replace plain_t with void in module_build_plain_postprocess() enables some options
2019-03-30 16:32:11 +01:00
jsteube
a7a70c88ed
Mark -m 7900 as unstable on ROCM
2019-03-29 10:44:47 +01:00
jsteube
474138f4b9
No more segfaults for -m 12200 with AMDGPU driver
2019-03-29 10:36:10 +01:00
jsteube
792d61763b
No more segfaults for -m 8900 and 9300 with AMDGPU driver
2019-03-29 10:29:53 +01:00
jsteube
ffd8ec9001
Fixed output password of 'e' rule in pure and cpu rule engine if separator character is also the first letter
2019-03-28 13:07:39 +01:00
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
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