1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-06 14:52:35 +00:00
Commit Graph

659 Commits

Author SHA1 Message Date
Jens Steube
38cc7225ae
Merge pull request #3517 from RLStrug/fix-25000
Corrected issue for module 25000 (SNMPv3 HMAC-MD5-96/HMAC-SHA1-96)
2022-12-01 18:17:34 +01:00
philsmd
b2c2fc86b4
fix whitespace 2022-11-30 16:05:05 +01:00
laika
e69dc3ff31 Corrected issue for module 25200 (SNMPv3 HMAC-SHA1-96) Password length should not be restricted to a minimum length 2022-11-28 00:08:45 +01:00
laika
f546fa2915 Corrected issue for module 25100 (SNMPv3 HMAC-MD5-96)\nPassword length should not be restricted to a minimum length 2022-11-28 00:01:27 +01:00
laika
6528f85c89 Corrected issue for module 25000 (SNMPv3 HMAC-MD5-96/HMAC-SHA1-96). Password length should not be restricted to a minimum length 2022-11-27 23:51:28 +01:00
Jens Steube
80ba8ca18e Rename -m 25850 to 30600 and add missing unit-test 2022-11-23 10:37:12 +01:00
Jens Steube
346e945045
Merge branch 'master' into ripemd160-hmac 2022-11-19 14:24:23 +01:00
piwvvo
0bd3fa4fe4 added HMAC-RIPEMD160 2022-11-14 20:18:35 +01:00
piwvvo
f5c53a7e77 added mode 30500 2022-11-14 18:19:41 +01:00
jsteube
02698b1c77 Rename -m 1412 to -m 30420, add unit test and optimized kernels 2022-11-03 20:03:20 +00:00
jsteube
cb49bf8ac1 Add pure kernels for -m 11500 2022-10-31 09:45:09 +00:00
jsteube
9dda830647 Add pure kernels for -m 27900 2022-10-30 12:23:02 +00:00
Jens Steube
8e6351cf77
Merge pull request #3482 from davidrozen76/master
Add hash-mode 3730 - Dahua NVR/DVR - md5($salt1.strtoupper(md5($salt2…
2022-10-28 21:41:03 +02:00
Pikachu
c81596511c Removed hash-mode 3730 optimized kernel support
Optimized kernels requires handling on data larger than the block size of the underlaying primitive, thus more work is to be done to support optimized kernels.
2022-10-26 19:58:00 +03:00
jsteube
baa3744689 Fixed false negative in updated -m 299xx plugins due to invalid handling of decrypted data.
Fixed #3490
2022-10-26 06:06:08 +00:00
Jens Steube
1f0fb154a5
Merge pull request #3485 from Lars-Saetaberget/lastpass_iv
Add support for non-zero IV to lastpass (-m 6800)
2022-10-24 18:19:46 +02:00
Pikachu
760eba95fb Updated hash-mode 3730 unit-test to work with two salts 2022-10-23 18:17:42 +03:00
Pikachu
a23080a5cc Added a unit-test in tools/test_modules for hash-mode 3730 2022-10-23 15:13:24 +03:00
Lars Sætaberget
f40dc401bc Add IV support to lastpass (-m 6800)
If you are from the past and need the old functionality, just use zeroes for the IV.

For instance, the old example hash would then become:
82dbb8ccc9c7ead8c38a92a6b5740f94:500:pmix@trash-mail.com:00000000000000000000000000000000
2022-10-21 14:37:24 +02:00
jsteube
fd46096b57 Update -m 299xx unit-tests to test for 56 bit instead of 32 bit 2022-10-19 17:48:11 +00:00
jsteube
a6a93c0bcf Add kernel for -m 29930 2022-10-15 10:01:49 +00:00
Jens Steube
13f427ff5c Add unit-test for -m 29940 2022-10-08 18:53:45 +02:00
Jens Steube
00126598b1 Add unit-test for -m 29930 2022-10-07 14:17:39 +02:00
Jens Steube
7e683ac446 Prepare -m 29910 and -m 29920 unit-test to act as template for -m 29930 unit-test 2022-10-06 16:02:02 +02:00
Jens Steube
3d6ad53076 Add unit-test for -m 29920 2022-10-05 18:47:45 +02:00
Jens Steube
f457397803 Prepare -m 29910 unit-test to act as template for -m 29920 unit-test 2022-10-04 18:51:30 +02:00
Jens Steube
dd05a988a1 Prepare -m 29910 unit-test to act as template for -m 29920 unit-test 2022-10-03 17:45:18 +02:00
Jens Steube
9ae37c9361 Add dynamic key length support for -m 29910 unit test 2022-10-02 13:10:56 +02:00
Jens Steube
a63dc50b08 Prepare unit test for -m 29910 2022-10-01 22:48:38 +02:00
Jens Steube
c63f88105d Fix some spacing in unit-test from -m 29800 2022-09-27 11:04:02 +02:00
Banaanhangwagen
72d11fd073
Create m29800.pm 2022-09-16 16:25:09 +02:00
Jens Steube
9ed69c6248 Add missing unit-test for -m 29700 2022-08-30 09:10:13 +02:00
philsmd
2c88578c1f
tests: add unit tests for -m 29600 2022-07-30 11:43:05 +02:00
Jens Steube
93427cab23
Merge pull request #3352 from philsmd/bitcoin_compat_address
Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address
2022-07-08 20:42:07 +02:00
Jens Steube
f7d104ea12
Merge pull request #3350 from philsmd/fix_28900_tests
fix test/verify for -m 28900
2022-07-05 19:12:09 +02:00
Jens Steube
0196790ba1
Merge pull request #3349 from philsmd/fix_28800_tests
fix test/verify for -m 28800
2022-07-05 19:11:55 +02:00
Jens Steube
9cc29aa1cd
Merge pull request #3347 from philsmd/fix_28600_tests
fix test/verify for -m 28600
2022-07-04 22:05:34 +02:00
philsmd
caeffebbe0 Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address 2022-06-29 18:15:48 +02:00
philsmd
3cf3662597 fix test/verify for -m 28900 2022-06-29 18:04:29 +02:00
philsmd
4d2179dba9 fix test/verify for -m 28800 2022-06-29 18:01:55 +02:00
philsmd
5bb02a8759 fix test/verify for -m 23400 2022-06-29 17:57:32 +02:00
philsmd
18c2d5cea2 fix test/verify for -m 28600 2022-06-29 17:53:33 +02:00
Jens Steube
a7ab9f48c3
Merge pull request #3336 from philsmd/p2wsh_segwit_bech32
Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address
2022-06-23 13:44:54 +02:00
Jens Steube
a414a9ed1a
Merge pull request #3334 from piwvvo/master
Added mode 4410 - md5(sha1($pass).$salt)
2022-06-22 20:30:00 +02:00
philsmd
22e033020a
Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address 2022-06-20 15:25:34 +02:00
philsmd
66e3786aaa
cleanup: remove spaces at the end of lines 2022-06-20 15:19:01 +02:00
piwvvo
6d941307ce added md5(sha1($pass).$salt) 2022-06-18 18:11:00 +02:00
Jens Steube
629c5e3169
Merge branch 'master' into hashcat_p2pkh 2022-06-14 15:14:52 +02:00
Jens Steube
b80eaf8796
Merge pull request #3316 from philsmd/27800_unit_tests
add tests for -m 27800 = MurmurHash 3
2022-06-11 18:28:19 +02:00
Jens Steube
cd88e0ee4c
Merge pull request #3315 from philsmd/29100_fix_test_deps
fix -m 29100 unit test dependencies
2022-06-11 18:27:57 +02:00
philsmd
754038ad16
fixes #3090 closes #3091: Added -m 2850x = Bitcoin WIF/P2PKH private key cracking 2022-06-11 11:44:05 +02:00
philsmd
f1c19eaeca
add tests for -m 27800 = MurmurHash 3 2022-06-11 11:15:03 +02:00
philsmd
a0873e879b
fix -m 29100 unit test dependencies 2022-06-08 16:05:34 +02:00
philsmd
3429846eee
add unit tests for -m 29000 2022-06-08 15:44:14 +02:00
philsmd
79aad28519 radmin 3: remove whitespace, add credits to tests 2022-05-30 16:59:30 +02:00
piwvvo
b0ceb41e4a added Radmin3 2022-05-28 15:56:29 +02:00
Jens Steube
7284f17f7d Limit password and salt length in unit test for -m 610 and -m 620 2022-05-27 17:34:08 +02:00
Jens Steube
9b6c316c35
Merge pull request #3288 from tweqx/master
Add BLAKE2b-512($salt.$pass) and BLAKE2b-512($pass.$salt)
2022-05-26 20:11:33 +02:00
tweqx
97a119da82 In the unit tests, convert the hexdigest to lowercase to match the behavior of 'module_hash_encode' 2022-05-23 16:53:50 +02:00
Jens Steube
5581665977 Rename -m 29500 to -m 29100 2022-05-23 15:46:24 +02:00
tweqx
0a5575cde5 Add BLAKE2b-512($salt.$pass) and BLAKE2b-512($pass.$salt) 2022-05-21 15:09:05 +02:00
Jens Steube
ed3b521855 Add unit-test for -m 29500 2022-05-18 16:33:33 +02:00
Jens Steube
2b89c69cc4
Merge pull request #3202 from Greexter/bitwarden-fix
Added parameter for second PBKDF2 iteration count for -m 23400, fixes #3033
2022-03-09 13:15:39 +01:00
Jens Steube
c94a26b382
Merge pull request #3196 from matrix/Amazon_AWS4-HMAC-SHA256
Added hash-mode: Amazon AWS4-HMAC-SHA256
2022-03-07 16:15:05 +01:00
Jakub
2a5ee51530
Merge branch 'master' into bitwarden-fix 2022-03-06 13:41:32 +01:00
Gabriele Gristina
6f45285919 DPAPI masterkey file v2 (context 3) 2022-03-06 00:55:47 +01:00
Gabriele Gristina
d5c545804b Added hash-mode: DPAPI masterkey file v1 (context 3) 2022-03-06 00:50:46 +01:00
Gabriele Gristina
fe96e26eff Prepare for DPAPI masterkey Context 3 2022-03-06 00:47:14 +01:00
Gabriele Gristina
0d282bbfb3 Added hash-mode: Kerberos 5, etype 18, DB 2022-03-05 12:59:38 +01:00
Gabriele Gristina
580afa985d Added hash-mode: Kerberos 5, etype 17, DB 2022-03-05 12:59:14 +01:00
Lars Sætaberget
918b4cf7da Added kernel, module and unit-test for hash-mode 28400: bcryptsha512 2022-03-02 12:32:01 +01:00
Jakub Štrom
9b66c01535 Add parameter for second iteration count 2022-02-28 23:16:12 +01:00
Jakub Štrom
74af4eced6 update module version 2022-02-28 21:47:59 +01:00
Jakub Štrom
67ba1f2112 add new version fix 2022-02-27 23:29:15 +01:00
Gabriele Gristina
98ce2496d5 Amazon AWS4-HMAC-SHA256 2022-02-23 22:20:18 +01:00
Gabriele Gristina
21c02b2324 removed unused printf from 21420 test module 2022-02-13 19:03:24 +01:00
philsmd
251ecc3b0b
fixes #3029: cracking long salts in -m 4510/4710 2022-02-09 16:43:24 +01:00
philsmd
6ca37c5a94
tests: cleanup and module deps fix 2022-01-30 10:35:51 +01:00
Jens Steube
e2eacb4dd3
Merge pull request #3138 from b0lek/PostgreSQL_SCRAM
Adding PostgreSQL SCRAM-SHA-256 hash mode - #3038
2022-01-21 17:42:15 +01:00
b0lek
b1e0434bd7 changed mode number to 28600 2022-01-20 19:31:09 +01:00
Jens Steube
88726a92b0
Merge branch 'master' into updated_testUnit_optSaltMax 2022-01-19 14:09:55 +01:00
philsmd
3c5b28e007
remove unnecessary perl modules from Exodus tests 2022-01-18 16:20:45 +01:00
b0lek
415e95ab38 Adding PostgreSQL SCRAM-SHA-256 hash mode 2022-01-17 19:51:20 +01:00
Gabriele Gristina
54605b9254 Fixed Unit Test salt-max in case of optimized kernel, with hash-type 22 and 23 2022-01-15 16:27:15 +01:00
Jens Steube
8867da9122 Add missing unit test and docs entry for -m 21420 2021-12-30 09:04:26 +01:00
Jens Steube
7e9bad7519 Prepare TS3 plugin: test module 2021-12-16 16:07:59 +01:00
Jens Steube
bf865d8bff Added hash-mode: Exodus Desktop Wallet (scrypt) 2021-12-14 13:46:20 +01:00
philsmd
3e085f8db0
tests: get rid of wrong modules from -m 28100 2021-11-29 17:12:56 +01:00
Jens Steube
d2ccd96da6 Added hash-mode: Windows Hello PIN/Password 2021-11-15 16:14:59 +01:00
Jens Steube
c08ad6f587
Merge pull request #3007 from philsmd/whitespace_fix
whitespace and code style fixes
2021-10-10 13:33:11 +02:00
Jens Steube
d6f8f3089a Added hash-mode: CRC64Jones 2021-10-09 11:43:04 +02:00
philsmd
5ef522ed8f
whitespace and code style fixes 2021-10-08 17:38:54 +02:00
Jens Steube
3f4dca13f9 Added missing unit-test for -m 27900 2021-10-02 09:57:40 +02:00
Jens Steube
d7c74d3ebb Fixed unit test initialization value for -m 11500 2021-10-01 20:16:47 +02:00
Jens Steube
db8de70ac8
Merge pull request #2988 from matrix/metamask_big
MetaMask: Increase the supported data len from 784b to 3136b and set pw-min to 8
2021-09-19 07:46:47 -04:00
Jens Steube
799bc0abe4 Prepare IV support in unit test for -m 11500 2021-09-15 14:20:15 +02:00
Jens Steube
540c0dde81
Merge pull request #2877 from thatux/25400_salt
improve 25400: recover both owner and user; add user password to hash; better test
2021-09-11 20:56:18 +02:00
Jens Steube
aea0071b58
Merge pull request #2965 from philsmd/master
fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt)
2021-09-10 20:24:06 +02:00
Jens Steube
120326c117
Merge pull request #2966 from philsmd/27000_tests_fix
tests: fixes -m 27000 verify
2021-09-07 18:09:37 +02:00
philsmd
d1509d9272 tests: fixes -m 26900 verify 2021-09-06 20:08:48 +02:00
philsmd
21154dbad2 tests: fixes -m 27000 verify 2021-09-06 20:03:04 +02:00
philsmd
8db02091a1 fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt) 2021-09-06 19:54:22 +02:00
Gabriele Gristina
694f0cd7c8 metamask: double the CT len again 2021-09-06 18:17:11 +02:00
Gabriele Gristina
6cbc614826 metamask: double the CT len, set pw_min to 8 2021-08-31 16:40:11 +02:00
Your Name
4b2c70bd82 make sure $u_pass is initialized 2021-08-20 11:54:39 +02:00
Your Name
db2e7d1391 m25400 can now recover both a owner-password and user-password (when set) based on a pdf's o-value
- added option to add the user-password to the pdf hash as an extra colum
- added pdf test files, both with and without a owner- and user-password

The main todo is to add a recovered user-password to back the hash that's written to the potfile.
Currently I'm printing a recovered password as "(user password=...) after the recovered owner-password.
Similair as the VC PIM is printed. However, this isn't most elegant.

A secondary todo is to verify a recovered user-password based on the u-value,
this could possibly simplify the check whether the recoverd password is a user-password or owner-password.
2021-08-20 10:16:14 +02:00
Gabriele Gristina
bbfc401ab8 add more checks in 27500/27600 module_verify_hash 2021-08-13 13:06:32 +02:00
Gabriele Gristina
6ab2c13a0c vbox: add unit test, fix multihash 2021-08-12 17:36:20 +02:00
Jens Steube
b386ab1c27
Merge pull request #2882 from matrix/vmware_vmx
Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
2021-08-12 08:32:38 +02:00
Gabriele Gristina
a43e239db8 move to 27400, fix unit test 2021-08-10 16:35:15 +02:00
therealartifex
8711072838 Fix errors and make recommended changes, set pw_max to 9 for opti kernel 2021-08-06 09:58:19 -04:00
therealartifex
0738820a89
Merge branch 'hashcat:master' into master 2021-08-05 09:29:41 -04:00
Jens Steube
63a0c5a1e1
Merge branch 'master' into snmpv3_sha512 2021-08-04 21:05:42 +02:00
Jens Steube
dde75f2763
Merge pull request #2904 from matrix/snmpv3_sha384
Added hash-mode: SNMPv3 HMAC-SHA384-256
2021-08-04 21:04:55 +02:00
therealartifex
ff55f31081 Update module, add a0 and a1 optimized kernels 2021-08-04 01:39:47 -04:00
therealartifex
afd3858f36
Merge branch 'hashcat:master' into master 2021-08-03 17:53:28 -04:00
therealartifex
a0c669b59f Update test module 2021-08-03 17:52:45 -04:00
Gabriele Gristina
81b54c3689 rename to 27300, reduced the amount of memory allocated in gpu for SNMPv3 HMAC-SHA512-384 2021-08-03 21:42:42 +02:00
Jens Steube
c2a79a4f9e
Merge pull request #2607 from Cablethief/master
Cracking NetNTLMv1/v2 using NT hashes
2021-08-03 08:37:12 +02:00
Michael Kruger
5c9be6c855 Add extra_tuningdb_block, test mod_constrants [-1,-1] 2021-08-02 14:43:22 +02:00
Michael Kruger
3bb25edb58 I was wrong, the 4th module_constraints is put back 2021-08-02 14:24:26 +02:00
Michael Kruger
2814f7f910 Made all module_constraints [32,32]. 2021-08-02 14:09:19 +02:00
Michael Kruger
30fe29b8a8 Allways pack in the tests. 2021-08-02 12:06:38 +02:00
Jens Steube
b2d1f42905 Fix self-test functionality if FIXED_LOCAL_SIZE_COMP is used
Fix -m 25700 datatype in -a 3 mode and maximum password length in pure kernel mode
Fix -m 12500, 23700 and 23800 if password is exactly length 128
2021-08-02 12:00:17 +02:00
therealartifex
483a62cb7c Add test module, update name of hash mode 27100 2021-08-01 21:31:06 -04:00
Jens Steube
bb1ead3b01
Merge branch 'master' into snmpv3_sha256 2021-07-30 18:57:44 +02:00
Jens Steube
8801855b14
Merge branch 'master' into snmpv3_sha224 2021-07-30 18:56:20 +02:00
Jens Steube
e5ac568afb
Merge pull request #2903 from matrix/snmpv3_mod
fix snmpv3 md5/sha1, tested with real hashes
2021-07-27 09:47:47 +02:00
Gabriele Gristina
357c23d7a1 Added hash-mode: SNMPv3 HMAC-SHA384-256 2021-07-27 05:17:26 +02:00
Gabriele Gristina
15b90c953e Added hash-mode: SNMPv3 HMAC-SHA512-384 2021-07-27 05:14:09 +02:00
Gabriele Gristina
d711c593de fix to crack real hashes 2021-07-26 23:00:33 +02:00
Gabriele Gristina
d62fa617fb fix to crack real hashes 2021-07-26 22:45:02 +02:00
Gabriele Gristina
c20ff01c39 using shared buffer between md5 and sha1 SNMPV3_TMP_ELEMS_OPT, fix to crack real hashes 2021-07-26 22:25:15 +02:00
Gabriele Gristina
45fce5d3a3 fix snmpv3 md5/sha1, tested with real hashes 2021-07-26 19:04:30 +02:00
Gabriele Gristina
58bb2b69b4 Added hash-mode: SNMPv3 HMAC-SHA256-192 2021-07-24 18:57:25 +02:00
Gabriele Gristina
7683ca19a3 Added hash-mode: SNMPv3 HMAC-SHA224-128 2021-07-24 18:36:10 +02:00
Gabriele Gristina
7c8d7f7831 Added hash-mode: SNMPv3 HMAC-MD5-96/HMAC-SHA1-96 2021-07-24 17:03:50 +02:00
Gabriele Gristina
4f10377703 Added hash-mode: SNMPv3 HMAC-MD5-96 2021-07-24 13:56:49 +02:00
Gabriele Gristina
7ea5da51a8 Added hash-mode: SNMPv3 HMAC-SHA1-96 2021-07-20 22:24:35 +02:00
Michael Kruger
a6ae33b1cd Changed the test cases to expect the HEX 2021-07-16 15:38:42 +02:00
Gabriele Gristina
eaedfb3f8a fix 26700 2021-07-15 19:58:11 +02:00
Cablethief
32b4a2cfd5 Modded test, same issue about requireing a HEX input or HEX[] input 2021-07-15 16:50:26 +02:00
Cablethief
c2ceba4c9d Modded test, however unsure of how to specify only HEX input or not 2021-07-15 15:56:39 +02:00
Gabriele Gristina
50aeaa299d Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC) 2021-07-14 19:31:21 +02:00
Your Name
012c5b16cd m25400.pm take the user-password into account 2021-07-13 21:52:32 +02:00
Your Name
021f23cfad removed print statement 2021-07-12 22:31:45 +02:00
Your Name
c91b61e237 m25400.pm should no longer recalculate $u 2021-07-06 00:58:39 +02:00
Gabriele Gristina
7371cbebe7 add min/max data length limits to MetaMask Wallet 2021-07-04 20:14:25 +02:00
Gabriele Gristina
1a34eba9f4 cleanup m26600.pm 2021-07-04 15:52:25 +02:00
Gabriele Gristina
f571329c4f Added hash-mode: MetaMask Wallet 2021-07-04 15:47:52 +02:00