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
Jens Steube
a8555fa048 Support use of all available CPU cores for hash-mode specific hooks 2019-11-03 12:05:52 +01:00
Jens Steube
d71afd6d7a Prepare new --hook-threads feature 2019-11-02 10:29:34 +01:00
Jens Steube
5a4cfe9fa3 Allow workload-profile change in benchmark mode 2019-10-25 11:16:06 +02:00
Jens Steube
95920f1ef3 Startup Checks: Prevent the user to modify options which are overwritten automatically in benchmark mode 2019-10-25 10:05:56 +02:00
Jens Steube
c78b8878d5 Fix calculation of mask length for status view in case hex-charset is used 2019-10-09 19:18:18 +02:00
Jens Steube
2622993c00 Fix check of OPTS_TYPE_PT_HEX in selftest 2019-10-09 19:15:37 +02:00
Jens Steube
786efc2d7c Add support for OPTS_TYPE_PT_HEX 2019-10-09 10:49:58 +02:00
Jens Steube
a0284b8378 Fixed invalid use of --hex-wordlist if encoded wordlist string is larger than length 256 2019-10-08 12:33:11 +02:00
Jens Steube
b197610811 Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT 2019-10-02 14:18:26 +02:00
Rosen Penev
49edbe184b Avoid narrowing errors
C++ with -Wnarrowing complains about these.
2019-09-11 20:18:26 -07:00
Rosen Penev
bd6c0e57e4 Change 0/1 to true/false
Found with clang-tidy
2019-09-11 18:36:52 -07:00
Rosen Penev
fd8150769d Add casts where needed in C++ mode
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00
Rosen Penev
3a64325c7e
Remove inline from functions
This breaks C++ semantics. It's also unnecessary.
2019-09-09 16:46:58 -07:00
Chick3nman
253db764b7 Fixed issue where multiple hashes with the same salt would fail to crack in module/kernel for 9500. Remove unused include in module for 9600. 2019-09-05 05:27:39 -05:00
philsmd
d9b22b86e4
wrong separator used in SipHash (-m 10100) 2019-08-22 09:45:35 +02:00
Jens Steube
0063bc7245 Fix uninitialized buffer in maskfile iteration 2019-08-21 14:57:41 +02:00
Jens Steube
417a1f6592 Add new hash-mode category 'framework' 2019-08-12 11:25:21 +02:00
Jens Steube
cadf20b4b9 Fix some code in -m 21500 2019-08-08 10:47:09 +02:00
Jens Steube
dd262a9aa9
Merge pull request #2146 from matrix/solarwinds_orion_1
Added hash-mode 21500 - SHA512(PBKDF2-HMAC-SHA1)
2019-08-08 09:49:18 +02:00
Gabriele Gristina
e921fbdf19 update SolarWinds Orion patch (3) 2019-08-07 21:21:14 +02:00
Jens Steube
7284b934cb Fix null pointer dereference in case LM hash with both LM parts was given without hash file 2019-08-07 16:20:26 +02:00
Jens Steube
884f003725 Fixed some memory leaks in case mask-files are used in optimized mode 2019-08-07 14:20:32 +02:00
Gabriele Gristina
5f44ce06f6 update SolarWinds Orion patch (2) 2019-08-06 20:23:37 +02:00
Jens Steube
ca31ef43af Fixed race condition in maskfile mode by using a dedicated flag for restore execution 2019-08-06 14:07:43 +02:00
Jens Steube
57a149276c Do alias check only in case both CUDA and OpenCL devices were detected 2019-08-06 12:44:39 +02:00
Jens Steube
97c9e86d15 Filehandling: Print a truncation warning in case an oversized line was detected 2019-08-06 12:22:24 +02:00
Jens Steube
1ecdffb580 Fix some code formatting 2019-08-06 11:26:56 +02:00
Gabriele Gristina
54f8811b4e update SolarWinds Orion patch (1) 2019-08-06 02:29:52 +02:00
Jens Steube
2aa5299992 Workaround too much register use in -m 14600 on low-end GPU 2019-08-05 15:23:00 +02:00
Gabriele Gristina
7532058be0 Added hash-mode 21500 - SHA512(PBKDF2-HMAC-SHA1) 2019-08-05 01:40:49 +02:00
Rosen Penev
ab061ba761
Run Clang's bugprone-narrowing-conversions
Fairly minor issue.
2019-08-03 22:37:38 -07:00
Rosen Penev
df618e861e
Run through Clang's performance-type-promotion-in-math-fn
Only changed log2 to log2f. Rightly so.
2019-08-03 22:37:38 -07:00
Rosen Penev
dca1a86315
Run through Clang's bugprone-macro-parentheses 2019-08-03 22:37:38 -07:00
Rosen Penev
6dc72ebcc5
Run through Clang's readability-else-after-return
There's no need for a return statement in an else path. Just take it out.
Simplifies the code slightly.
2019-08-03 22:37:38 -07:00
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
Removes casts where the type is identical.
2019-08-03 22:37:38 -07:00
Rosen Penev
2f76326c37
Run through Clang's android-cloexec checkers
This is mainly useful with SELinux.
2019-08-03 22:37:37 -07:00
Rosen Penev
98e17d5774
Run through clang-tidy's readability-uppercase-literal-suffix
1 and l are visually similar and can be confused. This also changes u to U
for consistency.
2019-08-03 19:59:17 -07:00
Jens Steube
e6d69ebaa6
Merge pull request #2143 from matrix/hash_mode_4711
Added hash-mode 4711, Huawei sha1(md5(pass).salt)
2019-08-03 20:24:18 +02:00
Jens Steube
a03bffe64f
Merge pull request #2128 from matrix/authme_1
Added hash-mode: AuthMe - sha256(sha256(pass).salt)
2019-08-03 20:24:07 +02:00
Gabriele Gristina
06bde16336 Added hash-mode 4711, Huawei sha1(md5(pass).salt) 2019-08-03 19:53:23 +02:00
Gabriele Gristina
358c68abd2 update AuthMe patch (3) 2019-08-03 02:37:43 +02:00
Jens Steube
c845d14601 Make -m 4710 more generic 2019-08-02 10:40:32 +02:00
Jens Steube
317b45adcf
Merge pull request #2137 from matrix/issue_2136
fix bug in 4710 a3 kernel
2019-08-02 10:23:50 +02:00
Awais Chishti
c40473416a Avoid -Waddress-of-packed-member warnings 2019-08-01 21:31:56 +05:00
Gabriele Gristina
66337ee8f5 update AuthMe patch (2) 2019-08-01 15:12:51 +02:00
Gabriele Gristina
d794d662c6 Added hash-mode 21100 optimized kernels 2019-08-01 02:38:43 +02:00
Gabriele Gristina
94d901e411 fix bug in 4710 a3 kernel 2019-07-31 19:04:40 +02:00
Gabriele Gristina
468bf2f19a update AuthMe patch (1) 2019-07-31 17:36:31 +02:00
Jens Steube
9e9adfcd7d
Merge pull request #2125 from matrix/double_sha256_1
Added hash-mode: sha256(sha256_bin(pass))
2019-07-31 15:59:36 +02:00
Gabriele Gristina
cc689caa42 switch hash-mode from 1470 to 21400, cleanup credits/readme/changes txt 2019-07-31 15:39:16 +02:00
Jens Steube
738523d4ff
Merge pull request #2131 from matrix/BitShares_v0
Added hash-mode: BitShares v0.x - sha512(sha512(pass))
2019-07-31 15:38:47 +02:00
Gabriele Gristina
ca0ef1b70e update hash-name 2019-07-31 15:30:39 +02:00
Jens Steube
fa5873ae33
Merge pull request #2134 from matrix/hash_mode_4430
Added hash-mode: md5(salt.sha1(salt.pass))
2019-07-31 14:44:33 +02:00
Jens Steube
41dc503506
Merge pull request #2133 from matrix/md5_combo_2
Added hash-mode: md5(sha1(salt).md5(pass))
2019-07-31 13:19:12 +02:00
Jens Steube
0582a58ce2
Merge pull request #2132 from matrix/hash_mode_4720
Added hash-mode: sha1(md5(pass.salt))
2019-07-31 13:15:06 +02:00
Jens Steube
e74fcffcea
Merge pull request #2127 from matrix/md5_combo_1
Added hash-mode: md5(sha1(pass).md5(pass).sha1(pass))
2019-07-31 12:46:22 +02:00
Jens Steube
6ecc662451
Merge pull request #2115 from matrix/zip_support_1
Add support to load wordlists in zip format
2019-07-30 15:55:06 +02:00
Jens Steube
7dba0f311a
Merge pull request #2110 from matrix/sha256_md5_huawei
Added hash-mode: sha256(md5(pass))
2019-07-30 15:34:22 +02:00
Gabriele Gristina
16b06f51fc switch hash-mode from 4430 to 21300 2019-07-30 15:26:07 +02:00
Gabriele Gristina
16b4f745af switch hash-mode from 4420 to 21200 2019-07-30 15:23:04 +02:00
Gabriele Gristina
8f236f9609 switch hash-mode from 4720 to 21100 2019-07-30 15:19:22 +02:00
Gabriele Gristina
bba2ee65a2 switch hash-mode from 1770 to 21000 2019-07-30 15:15:49 +02:00
Gabriele Gristina
1b5168b95a switch hash-mode from 4410 to 20900 2019-07-30 15:08:55 +02:00
Gabriele Gristina
f2d92d8aec switch hash-mode from 4710 to 20800 2019-07-30 14:44:17 +02:00
Jens Steube
8ec95ddfbf
Merge pull request #2129 from matrix/sha1_combo_1
Added hash-mode: sha1(md5(pass).salt)
2019-07-30 12:41:31 +02:00
Gabriele Gristina
b54ad7981f update repo and re-apply zip patch 2019-07-29 18:42:50 +02:00
Gabriele Gristina
c1d15d613b switch hash-mode from 19400 to 20700 2019-07-29 17:16:53 +02:00
Jens Steube
dc000aa281
Merge pull request #2120 from jackschmidt/nsec3-empty-salt-fix
nsec3 m 8300: salt can be empty
2019-07-29 16:47:03 +02:00
Jens Steube
e76c3de86a Fix invalid password truncation in -a 1 mode 2019-07-29 16:11:50 +02:00
Jens Steube
8d770e6981
Merge pull request #2109 from matrix/brain_1
(brain) remove unused *rc* vars and cleanup
2019-07-29 15:06:16 +02:00
Jens Steube
90b9e08fc7
Merge pull request #2108 from matrix/dispatch_1
(dispatch) remove unused *rc* vars and cleanup
2019-07-29 15:05:05 +02:00
Jens Steube
be53c3dbe9
Merge pull request #2107 from matrix/straight_1
(straight) remove unused *rc* vars and cleanup
2019-07-29 15:04:22 +02:00
Jens Steube
0718b87dcb
Merge pull request #2106 from matrix/restore_1
(restore) remove unused *rc* vars and cleanup
2019-07-29 15:03:33 +02:00
Jens Steube
64fd1575c8
Merge pull request #2105 from matrix/main_1
(main) remove unused *rc* vars and cleanup
2019-07-29 15:03:00 +02:00
Jens Steube
97b5b723c4
Merge pull request #2104 from matrix/keyboard_layout_1
(keyboard_layout) remove unused *rc* vars, change free with hcfree
2019-07-29 15:02:34 +02:00
Jens Steube
35f04bf15d
Merge pull request #2102 from matrix/filehandling_1
move hc_* file functions from shared.c/.h to filehandling.c/.h
2019-07-29 14:58:15 +02:00
Jens Steube
fbf787bd73
Merge pull request #2101 from matrix/issue_2084
Fix #2084: bug with -S -O arguments set together
2019-07-29 14:41:57 +02:00
Gabriele Gristina
85b16ef844 do not call mp_css_utf16le_expand() in case this is a slow_candidate session 2019-07-29 14:29:43 +02:00
Jens Steube
aadb4c71d4
Merge pull request #2100 from matrix/fix_mpsp_bug
fix bug in mpsp
2019-07-29 12:33:09 +02:00
Gabriele Gristina
d824d1943e Added hash-mode: md5(salt.sha1(salt.pass)) 2019-07-27 17:03:19 +02:00
Gabriele Gristina
370a552459 Added hash-mode: md5(sha1().md5()) 2019-07-27 14:16:30 +02:00
Gabriele Gristina
e766cf0dc7 Added hash-mode: sha1(md5(.)) 2019-07-27 02:03:23 +02:00
Gabriele Gristina
af622f6df5 Added hash-mode: BitShares v0.x - sha512(sha512(pass)) 2019-07-26 23:47:32 +02:00
Gabriele Gristina
b1d8035707 remove the changes to src/mpsp.c 2019-07-26 12:38:33 +02:00
Gabriele Gristina
8ad2261a01 remove the changes to src/mpsp.c 2019-07-26 12:35:14 +02:00
Gabriele Gristina
bf5d8af890 remove the changes to src/mpsp.c 2019-07-26 12:17:44 +02:00
Gabriele Gristina
bbee1890cd Added hash-mode: sha1(md5(pass).salt) 2019-07-26 01:49:35 +02:00
Gabriele Gristina
eedceb698f Added hash-mode: md5(sha1().md5().sha1()) 2019-07-25 23:56:20 +02:00
Gabriele Gristina
c166242996 Add AuthMe - sha256(sha256().) kernel module 2019-07-23 19:23:06 +02:00
Gabriele Gristina
038bce131f Add Double sha256 kernel module 2019-07-20 21:06:46 +02:00
Jack Schmidt
e724e0dadc nsec3 m 8300: salt can be empty 2019-07-18 08:06:00 -04:00
Jens Steube
d1f473d6ba
Merge pull request #2099 from Chick3nman/master
Added Remaining counts and changed Recovered count logic
2019-07-13 16:35:07 +02:00
Gabriele Gristina
806b00168c fix wrong OPTS_TYPE, add remaining 4710 kernels 2019-07-13 15:36:16 +02:00
Gabriele Gristina
bbcb23b038 Add hash mode 4710 - sha256(md5(pass)) 2019-07-13 14:43:13 +02:00
Gabriele Gristina
e77d6e947c (brain) remove unused *rc* vars and cleanup 2019-07-13 08:23:12 +02:00
Gabriele Gristina
278cd66775 (dispatch) remove unused *rc* vars and cleanup 2019-07-13 07:52:54 +02:00
Gabriele Gristina
cdbef854a4 (keyboard_layout) remove unused *rc* vars, change free with hcfree 2019-07-13 07:32:15 +02:00
Gabriele Gristina
7e7acb0ee8 (main) remove unused *rc* vars and cleanup 2019-07-13 07:27:32 +02:00
Gabriele Gristina
f0a7ba1473 (restore) remove unused *rc* vars and cleanup 2019-07-13 07:23:50 +02:00
Gabriele Gristina
48ca028714 (straight) remove unused *rc* vars and cleanup 2019-07-13 07:16:03 +02:00
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