1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00
Commit Graph

3592 Commits

Author SHA1 Message Date
philsmd
844f12abf7
use BRAIN_SERVER_TIMER instead of BRAIN_SERVER_DUMP_EVERY 2020-01-11 11:25:37 +01:00
philsmd
c826558b49
fixes #2271: added --brain-server-timer for scheduled backup time 2020-01-11 10:46:11 +01:00
Jens Steube
8039290cd0 Update -m 10700 unstable warning and disable JiT compiler optimization for AMD GPU PRO, too 2020-01-06 13:36:17 +01:00
Jens Steube
4bef41ed1b Update -m 10700 unstable warning and disable JiT compiler optimization in pure kernel mode 2020-01-06 13:24:47 +01:00
Jens Steube
fe372dffb7 Add RDNA ISA instructions test for ADD/ADDC/SUB/SUBB 2020-01-06 12:49:57 +01:00
philsmd
b2c28289c8
PDF module: -m 10700 missing assignment of tmp_size 2020-01-04 14:08:30 +01:00
Jens Steube
df5e2361d3 Disable inline assembly instruction tests for CUDA and refer to documented requirements 2020-01-03 12:27:27 +01:00
Jens Steube
d0fb171da9 Added new options --backend-ignore-cuda and --backend-ingore-opencl, to ignore CUDA and/or OpenCL interface from being load on startup 2020-01-03 11:51:24 +01:00
philsmd
36fab0aa67
usage/help: use crack_pos everywhere instead of mixing crackpos w/ crack_pos 2020-01-03 11:21:48 +01:00
Jens Steube
b3690fcd05 Backport instruction test cache from CUDA to OpenCL 2020-01-03 11:06:55 +01:00
Jens Steube
2b4d0656d5 Cache inline assembly instruction check results for same devices types 2020-01-03 10:44:10 +01:00
Jens Steube
8e0f976ccf Merge branch 'master' of https://github.com/hashcat/hashcat 2020-01-02 19:40:35 +01:00
Jens Steube
20ef9725ef Use * in potfile entries for -m 250x and -m 1680x 2020-01-02 19:40:18 +01:00
Jens Steube
09c0cfcc04 Set -u for -m 22100 to 4k with the idea to force -n value to go down to 1 2020-01-02 12:51:25 +01:00
Jens Steube
931e29d333 Another Bitlocker boost, reduce shared mem consumption to give some of them to the compiler for more efficient calculating of memory pointer addresses 2020-01-02 12:34:19 +01:00
Jens Steube
daaf5d365c Use * in potfile entries for -m 22000 and -m 22001 2020-01-02 10:41:22 +01:00
Jens Steube
311d363054 Store precomputed KE for -m 22100 in shared memory and lock the loops per kernel invocation to a fixed value 2020-01-01 20:48:55 +01:00
Jens Steube
49b6520ca8 Make thread selection for -m 22100 mode flexible 2020-01-01 10:49:39 +01:00
Jens Steube
e31e7690ed Add BitCracker optimization to precompute KE of second sha256_transform since input data is static 2020-01-01 10:49:04 +01:00
Jens Steube
7215d4e9c0 Limit Bitlocker threads to 256 2019-12-31 23:01:47 +01:00
Jens Steube
0f9ad6f974 Limit Bitlocker threads to 256 2019-12-31 22:54:50 +01:00
Jens Steube
50907c5fff Update Bitlocker minimum password length 4 2019-12-31 22:03:53 +01:00
Jens Steube
bc442ad821 Add Bitlocker minimum password length 8 restriction 2019-12-31 21:29:09 +01:00
Jens Steube
268e4be7e8
Merge pull request #2258 from philsmd/master
fixes #1117: added -m 22100 = BitLocker
2019-12-31 21:26:55 +01:00
Jens Steube
5d1d48f5d7 Do not check for COPY_PW limits in outside kernels 2019-12-31 21:25:37 +01:00
philsmd
1c1ed72c65
fixes #1117: added -m 22100 = BitLocker 2019-12-31 18:42:13 +01:00
Jens Steube
4d286d5dc7 Fix selftest in case OPTS_TYPE_DEEP_COMP_KERNEL is active 2019-12-24 17:24:27 +01:00
Jens Steube
6ed3003a30 Fix for -m 3000 loading hashes in pwdump format 2019-12-23 15:59:14 +01:00
Jens Steube
81903e95ee Fix EAPOL temporary buffer overflow in -m 22000 and -m 22001 2019-12-22 10:35:40 +01:00
Jens Steube
c9b4e796b0 Fix missing EOL in -m 22000 and -m 22001 2019-12-22 10:11:25 +01:00
Jens Steube
2cc4244e14 Initial -m 22001 support 2019-12-19 22:14:42 +01:00
Jens Steube
161775b1b6 Switch separator character in -m 22000 from ':' to '*' 2019-12-19 19:17:01 +01:00
Jens Steube
f2aedd3741 Add support to load hashes for hash-mode 2500 and 16800 format from hash-mode 22000 2019-12-16 19:35:00 +01:00
Jens Steube
784eeb257b Make use of message_pair and set default for nonce_error_corrections in -m 22000 2019-12-16 12:47:48 +01:00
Jens Steube
2a04354401 New mode 22000 WPA-PBKDF2-PMKID+EAPOL to replace -m 2500 and -m 16800. NOTE: missing support for message_pair and nonce_error_corrections handling 2019-12-15 21:09:04 +01:00
Jens Steube
f9e5dcc133 Use deep comparison kernel from module function in selftest.c 2019-12-15 11:10:04 +01:00
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
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