philsmd
42b3848698
fixes #2026 : rule engine hex interpretation problem
...
Patch for the rule engine to support the \x00 - \xff notation in some rule functions
2019-05-17 14:05:26 +02:00
Michael Sprecher
9c4c56adb9
PKZIP: return PARSER_SIGNATURE_UNMATCHED on signature mismatch
2019-05-17 11:34:59 +02:00
Sein Coray
0ea676907a
Merge remote-tracking branch 'upstream/master'
2019-05-15 14:33:32 +02:00
Jens Steube
2eebc27ec1
Merge pull request #2008 from vlohacks/master
...
New modules for Python passlib pbkdf2 sha variants
2019-05-15 09:51:19 +02:00
vlo
bc1bc55b0d
Fixed: wrong sourcecode comment
2019-05-15 07:38:18 +02:00
vlo
84b8a1b1eb
Suggested changes for pull request
...
Fixed: Moved descriptions to appropriate location in readme file
Fixed: Changed name of alternate base64 tables to ab64
Fixed: Changed hash category to HASH_CATEGORY_GENERIC_KDF
2019-05-15 07:29:29 +02:00
Jens Steube
ce8a6fde0a
Fix status screen current password query
2019-05-14 15:25:36 +02:00
Jens Steube
f84eaa2e4d
Fix bitsliced algorithm brute-force with CUDA
2019-05-14 14:08:27 +02:00
Sein Coray
ff718cf53f
all pkzip modules use u32 to store the hash data and use appropriate printing
2019-05-14 14:08:11 +02:00
Sein Coray
2434380da2
fixed printing of hash for module 17220 and 17230 using the u32 data array
2019-05-14 14:00:18 +02:00
Sein Coray
e300fe0d63
fixes to avoid crashing on gpu on multiple inner loops
2019-05-14 13:41:40 +02:00
Jens Steube
f2b1dfea31
Merge pull request #2018 from Chick3nman/master
...
Add extra warning when using --force
2019-05-14 11:58:03 +02:00
Jens Steube
85f7d50fb8
Merge pull request #2021 from philsmd/master
...
added support for $electrum$3 hashes (-m 16600)
2019-05-14 11:57:46 +02:00
Sein Coray
e39a9284e1
Merge remote-tracking branch 'upstream/master'
2019-05-14 11:48:44 +02:00
Sein Coray
d5418c25c5
remove unused digest variable
2019-05-14 10:34:40 +02:00
Sein Coray
fe61813af4
remove unused digest variable
2019-05-14 10:34:22 +02:00
Jens Steube
523e0f7151
Fix free unallocated memory in case OpenCL initialization failed
2019-05-14 10:25:49 +02:00
Jens Steube
bca03bb7ed
CUDA offers a nice way to query available device memory, no need to brute force
2019-05-14 10:09:46 +02:00
Jens Steube
1943c35e4a
Improve kernel-loops detection for slow hashes
2019-05-13 17:25:33 +02:00
philsmd
07a1bdb12c
added support for $electrum$3 hashes (-m 16600)
2019-05-13 14:34:15 +02:00
Jens Steube
fa9d073f9a
Manually unroll sha2 hashes
2019-05-11 23:15:58 +02:00
Jens Steube
aa8e000d31
Flag OPTS_TYPE_PREFERED_THREAD no longer needed
2019-05-11 14:22:44 +02:00
Jens Steube
a6bc1d3cc0
Experimental kernel-thread autotuner
2019-05-11 11:58:18 +02:00
Jens Steube
2b0f657564
Limit some modules to 64 threads in order to get additional L1 cache
2019-05-10 23:51:09 +02:00
Jens Steube
d59474fded
Testwise unlock full thread count on NVidia
2019-05-10 17:27:15 +02:00
Jens Steube
d378aa7ab9
Show host memory requirement on startup
2019-05-10 16:37:49 +02:00
Chick3nman
717b82c406
Add extra warning for --force
...
Warn users not to report issues when using --force in their command.
2019-05-10 06:43:50 -05:00
Jens Steube
46f737c5af
Use real constant memory on CUDA
2019-05-10 13:22:26 +02:00
Sein Coray
371991e079
included speed improvements and feedback from atom applied to all 172xx kernel variants
2019-05-10 12:50:03 +02:00
Jens Steube
5d14a59304
Need 3.x nvrtc minimum
2019-05-10 10:11:12 +02:00
vlo
556db9a9e9
Fix: buffer sizes (again)
...
Also honor the trailing 0 byte for buffers used in sprintf
2019-05-10 08:43:25 +02:00
Jens Steube
54feb62e94
brute-force nvrtc .dll name
2019-05-09 22:17:13 +02:00
Jens Steube
a2b5981303
Fix some library names
2019-05-09 21:20:50 +02:00
vlo
ee500bec02
Fixed: buffer overflows
...
temporary buffer was too small for MAX_SALT
2019-05-09 19:27:11 +02:00
Sein Coray
e4d8e4a7ad
bring fork up-to-date
2019-05-09 17:23:59 +02:00
Jens Steube
be8f29ca39
Only warn about broken NVIDIA driver
2019-05-09 16:30:08 +02:00
Jens Steube
39e150fc1e
Use xxx_v2 CUDA symbols
2019-05-09 14:37:14 +02:00
vlo
23c3e723f7
Implemeted table for alternate base64
...
Implemented alternate base64 table, removed replacement code in modules.
Fixed: whitespace/indent issues
Fixed: unsigned to signed implicit typecasts
Added new algorithm information to readme.txt and changes.txt
2019-05-09 08:51:21 +02:00
Jens Steube
33028314f0
Add hc_cuCtxSetCacheConfig()
2019-05-09 00:04:05 +02:00
Jens Steube
fb82bfc169
Improve thread handling based on FIXED_LOCAL_SIZE
2019-05-08 23:30:07 +02:00
Jens Steube
3a3df091c7
Fix CUDA num_elements
2019-05-08 22:42:52 +02:00
vlo
14dd1aaaeb
Added support for passlib pbkdf2-sha256 and sha1
...
Added: Module for pbkdf2-sha256
Added: Module for pbkdf2-sha1
Cleanup: Avoid magic values for hash lengths
Cleanup: Coding style
2019-05-08 09:24:12 +02:00
Jens Steube
a01cc28ec6
Merge pull request #2014 from hashcat/master
...
Backports
2019-05-07 21:48:47 +02:00
Jens Steube
363e789b89
Assume local nvrtc.dll and cuda.dll on windows
2019-05-07 16:52:08 +02:00
philsmd
f45a726376
fixes #2012 : add Deflate support for 7-Zip using zlib
2019-05-07 15:31:11 +02:00
Jens Steube
a7d04adba3
Fix opencl_devices_active and backend_devices_active
2019-05-07 14:17:29 +02:00
Jens Steube
8ff8c5d536
Add LOCAL_VK to make use of __shared__
2019-05-07 09:01:32 +02:00
Jens Steube
bbed0cd67a
Fix test.sh and bitsliced algos
2019-05-06 15:06:02 +02:00
Jens Steube
d0bd33c9d1
Rename CONSTANT_AS to CONSTANT_VK
2019-05-06 14:34:16 +02:00
Jens Steube
64c495dfa5
Use CUDA stream for all cuLaunchKernel() invocations
2019-05-06 11:23:34 +02:00
Jens Steube
d94f582097
Replace CEILDIV() with round_up_multiple_64()
2019-05-06 09:36:07 +02:00
Jens Steube
e9c04c2446
More CUDA implementation
2019-05-05 21:15:46 +02:00
Jens Steube
08dc1acc02
More CUDA rewrites
2019-05-05 11:57:54 +02:00
Jens Steube
ec9925f3b1
Warnings self-check and autotune with CUDA
2019-05-04 21:52:00 +02:00
Jens Steube
4df00033d7
Prepare CUDA events
2019-05-04 10:44:03 +02:00
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