1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00
Commit Graph

990 Commits

Author SHA1 Message Date
Gabriele Gristina
c48f044fb7 Fixed false negative on Unit Test with hash-type 25400 2022-01-10 01:50:32 +01:00
philsmd
c6318c4420
add Math::BigInt to install_modules.sh for tests 2022-01-06 11:20:07 +01:00
philsmd
b3c010cb40
remove module MIME::Base32 not used in unit tests 2022-01-06 11:15:20 +01:00
Jens Steube
8867da9122 Add missing unit test and docs entry for -m 21420 2021-12-30 09:04:26 +01:00
Gabriele Gristina
c014dc0c34 Updated test.sh 2021-12-28 16:38:38 +01:00
Jens Steube
625ce2bb7c Fix test.sh fix for M1 2021-12-27 15:03:33 +01:00
Gabriele Gristina
ea97241f84 added '-f' to test.sh help 2021-12-19 13:23:17 +01:00
Gabriele Gristina
1b68d333a8 Unit tests: Updated test.sh to set default device-type to CPU with Apple Intel, force pure kernel with Apple Silicon and add -f (--force) option 2021-12-18 02:27:27 +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
fe1d3f95bb hashcat 6.2.5 2021-11-21 16:39:01 +01:00
Jens Steube
d2ccd96da6 Added hash-mode: Windows Hello PIN/Password 2021-11-15 16:14:59 +01:00
Jens Steube
db3bc8eca2 Benchmark: Update benchmark_deep.pl with new hash modes added (also new hash modes which were added with v6.2.3) 2021-11-02 08:10:53 +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
Jens Steube
4aadb3a2f1 hashcat 6.2.4 2021-08-29 17:22:59 +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
Jens Steube
2ca13fb450
Merge pull request #2884 from matrix/vbox
Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS/AES-256-XTS)
2021-08-14 08:48:20 +02:00
Gabriele Gristina
bbfc401ab8 add more checks in 27500/27600 module_verify_hash 2021-08-13 13:06:32 +02:00
Gabriele Gristina
9e37897f91 add metamask extraction tool 2021-08-12 18:48:44 +02:00
Gabriele Gristina
6ab2c13a0c vbox: add unit test, fix multihash 2021-08-12 17:36:20 +02:00
Gabriele Gristina
75d3d5503d merge master 2021-08-12 14:36:51 +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
d4997d1255 Added support for auto-tuning --kernel-threads (-T) on startup 2021-07-31 16:49:39 +02: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
d38d40c8ba Unlock all GPU threads for AMD GPUs if WaveFront size is 32 (basically new models)
Add new hash-modes to tools/benchmark_deep.pl
Fix MINGW issue on 64 bit constant in refactored kernel-accel limiting section
2021-07-29 10:49:44 +02:00
Jens Steube
a4299b74af Memory Management: Refactored the code responsible for limiting kernel accel in order to avoid out of -host- memory situations 2021-07-28 20:50:05 +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
Gabriele Gristina
977ceba046 Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS) and VirtualBox (PBKDF2-HMAC-SHA256 & AES-256-XTS) 2021-07-17 18:38:04 +02:00
Jens Steube
84082a952e hashcat 6.2.3 2021-07-16 22:41:52 +02:00
Michael Kruger
a6ae33b1cd Changed the test cases to expect the HEX 2021-07-16 15:38:42 +02:00
Jens Steube
45e65dd05a Backport more ROCm based optimizations to HIP 2021-07-15 23:34:27 +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
Your Name
0a2245959f Clarified the --help of test.pl: passthrough and potthrough generate a new salt on each invocation, and verify parses the salt. 2021-06-30 22:09:27 +02:00
Your Name
d22c599c98 added note in test.pl potthrough: it only works with unsalted hashes 2021-06-29 23:06:54 +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
5a5ec0c5db Added hash-mode: VeraCrypt PBKDF2-HMAC-Streebog-512 + boot-mode 2021-06-21 13:40:46 +02:00
Jens Steube
f9fab1cadf Tests: Changed tests for VeraCrypt from -a 0 to -a 3, because password extension is not available to all shells 2021-06-17 09:43:21 +02:00
Jens Steube
3ee77aa581 Prepare for v6.2.2 2021-06-12 18:38:23 +02: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
Jens Steube
7078ee4fe9
Merge branch 'master' into hash-mode-10870 2021-05-28 18:57:24 +02:00
Jens Steube
fbc390788c
Merge branch 'master' into hash-mode-1470 2021-05-28 18:56:39 +02:00
Jens Steube
ef3b2fa61c
Merge branch 'master' into hash-mode-170 2021-05-27 19:31:44 +02:00
Jens Steube
6314c24f16
Merge pull request #2648 from matrix/hash-mode-70
Added hash-mode 70 - md5(utf16le(pass))
2021-05-27 19:30:54 +02:00
Jens Steube
6ce0b568b7
Merge branch 'master' into hash-mode-10840 2021-05-26 19:18:14 +02:00
Jens Steube
7378159487
Merge branch 'master' into hash-mode-10830 2021-05-26 19:16:22 +02:00
Jens Steube
94df2349cb
Merge branch 'master' into hash-mode-10820 2021-05-25 08:52:57 +02:00
Jens Steube
0aba4cab6b
Merge pull request #2656 from matrix/hash-mode-10810
Added hash-mode 10810 - sha384(pass.salt)
2021-05-25 08:51:44 +02:00
Jens Steube
0a6080505b AES Crypt Plugin: Replaced naive with true UTF8 to UTF16 conversion, reduced max password length to 128 and improved performance 2021-05-21 22:12:32 +02:00
Jens Steube
df8a773341 Restore maximum password length 128 for pure RAR3 kernels 2021-05-21 22:04:24 +02:00
Jens Steube
fd51086395 RAR3 Plugins: Replaced naive with true UTF8 to UTF16 conversion in optimized and pure kernels 2021-05-21 12:46:14 +02:00
Jens Steube
23bbe457a0 RAR3-hp Plugin: Replaced naive with true UTF8 to UTF16 conversion in optimized and pure kernel 2021-05-21 11:24:43 +02:00
Jens Steube
9028938998 Rename -m 3202 to -m 25800 2021-05-18 19:25:47 +02:00
Jens Steube
9bb45b4f4d
Merge branch 'master' into bcryptsha1 2021-05-18 19:20:28 +02:00
Jens Steube
aa7c579736 Added hash-mode: MurmurHash 2021-05-18 10:58:13 +02:00
Jens Steube
307cb63661
Merge pull request #2695 from matrix/cryptoapi
Added Linux Kernel Crypto API (2.4) KPA
2021-05-17 23:41:10 +02:00
Jens Steube
751d3a6454 Rename -m 3201 to -m 25600 2021-05-17 13:23:50 +02:00
Jens Steube
ae2580a542
Merge pull request #2637 from matrix/bcryptmd5
Added hash-mode 3201 - bcrypt(md5(pass)) / bcryptmd5
2021-05-17 13:17:25 +02:00
Jens Steube
442a95d0ea hashcat 6.2.1 2021-05-15 14:07:58 +02:00
Jens Steube
97a8f34251 hashcat 6.2.0 2021-05-14 19:08:08 +02:00
Jens Steube
ee7fd75efb Update tools/install_modules.sh, no longer need to uninstall pycryptodome 2021-05-11 08:11:30 +02:00
Jens Steube
057bf48924 Fixed unit tests using 'null' as padding method in Crypt::CBC but actually want to use 'none' 2021-05-11 07:15:45 +02:00
Gabriele Gristina
7275e94946 force add execution permission to cryptoloop2hashcat.py 2021-05-08 02:13:05 +02:00
Gabriele Gristina
e30febc8b8 cryptoapi opts (2) and test unit 2021-05-08 02:06:05 +02:00
Gabriele Gristina
69dc14c66f add cryptoloop2hashcat.py 2021-05-07 01:39:30 +02:00
Jens Steube
f011f790e2 Revert accidential rename of module and unit test from -m 21501 to -m 25100 2021-05-05 22:57:16 +02:00
Jens Steube
32b40d5c53 Added command prompt [f]inish to instruct hashcat to finish the current attack and quit afterwards 2021-05-05 22:53:04 +02:00
Jens Steube
08ed77c15c
Merge branch 'master' into SolarWinds2 2021-05-05 10:12:16 +02:00
Jens Steube
00c87bbc6d
Merge pull request #2658 from matrix/SolarWinds_ServU
Added hash-mode 24 - SolarWinds Serv-U
2021-05-05 10:10:12 +02:00
Jens Steube
520d0ae398 Update benchmark_deep.pl with new hash modes added 2021-05-04 11:38:53 +02:00
Jens Steube
db6f93b159 Example of a better UTF8 to UTF16LE encoding in unit test. It allows digesting UTF8 encoded password candidates from the shell in passthrough mode 2021-05-01 12:22:07 +02:00
Jens Steube
736290151d
Merge pull request #2638 from matrix/20710_fix
Fixed hash-mode 20710: removed unused code and fixed module_constraints
2021-04-29 16:08:00 +02:00
Jens Steube
2857e7c881
Merge pull request #2654 from matrix/test_sh_mod
Updated test.sh : show kernel type (pure or optimized) in output
2021-04-29 15:50:36 +02:00
Jens Steube
bd53f4a763
Merge pull request #2602 from roycewilliams/master
test.pl: add 'potthrough' (like passthrough, but hash:plain)
2021-04-28 10:24:26 +02:00
Jens Steube
db57497e8f Prevent unit test of -m 3000 to generate zero hash. This confuses test.sh validator 2021-04-26 09:32:19 +02:00
Jens Steube
483b30ea63 Disable pure kernel check for -m 24900 in unit tests. This kernel does not exist. 2021-04-18 15:35:03 +02:00
Banaanhangwagen
748464ee12
License change 2021-04-18 11:20:41 +02:00
Banaanhangwagen
0fd85dc8ce
Add files via upload 2021-04-18 00:41:12 +02:00
Jens Steube
35aa0911d1 Remove some debugging code from tools/test_modules/m26000.pm 2021-04-17 21:28:20 +02:00
Jens Steube
ee7d8ef0e7 Added new hash-modes Mozilla key3.db and key4.db 2021-04-17 21:24:27 +02:00
Jens Steube
57a8923b81 Update complete SCRYPT workload tuning logic.
A detailed description will follow.
Set -m 8900 defaults to 16k:8:1 (default scrypt settings).
2021-04-16 20:17:53 +02:00
Jens Steube
90bb28fcc7
Merge branch 'master' into 24300-mode 2021-04-15 17:55:07 +02:00