1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 23:48:39 +00:00
Commit Graph

3406 Commits

Author SHA1 Message Date
Jens Steube
e83c71a18f Add missing AUX4 in selftest.c 2019-12-14 18:44:13 +01:00
Jens Steube
40a5835927 In -m 12700 and -m 15200 decrypt 48 byte of data instead of just 16 byte 2019-12-13 13:19:58 +01:00
Jens Steube
8932c71ac2 Mark -m 17200, 17220, 17225 and 21800 as unstable on ROCM 2019-12-07 12:09:58 +01:00
Jens Steube
53254b45aa Backport inc_ecc_secp256k1 inline assembly code for AMD ISA 2019-12-05 15:43:01 +01:00
philsmd
d07f002337 electrum 4/5: improve speed (rm hook) 2019-12-05 10:43:42 +01:00
Jens Steube
52e83c2292 Fix missing OPTS_TYPE_KEYBOARD_MAPPING in -m 624x 2019-12-03 11:26:33 +01:00
Jens Steube
9a2c4e3417 Fix invalid use of TOKEN_ATTR_VERIFY_DIGIT in -m 15500 2019-11-28 12:21:36 +01:00
Jens Steube
bfd95d42f6 - OpenCL Runtime: Reenabled support for Intel GPU OpenCL runtime 2019-11-27 10:28:12 +01:00
Jens Steube
48f60cc0f5 Get rid of cast-function-type warnings on newer GCC 2019-11-27 09:40:47 +01:00
Jens Steube
d18ff6fa3d Fix -m 21600 DGST_SIZE 2019-11-27 09:07:47 +01:00
Jens Steube
86d3f9e9c7 Fix -m 21600 default hash length 2019-11-27 09:03:17 +01:00
Jens Steube
a63aa679d3 Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category 2019-11-26 17:16:18 +01:00
Jens Steube
9a28f53887
Merge pull request #2239 from blacktraffic/master
new PR for mode 21600, as discussed on previous thread for 12101
2019-11-26 13:10:22 +01:00
Jens Steube
d9a92afecc Change out-of-boundary fix in order to re-enable password length 256 with rules in pure kernel mode 2019-11-26 11:26:56 +01:00
Jens Steube
2884bded32 Initialize some variable to make scan-build happy 2019-11-26 10:55:57 +01:00
Jamie R
ce17418b27 add web2py pbkdf2-hmac-sha512 variant 2019-11-24 14:49:13 +00:00
Jens Steube
d315f61414 Fix -m 1800 speed on ROCM 2019-11-24 08:50:31 +01:00
Jens Steube
d518bd3903 Unlock all threads for -m 600 2019-11-23 13:26:40 +01:00
Jens Steube
f152f6a16c Fix missing --quiet check in password/salt min/max info on startup 2019-11-22 19:10:56 +01:00
philsmd
9264560a28 formatting: remove extra whitespace in terminal.c 2019-11-21 10:47:07 +01:00
Jens Steube
13dcae6879 Fix -m 15400 selftest-pair, benchmark-mask and unit-test 2019-11-21 09:39:07 +01:00
Jens Steube
588e0ed294 Show information about minimum and maximum password- and salt-length before the hash parser starts 2019-11-21 09:03:06 +01:00
Jens Steube
00b9f4c557 Add kernel accel minimum limit check 2019-11-19 20:38:31 +01:00
Jens Steube
424777ae28 Add kernel accel limiter based on kernel threads to reduce host memory requirements 2019-11-19 17:59:50 +01:00
Chick3nman
b1016aee62
Update Terminal.c
Increase verbosity for `--force` usage
2019-11-17 15:12:27 -06:00
Jens Steube
f7c3ced548 Fix use of calloc() in backend.c 2019-11-17 19:59:23 +01:00
philsmd
31d8445c37 re-enable USE_SYSTEM_LIBSECP256K1 = 1 2019-11-17 13:11:19 +01:00
Jens Steube
b618a72bd7 Update accel and thread modifiers for -m 21700 and -m 21800 2019-11-16 21:09:56 +01:00
philsmd
8839504daa
electrum 4/5 improve speed by avoiding secp256k1_ec_pubkey_serialize 2019-11-16 20:53:28 +01:00
Jens Steube
c4dd020685 Add support for NVIDIA Jetson AGX Xavier developer kit 2019-11-16 17:27:35 +01:00
Jens Steube
d0ad516422 Add some accel and thread limits to -m 21700 and -m 21800 for a smoother benchmark and checkpoint experience 2019-11-16 12:41:59 +01:00
Jens Steube
14ea59c001
Merge pull request #2227 from philsmd/master
Fixes #1806: added -m 21700 = Electrum 4 and -m 21800 = Electrum 5
2019-11-16 12:08:14 +01:00
Jens Steube
53e96a12a0 Improve automatic calculation of hook threads value 2019-11-16 11:48:25 +01:00
philsmd
db91fe6981 Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5 2019-11-16 10:48:52 +01:00
Jens Steube
fe8c17f4c7 Support pause/abort in hooks 2019-11-15 14:42:34 +01:00
Jens Steube
08a74596c1 Add cry_salt_buf[] and cry_salt_len for easier readability in -m 11300 2019-11-15 13:06:45 +01:00
Jens Steube
bb2ea7ec57
Merge pull request #2222 from solardiz/nexus-wallet
Add Nexus legacy wallet support to -m 11300
2019-11-15 12:43:50 +01:00
Jens Steube
9c2c73c6cc Clear hook buffers after full kernel chain is finished 2019-11-15 10:12:33 +01:00
Jens Steube
732ea73721 Add free memory to per device startup info (not only total and allocatable memory) 2019-11-14 12:47:05 +01:00
Jens Steube
664e595b45 Add unstable warning for -m 10700 for Intel CPU 2019-11-14 12:46:09 +01:00
Jens Steube
7458e4f487 Add per-device available memory test of static data (hashlist, ruleset) before test of dynamic data (-n based) 2019-11-14 11:31:00 +01:00
Solar Designer
9d9351da22 Add Nexus legacy wallet support to -m 11300 2019-11-12 19:32:03 +01:00
Jens Steube
e194fec229
Merge pull request #2220 from neheb/cm
Fix extra semicolon warnings
2019-11-11 10:17:10 +01:00
Rosen Penev
a6edb84157
Fix extra semicolon warnings
These macros don't need a ; but since ; is used, make the macros more
robust by enclosing them in a do while loop.
2019-11-09 16:42:50 -08:00
philsmd
17b7eb1dce fixes #2200: new WinZip tokenizer hex data length problem 2019-11-09 10:44:28 +01:00
philsmd
461deb1e17
fixes #2214: -m 15200 = Blockchain allow large data similar to -m 12700 with hash copy 2019-11-08 11:39:03 +01:00
Jens Steube
b02fe8e076 Mark Intel OpenCL CPU runtime as broken for hash-mode 15300 2019-11-05 20:44:19 +01:00
Jens Steube
6adc217bae Keep output of --show and --left in the original ordering of the input hash file 2019-11-05 13:49:22 +01:00
Jens Steube
30f0745252
Merge pull request #2190 from neheb/narrow
Avoid narrowing errors
2019-11-05 12:30:08 +01:00
Jens Steube
ce0257dd84
Merge pull request #2189 from neheb/fgfggdf
bools
2019-11-05 12:29:02 +01:00
Jens Steube
c12470b978
Merge pull request #2188 from neheb/cast
Add casts where needed in C++ mode
2019-11-05 12:28:21 +01:00
Jens Steube
b4c7a8a914
Merge pull request #2184 from neheb/patch-2
Remove inline from functions
2019-11-05 12:21:18 +01:00
Jens Steube
82f4766f13
Merge pull request #2181 from Chick3nman/master
Fixed bug in mode 9500
2019-11-05 12:20:49 +01:00
Jens Steube
4078bcd8d7 Fix tokenizer configuration in -m 20710 and -m 13600 2019-11-05 12:18:14 +01:00
Jens Steube
9ea1f88f27 Fix tokenizer configuration in -m 20711 2019-11-03 12:33:09 +01:00
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