1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00
Commit Graph

3095 Commits

Author SHA1 Message Date
Jens Steube
f2948460c9 Some first kernel invocations 2019-05-04 10:13:43 +02:00
Jens Steube
5ee033673c Disable name mangling in NVRTC's PTX output and more 2019-05-03 15:50:07 +02:00
Jens Steube
503304f36a Add some first CUDA device memory allocations and host buffer copies 2019-05-03 12:07:06 +02:00
vlo
003e23bae8 Change hash mode of addition, add test module
Changed pbkdf2-sha512 Perl passlib hash module hashmode to 20200
(assigned by maintainer)

Added test module for 20200 module
2019-05-02 22:36:23 +02:00
Jens Steube
50a6e720ca More OpenCL variables rename 2019-05-02 17:30:46 +02:00
Jens Steube
af8e317cf4 Begin renaming some OpenCL only variables 2019-05-02 17:12:59 +02:00
Jens Steube
a6fa7a2749 Add support for some first CUDA module loader 2019-05-02 14:58:52 +02:00
Jens Steube
456c57a6d0 Set vector width size for CUDA 2019-05-01 18:20:19 +02:00
vlo
4510504257 New module for Python passlib pbkdf2-sha512
Added new module for pbkdf2-sha512 hashes created by Python passlib. The
module is based on the grub2 module (using the same kernel)
2019-05-01 18:02:38 +02:00
Jens Steube
3c4f4df771 Rename some more variables 2019-05-01 15:52:56 +02:00
Jens Steube
495d89f831 Find alias devices across different backend API's 2019-05-01 07:27:10 +02:00
Jens Steube
6fd936b43a Removed --opencl-platforms filter in order to force backend device numbers to stay constant 2019-04-30 16:24:13 +02:00
Jens Steube
e3500ff4aa Add CUDA device attributes to -I 2019-04-30 13:38:44 +02:00
Jens Steube
c80e516c3c
Merge pull request #2007 from hashcat/master
Backport some fixes
2019-04-29 12:27:27 +02:00
Jens Steube
6caa78695f Backport -m 19500 fix to -m 19300 2019-04-29 12:26:22 +02:00
Jens Steube
922fa2e351 Use md5 for generatic unique salt for salt sorter in -m 19500 2019-04-29 12:01:53 +02:00
Jens Steube
d862458ab5 Begin renaming API specific variables in backend section 2019-04-29 10:21:59 +02:00
Jens Steube
d73c0ac8a9 More CUDA attribute queries 2019-04-28 18:54:26 +02:00
Jens Steube
a415422123 Initialize CUDA devices and some first attribute queries 2019-04-28 14:45:50 +02:00
Jens Steube
222be0b0dc
Merge pull request #2005 from hashcat/master
bcrypt changes
2019-04-27 16:35:38 +02:00
Jens Steube
200e72dba3 Limit -T maximum on -m 3200 to what's possible based on device specific shared memory available 2019-04-27 16:15:18 +02:00
Jens Steube
d67de66453 Disable kernel cache on -m 3200 2019-04-27 16:00:29 +02:00
Jens Steube
58213c81d6 Add vector datatypes operators 2019-04-26 22:07:56 +02:00
Jens Steube
052e42ccef Fix CUDA_ARCH value 2019-04-26 15:14:48 +02:00
Jens Steube
06171958ee Add --gpu-architecture to NVRTC build options 2019-04-26 15:10:02 +02:00
Jens Steube
9faba41848 Use nvrtc to compile PTX (resulting PTX not yet used) 2019-04-26 13:28:44 +02:00
Jens Steube
4045e60021 Add nvrtc wrapper for later use 2019-04-26 10:03:16 +02:00
Jens Steube
4b986de5fb Prepare native CUDA hybrid integration 2019-04-25 14:45:17 +02:00
jsteube
b9aaaf7809 Move 198xx DiskCryptor to 200xx to not collide with Kerberos 5, etype 17, Pre-Auth 2019-04-20 19:41:37 +02:00
Jens Steube
17ab30b29f
Merge pull request #1991 from brandoncasaba/master
Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18)
2019-04-20 19:10:33 +02:00
jsteube
8b51843bb2 Mark -m 15300 and -m 1590 as unstable on AMDGPU driver 2019-04-20 18:58:01 +02:00
jsteube
926e99811c Add some more NO_UNROLL to avoid module_unstable_warnings 2019-04-20 16:36:43 +02:00
jsteube
08a74cfcb5 Add NO_UNROLL to -m 1750 for AMDGPU driver 2019-04-20 11:47:41 +02:00
jsteube
ac4f8e688a Dependencies: Updated OpenCL-Headers to latest version from GitHub master repository
Dependencies: Updated OpenCL function wrapper declarations accordingly to updated OpenCL-Headers
2019-04-20 09:34:13 +02:00
jsteube
5f3d9e08b9 Kernel Compile: Removed -cl-std= from all kernel build options since we're compatible to all OpenCL versions 2019-04-20 08:46:25 +02:00
jsteube
f424dd1edb Fix tools/install_modules.sh ro uninstall pycryptodome 2019-04-19 13:17:15 +02:00
jsteube
4548d15dde Fix spin_damp datatype 2019-04-19 12:26:37 +02:00
jsteube
5b97fe7514 Workaround volatile for -m 2500 and -m 2501 for macosx 2019-04-18 16:52:14 +02:00
jsteube
6d21c1633b Fix loop_step value in selftest.c, this also workarounds Trap 6 errors 2019-04-18 14:29:39 +02:00
Jens Steube
e7ae8e6863 Requirements: Update runtime check for minimum NVIDIA driver version from 367.x to 418.56 or later 2019-04-18 12:21:12 +02:00
Jens Steube
38c1029f2e Need volatile for IRIS GPU on Mac OSX for -m 2500 and -m 2501 2019-04-17 13:21:35 +02:00
Brandon Chalk
0a4ce19915 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-04-16 10:03:05 -07:00
jsteube
56ae7fa2b8 Remove warnings no longer relevant in -m 15600 and -m 16300 2019-04-15 16:05:26 +02:00
jsteube
e0d0721109 Workaround for Page not present or supervisor privilege JiT fail on ROCM for -m 13400 2019-04-15 11:19:02 +02:00
jsteube
8e89617015 Workaround setting password length bug in ROCM and POCL for -m 10100 2019-04-15 11:14:02 +02:00
Jens Steube
1370dc4700 Limit kernel-accel in -m 11600 to 128 2019-04-14 09:29:27 +02:00
jsteube
7c6970dbdd Remove hard-coded static keyword from OpenCL kernels 2019-04-13 18:46:19 +02:00
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