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

3501 Commits

Author SHA1 Message Date
Gabriele Gristina
d0ec5c7b77 move hc_* file functions from shared.c/.h to filehandling.c/.h 2019-07-13 00:20:41 +02:00
Gabriele Gristina
686e722db0 fix bug with -S -O arguments set together 2019-07-12 23:55:53 +02:00
Chick3nman
9e1ae3cb4a Updated Kernel self-test failure message to reflect OpenCL or Cuda installation failure, depending on backend used 2019-07-12 13:38:12 -05:00
Chick3nman
fcb100b26c Changed Error message, OpenCL is not the only kernel type 2019-07-12 13:32:22 -05:00
Gabriele Gristina
5d4fd047ee fix bug in mpsp 2019-07-12 20:20:05 +02:00
Chick3nman
0b0de6a283 Added Remaining digest and salt count to Status output
Added logic to show/hide salt count based on number of salts for remaining digests as well as recovered digests
2019-07-12 12:54:21 -05:00
Gabriele Gristina
6940f11b15 fix buffer overflow in build_plain() 2019-07-11 17:56:34 +02:00
Gabriele Gristina
ea44f1a186 Fix outfile bug 2019-07-11 13:04:18 +02:00
Jens Steube
ac52a14dbd
Merge pull request #2093 from matrix/memory_leaks_1
fix some memory leaks
2019-07-11 10:59:32 +02:00
Jens Steube
eab68cb9ca
Merge pull request #2092 from matrix/mpsp_1
(mpsp) remove unused *rc* vars and cleanup
2019-07-11 10:58:52 +02:00
Jens Steube
e69b9145b1
Merge pull request #2091 from matrix/hashcat_1
(hashcat) remove unused *rc* vars and cleanup
2019-07-11 10:58:41 +02:00
Jens Steube
336a8a4a4e
Merge pull request #2090 from matrix/terminal_1
(terminal) remove unused *rc* vars and cleanup
2019-07-11 10:58:29 +02:00
Jens Steube
58cf53b4ee
Merge pull request #2089 from matrix/selftest_1
(selftest) remove unused *rc* vars and cleanup
2019-07-11 10:58:20 +02:00
Gabriele Gristina
4b871646fe fix some memory leaks 2019-07-10 17:27:45 +02:00
Gabriele Gristina
013b914e22 (mpsp) remove unused *rc* vars and cleanup 2019-07-10 17:21:20 +02:00
Gabriele Gristina
c88250e437 (hashcat) remove unused *rc* vars and cleanup 2019-07-10 17:10:15 +02:00
Gabriele Gristina
c690e33fee (terminal) remove unused *rc* vars and cleanup 2019-07-10 16:55:50 +02:00
Gabriele Gristina
c3716ca8e5 (selftest) remove unused *rc* vars and cleanup 2019-07-10 16:41:24 +02:00
Gabriele Gristina
ae62e597ce (backend) remove unused *rc* vars and cleanup 2019-07-10 16:13:11 +02:00
Jens Steube
a7fd1e40f8
Merge pull request #2075 from matrix/zlib_support_2
Add zlib support for loading hashlist/wordlist (v2)
2019-07-10 10:56:06 +02:00
Gabriele Gristina
3d39d2fc91 update all HCFILE vars and related code 2019-07-02 21:30:35 +02:00
Gabriele Gristina
2db6dfcd4e fix HCFILE with potfile BUG and something else related to HCFILE wrong usage 2019-07-02 18:27:36 +02:00
Gabriele Gristina
ea786f715f avoid logical negation operator 2019-07-02 15:52:17 +02:00
Gabriele Gristina
4b9fdc6b97 try remove warning about unused return value of read 2019-07-01 17:57:44 +02:00
Gabriele Gristina
3161aec3da fix the comments :) 2019-07-01 17:27:08 +02:00
Jens Steube
74828b765d
Merge pull request #2082 from matrix/truncLongCastAssignment_1
Fix truncLongCastAssignment warnings
2019-07-01 09:35:10 +02:00
Jens Steube
316ad8a406
Merge pull request #2080 from matrix/print_format_1
Fix some *print* format arguments
2019-07-01 09:34:22 +02:00
Gabriele Gristina
5679ca3344 Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format 2019-07-01 01:30:24 +02:00
Gabriele Gristina
28a04d80b1 remove useless objs from OBJS_ZLIB 2019-06-30 19:28:42 +02:00
Gabriele Gristina
e22e1c29b3 remove useless gzip handling in main_log_* functions 2019-06-30 18:16:10 +02:00
Gabriele Gristina
b7a5d6b66f Fix truncLongCastAssignment warnings 2019-06-29 18:12:00 +02:00
Gabriele Gristina
caf34e0e83 Fix some *print* format arguments 2019-06-29 17:49:57 +02:00
Gabriele Gristina
823770c149 switch from strtok to strtok_r 2019-06-29 17:14:19 +02:00
Gabriele Gristina
60a683daa8 Hide warning about implicit declaration of function 2019-06-29 15:13:07 +02:00
Gabriele Gristina
e86cbf426a add workaround for zlib with cygwin build (v2) 2019-06-29 14:46:33 +02:00
Gabriele Gristina
9673dedebf Force undef WIDECHAR in cygwin build 2019-06-29 13:48:22 +02:00
Gabriele Gristina
5d3ed3e754 Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments 2019-06-28 17:58:08 +02:00
arrtchiu
2a1356a4f6
allow up to 64 bytes of salt in module 01460 2019-06-28 10:30:59 +08:00
Gabriele Gristina
c2e634c426 switch is_gzip from short to bool 2019-06-27 23:51:54 +02:00
Gabriele Gristina
481c752456 No more compress functions, update example.dict.gz, remove some comments 2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c switch almost all FILE ops, potfile is the only missing 2019-06-26 19:06:46 +02:00
Jens Steube
2e32eaf2bb Fix printing from NULL pointer address 2019-06-26 15:52:11 +02:00
Jens Steube
32cb191837 Mark -m 11300 cracking on macOS as unstable 2019-06-25 13:34:45 +02:00
Jens Steube
9cc20877f0 Mark DPAPI masterkey file cracking on macOS as unstable 2019-06-25 13:29:51 +02:00
Gabriele Gristina
084ea69b3b Fix missing hc_fread switch to new format 2019-06-22 16:56:14 +02:00
Jens Steube
c34fcabb4b Add missing docs/ entry for -m 20600 2019-06-22 16:05:02 +02:00
Jens Steube
2cda236a18 OpenCL Runtime: Do not run a shared- and constant-memory size check if their memory type is of type global memory (typically CPU) 2019-06-22 16:01:38 +02:00
Jens Steube
6dfb474adf OpenCL Runtime: Do not run a shared- and constant-memory size check if their memory type is of type global memory (typically CPU) 2019-06-22 16:00:48 +02:00
Gabriele Gristina
b2529af172 remove original commented code 2019-06-22 15:00:50 +02:00
Gabriele Gristina
b05aeac950 restore original return values in modules 2500, 2501 2019-06-22 14:25:06 +02:00
Gabriele Gristina
6cb4abd526 Add zlib support v2 2019-06-21 21:56:38 +02:00
Gabriele Gristina
f4a567a01d remove redundant fclose 2019-06-21 21:35:24 +02:00
Jens Steube
6ed7dde1d4
Merge pull request #2070 from matrix/master
Fix fatal OSX build errors
2019-06-21 21:17:50 +02:00
Gabriele Gristina
ec41a3f84e switch to /usr/bin/ar 2019-06-21 21:15:59 +02:00
Jens Steube
2c4a82f81c Fix some compiler warnings in -m 172xx 2019-06-21 09:56:50 +02:00
Gabriele Gristina
b75fcef780 Fix fatal OSX build errors 2019-06-20 20:24:12 +02:00
Jens Steube
1abdecfa6c Some more ROCm performance tuning 2019-06-20 09:27:00 +02:00
Jens Steube
955bfeaa14 Improve performance of bitsliced algorithms on ROCm 2019-06-19 16:35:52 +02:00
Jeremi M Gosney
047dea3ce3 fix endianness issue in m20600 hash encoder 2019-06-18 13:13:45 -05:00
Jeremi M Gosney
871df0b81b add hash mode 20600 (oracle transportation manager) 2019-06-18 11:41:41 -05:00
Jens Steube
3c4cb5c0f8
Merge pull request #2061 from f0cker/brain_all
Brain all
2019-06-18 10:52:56 +02:00
Jens Steube
62d5d2dfbb OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR environment variable 2019-06-17 17:35:23 +02:00
Jens Steube
5e0eb288c9 Use __launch_bounds__ in CUDA as replacement for reqd_work_group_size() in OpenCL 2019-06-16 18:01:26 +02:00
Jens Steube
dbbdb7e5ac WipZip cracking: Added two byte early reject, resulting in higher cracking speed 2019-06-16 11:41:42 +02:00
f0cker
3bb68e7981 Added brain status (tx/rx) for all devices 2019-06-15 22:46:40 +00:00
Jens Steube
0370f73a44
Merge pull request #2053 from philsmd/master
PKZIP: improve decompression and allow up to 320KB data length
2019-06-15 09:42:18 +02:00
Jens Steube
cf3dd5f3db Update -m 13600 selftest hash 2019-06-15 09:20:15 +02:00
Jens Steube
f660b95ac6 Set selftest hash to 128 bit key in -m 13600 2019-06-15 08:40:52 +02:00
philsmd
a661728256
pkzip: for u32 use MAX_DATA / 4 2019-06-07 19:42:28 +02:00
philsmd
01a511b9dd
minor: some code formatting changes for PKZIP 2019-06-07 17:24:13 +02:00
philsmd
316b2952b5
PKZIP: improve decompression and allow up to 320KB data length 2019-06-07 15:52:37 +02:00
Jens Steube
581839d402 Fix more missing NO_UNROLL configurations on CUDA 2019-06-07 12:23:51 +02:00
Jens Steube
deb3843d76 Use NO_UNROLL in sha512 based PBKDF2 kernels with additional AES/Twofish decrypts for better performance 2019-06-07 11:07:17 +02:00
Jens Steube
c2fc849e2c Fix minimum threads_per_block check 2019-06-06 20:46:20 +02:00
Jens Steube
0568c0746a Emulate effect of reqd_work_group_size() in CUDA 2019-06-06 17:49:41 +02:00
Jens Steube
44ecc83d82 Do some CUDA and NVRTC version checks on startup 2019-06-05 10:53:48 +02:00
Jens Steube
03ed89684e Use --restrict nvrtc option by default 2019-06-04 17:35:10 +02:00
Jens Steube
68e39c2e47 Startup Checks: Improved the pidfile check: Do not just check for existing PID but also check executable filename 2019-06-03 15:43:56 +02:00
Jens Steube
87c336e822 Fix format warning in backend.c 2019-06-03 13:41:52 +02:00
Sein Coray
1ddeb3f65f
Added check for current pkzip inflate limitation to parser 2019-06-03 08:48:13 +02:00
Jens Steube
cb56f5ac2c Fix benchmark mask in -m 15400 2019-06-02 21:16:04 +02:00
Jens Steube
1f6c82b6d1 Add hc_cuModuleLoadDataExLog wrapper function for more detailed error logging from CUDA 2019-06-01 07:47:30 +02:00
Sein Coray
3365040bc1
fixed two bugs where pkzip hashes wouldn't be cracked 2019-05-24 22:11:51 +02:00
Jens Steube
3c603019c3
Merge pull request #2043 from s3inlc/pkzip-compression-mixed
Pkzip compression mixed
2019-05-21 18:07:39 +02:00
Sein Coray
215440e43c
adding support for mixed multi-file pkzip hashes with mode 17225 2019-05-20 22:25:29 +02:00
Sein Coray
3ac09d31a3
fixed mingw warnings by making clean hex to binary conversion on hash parsing 2019-05-20 22:03:55 +02:00
Sein Coray
e08fc096cd
adding support to 17230 kernel to allow compression types 0 and 8 2019-05-20 19:54:16 +02:00
Sein Coray
90ad225a8c
enforcing checksum length which is printed to be length 4 always 2019-05-20 19:49:32 +02:00
Sein Coray
aed1910205
fixed license text in pkzip master key kernels 2019-05-20 19:17:47 +02:00
Jens Steube
034987fa51
Merge pull request #2035 from s3inlc/pkzip-fix-2
Added parser message for pkzip hashes which have unsupported compression type for kernel
2019-05-20 11:50:22 +02:00
Jens Steube
3e64373599
Merge pull request #2034 from s3inlc/pkzip-fix-1
Fix issue with pkzip hashes which have a larger offset value to be printed correctly
2019-05-20 11:50:05 +02:00
Jens Steube
32881ad16d Fix 200xx space indents and hashes count 2019-05-19 15:48:15 +02:00
Royce Williams
348221c15c minor tweaks to hash-count min/max language 2019-05-19 04:59:33 -08:00
Jens Steube
f1632b933e Add support to configure hash-mode specific range of number of hashes supported 2019-05-19 14:46:05 +02:00
Jens Steube
c9fba782ed Add minimum password length for -m 20510 2019-05-18 16:29:58 +02:00
Jens Steube
686d71397a
Merge pull request #2032 from s3inlc/master
Adding pkzip stream cipher kernels 20500 and 20510
2019-05-17 18:36:21 +02:00
Jens Steube
fadb7ba9bd
Merge pull request #2031 from philsmd/master
fixes #2026: rule engine hex interpretation problem
2019-05-17 16:56:42 +02:00
Sein Coray
56f79232b5
adjusted name for modules 2019-05-17 15:50:03 +02:00
Sein Coray
301b5b9777
added parser message for pkzip hashes which have unsupported compression type for kernel 2019-05-17 15:42:13 +02:00
Sein Coray
c80bfde8f2
fix issue with pkzip hashes which have a larger offset value to be printed correctly 2019-05-17 15:28:49 +02:00
Sein Coray
15cbaa0f59
adding pkzip stream cipher kernels 20500 and 20510 2019-05-17 14:11:22 +02:00
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
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
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