1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00
Commit Graph

641 Commits

Author SHA1 Message Date
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
Jens Steube
7366c47447 Added hash-mode: iPhone passcode (UID key + System Keybag) 2021-07-03 19:03:06 +02:00
Jens Steube
909d5e64a5 Added hash-mode: AES-128/192/256-ECB NOKDF
This mode is probably very rare in real-life scenarios,
but it is a nice template for kernels which do
not use a KDF,
or use AES,
or simple fast hashes with lookup tables
or simple optimized kernels in general
2021-06-26 17:12:10 +02:00
philsmd
af95a63d40
fixes #2840: minor code style changes for OpenEdge tests 2021-06-22 10:40:24 +02:00
Jens Steube
f43ba9c8d6 minor whitespace fixes 2021-06-22 08:55:44 +02:00
Royce Williams
e4626dc471 Merge branch 'master' of https://github.com/roycewilliams/hashcat 2021-06-21 07:48:13 -08:00
Royce Williams
1e88990b46 minor whitespace fixes, per #2841 2021-06-21 07:47:22 -08:00
Jens Steube
eddd11441f
Merge pull request #2664 from matrix/hash-mode-26000
Added hash-mode 26000 - OpenEdge Progress Encode
2021-06-12 18:22:09 +02:00
Gabriele Gristina
42799fafb8 cleanup unit-test code 2021-06-12 17:10:36 +02:00
Gabriele Gristina
02b2ca41c5 add unit-test and set pw_max to 16 for ProgressEncode 2021-06-12 16:51:47 +02:00
Jens Steube
ebeb003552 Unit-Tests: Added missing unit-test for Stargazer Stellar Wallet XLM 2021-06-10 09:02:26 +02:00
Jens Steube
733f5e82ec Renamed -m 7010 to -m 26300 2021-06-08 11:12:54 +02:00
Jens Steube
9df4b7df92
Merge pull request #2810 from YSaxon/fortigate256
Added -m 07010: Fortigate256 (prefixed with SH2 instead of AK1)
2021-06-08 11:02:36 +02:00
Yaakov Saxon
7a15466442 Update module_07000.c
better?
sensible change
revert dgst_pos


update kernel file


update other 2 pure kernels


updating DGST_POS* to match other SHA256 hash formats


comments


removing optimized that I haven't updated


updated testfile


renaming to 07010


restoring original 07000 files


comments
2021-06-07 12:07:29 -04:00
Jens Steube
978f4c7a85
Merge pull request #2591 from trounce1/20720
Added -m 20720 sha256($salt.sha256($pass))
2021-06-04 08:10:49 +02:00
Jens Steube
f016deaa76
Merge branch 'master' into new-3500-mode 2021-06-03 07:52:17 +02:00
Jens Steube
38beceb170
Merge pull request #2594 from trounce1/5000
Added -m 5000 = sha1(sha1($salt.$pass.$salt))
2021-06-03 07:51:48 +02:00
Jens Steube
99faf3e6e1
Merge branch 'master' into hash-mode-10870 2021-05-29 10:46:28 +02:00
Jens Steube
71969a33cd
Merge branch 'master' into hash-mode-1770 2021-05-28 18:58:19 +02:00