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

4712 Commits

Author SHA1 Message Date
philsmd
0822930471
fix length of salt_buf for -m 29600 2022-07-30 11:54:50 +02:00
philsmd
93c8f3cb7c
add OPTS_TYPE_ST_HEX to -m 29600 and restrict salt lengths 2022-07-30 11:48:57 +02:00
philsmd
891a348d99
updates example hash and password for -m 29600 2022-07-30 11:39:49 +02:00
philsmd
ccd754f220
fixes #3404: fixed name/category/readme for -m 29600 2022-07-30 11:35:50 +02:00
philsmd
0fc1b66d98
fix white space in -m 29600 = Terra Station Wallet 2022-07-30 11:22:38 +02:00
Royce Williams
6239c49718 typo in --outfile-check-timer help example 2022-07-28 06:17:54 -08:00
jsteube
5fa08a7989 Terminal: Limit output length of example hash in --example-hash mode to 200. Use --mach to see full example hash 2022-07-27 12:35:57 +00:00
Jens Steube
9bc8a90593
Merge pull request #3395 from ventaquil/make-hash-info-readable-again
Set up maximum length of example hash
2022-07-27 13:30:36 +02:00
Konrad Goławski
336b9c38c8 Set up maximum length of example hash
Fixes GH-3382
2022-07-25 22:33:02 +02:00
Konrad Goławski
f7ba563a28 TrueCrypt modules code cleanup 2022-07-25 15:53:51 +02:00
Konrad Goławski
74e2dad0d7 LUKS legacy module code cleanup 2022-07-22 18:49:02 +02:00
Konrad Goławski
2bd1861a83 New LUKS modules code cleanup 2022-07-22 18:49:02 +02:00
danielnachun
29373a0f6d
src/filehandling.c: add missing include 2022-07-20 14:30:33 -07:00
jsteube
ded6b14474 Fix missing new module_benchmark_charset() entry in -m 29600 2022-07-20 18:21:13 +00:00
Tom S
b0d99924e5 m29600, terra crypto wallet 2022-07-18 17:08:38 +01:00
Jens Steube
aa5becf1ad
Merge pull request #3379 from ventaquil/code-cleanup-pkcs8
24410/24420 modules cleanup
2022-07-17 15:59:30 +02:00
philsmd
8a77861ba3
Makefile: update MODULE_INTERFACE_VERSION 2022-07-15 17:50:31 +02:00
Jens Steube
c13451d6d5
Merge pull request #3381 from philsmd/benchmark_custom_charset
change interface, add module_benchmark_charset ()
2022-07-15 17:19:23 +02:00
philsmd
d9749e8799
change interface, add module_benchmark_charset () 2022-07-15 17:17:57 +02:00
Jens Steube
eb9bb1c363
Merge pull request #3376 from philsmd/token_length_exception_summary
warning about token length exception was showing incorrect values/percentage
2022-07-15 16:06:20 +02:00
Jens Steube
c623164119
Merge pull request #3375 from philsmd/26200_hash_no_copy
avoid OPTS_TYPE_HASH_COPY, just use digest_buf in -m 26200 = OpenEdge
2022-07-14 21:14:04 +02:00
Jens Steube
854707a6a5
Merge pull request #3374 from philsmd/26200_hash_encoding
improved hash sanity checks for -m 26200 = OpenEdge
2022-07-14 21:11:44 +02:00
jsteube
9fe51563b1 Fix compiler warnings like this detected by MinGW GCC 10 or later:
```
src/modules/module_29543.c: In function ‘module_hash_encode’:
src/modules/module_29543.c:382:18: warning: ‘key_size’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
  382 |   int line_len = snprintf (line_buf, line_size,
      "%s%s$%u$%u$%s$%s$%s",
      |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  383 |     SIGNATURE_LUKS,
      |     ~~~~~~~~~~~~~~~
  384 |     cipher_mode,
      |     ~~~~~~~~~~~~
  385 |     key_size,
      |     ~~~~~~~~~
  386 |     iterations,
      |     ~~~~~~~~~~~
  387 |     salt_buf,
      |     ~~~~~~~~~
  388 |     af_buf,
      |     ~~~~~~~
  389 |     ct_buf);
      |     ~~~~~~~
```

Fix is not ideal but is better than uninitialized variables.
2022-07-13 06:49:27 +00:00
jsteube
37b30540ff Fix compiler warnings in MinGW GCC 10 2022-07-13 06:35:02 +00:00
jsteube
34c539355b Fix compiler warnings for -m 30xxx with GCC 11 2022-07-13 05:44:42 +00:00
Konrad Goławski
8564be20eb 24410/24420 modules cleanup 2022-07-13 01:37:59 +02:00
Jens Steube
599f7eedc0
Merge pull request #3373 from philsmd/24900_hash_encoding
better dahua_decode () sanity checks and error detection
2022-07-12 15:55:55 +02:00
Jens Steube
634b43e620
Merge pull request #3371 from philsmd/stock_module_fix
missing OPTS_TYPE_STOCK_MODULE in some hash modes (BLAKE2b-512 variants)
2022-07-11 19:22:27 +02:00
Jens Steube
a8bb6de550
Merge pull request #3367 from mdawsonuk/3205-2-werkzeugmd5
Added Python Werkzeug MD5 module
2022-07-10 15:12:34 +02:00
Jens Steube
afaa0b4e28
Merge pull request #3366 from mdawsonuk/3205-1-sha256crypt
Add Python Werkzeug SHA256 module
2022-07-10 15:11:49 +02:00
Jens Steube
92035a7c56
Merge pull request #3362 from enwony/master
fixed crossbuild for mingw/win64 issue #3361
2022-07-09 23:21:09 +02:00
Jens Steube
f33382a422
Merge pull request #3358 from philsmd/28900_default_pass
change default pass for -m 28900 = Kerberos 5, etype 18, DB
2022-07-09 20:33:07 +02:00
Jens Steube
f9757288da
Merge pull request #3357 from philsmd/28800_default_pass
change default pass for -m 28800 = Kerberos 5, etype 17, DB
2022-07-09 20:32:57 +02:00
philsmd
534acbacea
warning about token length exception was showing incorrect values/percentage 2022-07-09 12:22:39 +02:00
philsmd
4e4209e6c6
avoid OPTS_TYPE_HASH_COPY, just use digest_buf in -m 26200 = OpenEdge 2022-07-09 12:02:59 +02:00
philsmd
a71320ec9d
improved hash sanity checks for -m 26200 = OpenEdge 2022-07-09 11:57:55 +02:00
philsmd
27f7a72f92
better dahua_decode () sanity checks and error detection 2022-07-09 11:52:48 +02:00
philsmd
f153fe386c
missing OPTS_TYPE_STOCK_MODULE in some hash modes (BLAKE2b-512 variants) 2022-07-09 11:45:17 +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
3515e3f40e
Merge pull request #3356 from philsmd/23400_default_pass
change default pass for -m 23400 = Bitwarden
2022-07-06 17:40:27 +02:00
Matt
2544385241
Rename module_30000.c to module_30120.c 2022-07-04 22:36:48 +01:00
Matt
01e80f40c7
Rename module_30010.c to module_30000.c 2022-07-04 22:35:46 +01:00
Matt
de54cc7793
Added Python Werkzeug format for MD5 (HMAC(key = $salt)) 2022-07-04 22:08:11 +01:00
enwony
1120c1a5de
Update src/modules/module_28504.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-05 06:46:05 +11:00
enwony
c2b5c19e87
Update src/modules/module_28504.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-05 06:45:56 +11:00
enwony
914de795f4
Update src/modules/module_28503.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-05 06:45:48 +11:00
Matt
73634d203b
Add Python Werkzeug SHA256 module 2022-07-04 19:39:10 +01:00
enwony
007a9e3f69
Update src/modules/module_28503.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-04 09:36:34 +11:00
Jens Steube
8e200e8eb6
Merge pull request #3363 from ventaquil/fix-hash-info-output
Increase event buffers sizes
2022-07-03 18:51:51 +02:00
Konrad Goławski
ef88993043 Use hex_encode/hex_decode in 24410-24420 modules 2022-07-03 18:17:47 +02:00
Konrad Goławski
a15fa2014c Increase event buffers sizes
Fixes GH-3359
2022-07-03 14:55:47 +02:00
enwony
a3d8a347b2 fixed crossbuild for mingw/win64 issue #3361 2022-07-03 02:28:11 +03:00
Jens Steube
364f1438a8 Fix pw_min / pw_max rejection test in -a 9 attack-mode 2022-07-02 21:26:20 +02:00
philsmd
a2b7996f82 change default pass for -m 28900 = Kerberos 5, etype 18, DB 2022-07-02 12:04:03 +02:00
philsmd
35e0ef1b67 change default pass for -m 28800 = Kerberos 5, etype 17, DB 2022-07-02 12:01:06 +02:00
philsmd
aaad0e3985 change default pass for -m 23400 = Bitwarden 2022-07-02 11:58:15 +02:00
philsmd
caeffebbe0 Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address 2022-06-29 18:15:48 +02:00
Jens Steube
e0fae5c7ab
Merge pull request #3344 from philsmd/bitcoin_segwit_p2wpkh
rename -m 28503/28504 from P2WSH to P2WPKH
2022-06-29 17:11:07 +02:00
Jens Steube
cd77e488dc
Merge pull request #3343 from philsmd/bitcoin_segwit_newline_fix
fix code, add newline in 28503/28504
2022-06-28 19:10:53 +02:00
Konrad Goławski
ddb2d6e61a New LUKS v1 modules 2022-06-25 13:54:20 +02:00
philsmd
1ba15ea3a0 rename -m 28503/28504 from P2WSH to P2WPKH 2022-06-25 11:57:51 +02:00
philsmd
e91369ad59 fix code, add newline in 28503/28504 2022-06-25 11:53:12 +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
Jens Steube
b803319c80
Merge pull request #3331 from philsmd/p2pkh_use_b58check_enc
refactoring/simplification: use b58check_enc () when possible
2022-06-21 16:23:04 +02:00
piwvvo
8234cbaa13
Merge branch 'hashcat:master' into master 2022-06-20 18:55:00 +02:00
philsmd
22e033020a
Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address 2022-06-20 15:25:34 +02:00
Jens Steube
372d3a127f
Merge pull request #3326 from ventaquil/pkcs-increase-accepted-salt-len
Increase salt length for PKCS#8
2022-06-19 20:41:22 +02:00
Jens Steube
a354faa0ea Fix compiler warning in -m 27700 2022-06-18 19:02:22 +02:00
piwvvo
6d941307ce added md5(sha1($pass).$salt) 2022-06-18 18:11:00 +02:00
philsmd
59838fa27c
refactoring/simplification: use b58check_enc () when possible 2022-06-18 11:24:12 +02:00
Konrad Goławski
3d03c80c6e Increase salt length for PKCS#8
Fixes GH-3323
2022-06-17 17:57:11 +02:00
Konrad Goławski
5898ae9fa3 Added legacy suffix to old TrueCrypt modules 2022-06-17 00:36:40 +02:00
Jens Steube
c53c28ed3a
Merge pull request #3302 from ventaquil/veracrypt-strings
VeraCrypt strings
2022-06-16 19:41:33 +02:00
Jens Steube
0b27d1f9ea
Merge pull request #3310 from half-duplex/mbc-low-iter
-m 27700: fix use of varied iteration counts
2022-06-15 16:08:40 +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
Konrad Goławski
b00ea483af New VeraCrypt modules 2022-06-07 23:01:03 +02:00
Konrad Goławski
fa78439181 VeraCrypt modules changes 2022-06-07 22:27:26 +02:00
Trevor Bergeron
d2705d1285
-m 27700: fix use of varied iteration counts 2022-06-07 14:46:31 -04:00
Jens Steube
f4e1bdf675
Merge pull request #3293 from ventaquil/truecrypt-strings
TrueCrypt strings
2022-06-07 16:09:53 +02:00
Konrad Goławski
1018cd7b28 New TrueCrypt modules 2022-06-06 18:00:26 +02:00
Jens Steube
ab8cc31b2d Remove some unused lines 2022-06-03 22:55:05 +02:00
Konrad Goławski
1c531780c1 TrueCrypt modules changes 2022-06-03 13:19:06 +02:00
Jens Steube
b5839644a8
Merge pull request #3300 from philsmd/radmin3_fix_pre
radmin3: use hexadecimal instead of .incbin
2022-05-31 13:02:28 +02:00
Jens Steube
4a7337ba46
Merge pull request #3299 from philsmd/radmin3_fix_datalen_comment
radmin 3: update comment about PRECOMP_DATALEN size
2022-05-31 13:01:46 +02:00
philsmd
ff53873791
radmin3: use hexadecimal instead of .incbin 2022-05-30 18:00:06 +02:00
philsmd
c5e5d63c98
radmin 3: update comment about PRECOMP_DATALEN size 2022-05-30 17:07:07 +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
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
Jens Steube
ec0d33d666
Merge pull request #3291 from philsmd/29100_code_style
minor code style changes in -m 29100 = Flask
2022-05-25 16:59:56 +02:00
philsmd
fbb71a90cd minor code style changes in -m 29100 = Flask 2022-05-24 15:53:28 +02:00
Jens Steube
81dc6c6a90 Workaround GCC 12 warning in unrar sources
deps/unrar/pathfn.cpp: In Function »void GenArcName(wchar*, size_t, const wchar*, uint, bool&)«:
2022-05-24 15:31:29 +02:00
Jens Steube
5581665977 Rename -m 29500 to -m 29100 2022-05-23 15:46:24 +02:00
Jens Steube
2e8ba6ba2c Improve cracking performance of -m 29500 by writing directly into hmac buffers 2022-05-22 18:55:56 +02:00
tweqx
fb065e6e8c
Merge branch 'hashcat:master' into master 2022-05-21 22:25:50 +02:00
tweqx
0a5575cde5 Add BLAKE2b-512($salt.$pass) and BLAKE2b-512($pass.$salt) 2022-05-21 15:09:05 +02:00
philsmd
26f88e339d
add our hash extraction scripts to release/beta 2022-05-21 11:52:21 +02:00
Tom Stokes
6d755f6b82
Remove unused token pos
We don't actually need token.buf[0] - removed it as GCC would throw a warning
2022-05-17 10:22:16 +01:00
Tom Stokes
1ed7fc2b5a
Delete module 90909.c
Accidentally let the old number slip in!
2022-05-17 09:46:07 +01:00
Tom Stokes
cc76841831
Category fix
changed from RAW_HASH to NETWORK_PROTOCOL
2022-05-17 09:22:25 +01:00
Tom Stokes
641461f372
Module file
renamed to 29500
2022-05-17 09:18:40 +01:00
Jens Steube
d4a8c7e579 Rules: Add support to include source wordlist in debugging format missing usage and changes 2022-05-16 21:13:37 +02:00
Jens Steube
2ff7d0bb4d Added support to include source wordlist in debugging format 2022-05-15 18:04:29 +02:00
Jens Steube
c625272929 Fix code format while preparing for debug-mode 5 2022-05-14 20:48:46 +02:00
philsmd
8bb3a1df04
RAdmin3 is not supported yet 2022-05-11 17:52:52 +02:00
Jens Steube
e703f88f2e Rename -m 9902 to -m 29000 2022-05-09 16:50:11 +02:00
Jens Steube
e274ed513a
Merge pull request #3276 from piwvvo/master
Added sha1($salt.sha1(utf16le($username).':'.utf16le($pass), true)) (Radmin3 base)
2022-05-09 16:44:31 +02:00
Jens Steube
38c44b4b35 Fix user option sanity check 2022-05-07 19:40:54 +02:00
piwvvo
1383b90c7a algo name fix 2022-05-07 02:28:00 +02:00
piwvvo
235f077276 algo name fix 2022-05-07 02:25:59 +02:00
piwvvo
1ecfb8899f Added sha1($salt.sha1($username.':'.$pass, true)) 2022-05-07 02:09:27 +02:00
Jens Steube
5df7bed5af
Merge pull request #3271 from ANeilan/master
change to allow for non-hex salts in Authme (20711)
2022-05-05 23:40:39 +02:00
Jens Steube
5977edb1d2 Added user advice if a hash throws 'token length exception' 2022-05-04 14:26:53 +02:00
Alan Neilan
c32bb36776
change to allow for non-hex salts in Authme (20711) 2022-05-03 15:17:33 -04:00
Jens Steube
39b768a620 Example entry for tuning table for SCRYPT for obscure device names used in older nvidia devices 2022-05-03 13:21:15 +02:00
Jens Steube
beb34c6f51 Backport SCRYPT optimization for 6900XT to 22700, 27700, 28200 2022-04-30 22:29:54 +02:00
Jens Steube
a5f0d3d57e Improve SCRYPT on 6900XT from 2464H/s to 3124H/s 2022-04-29 19:45:22 +02:00
Jens Steube
879cbd122e Remove uninitialized Session.Dir output from -II screen 2022-04-28 13:24:08 +02:00
rarecoil
49949c4e33 Roll forward scrypt tuning from #3265 to other scrypt-based hash types 2022-04-26 23:43:07 -07:00
Jens Steube
fe6ae53f25 Little tuning on AMD Vega 64 for SCRYPT, from 598H/s to 630H/s 2022-04-26 10:02:59 +02:00
Jens Steube
709a23eaac
Merge pull request #3265 from rarecoil/tune-rtx-3090-ti
Tune scrypt config for RTX 3090 Ti
2022-04-26 09:30:17 +02:00
rarecoil
6aa0d2082e Tune scrypt config for RTX 3090 Ti 2022-04-24 23:02:11 -07:00
TheWorkingDeveloper
f0037d9368
Update status output to show new founds when >=1
Recovered.New are only shown then >1 instead of >=1
2022-04-25 00:00:24 +02:00
Jens Steube
ec7eae9886 Debug Rules: Set --debug-file to $session.debugfile if --debug-mode was set by the user and --debug-file was not set 2022-04-23 19:29:19 +02:00
Jens Steube
a841af000f Fix updated HIP version handling 2022-04-22 13:28:33 +02:00
philsmd
9bc2a36d63
fixes #3253: memory leak in cpu rule engine 2022-04-20 19:09:23 +02:00
Jens Steube
d02b392b9e Command Line: Disallow combinations of some options. for instance, using -t in -a 0 mode 2022-04-20 15:43:23 +02:00
Jens Steube
4791cca0aa AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.1.1 or later due to new HIP interface
AMD Driver: Updated requirements for AMD Windows drivers to Adrenalin 22.3.1 or later due to new HIP interface
2022-04-19 13:02:51 +02:00
Jens Steube
9a8f3ebcab Update HIP version check on Linux and Windows 2022-04-18 18:07:40 +02:00
Jens Steube
c916ae821d Fix HIP include folder usage on Windows 2022-04-16 18:32:21 +02:00
Jens Steube
2f4003cded Synchronize SCRYPT code for -m 28200 with -m 8900 as source 2022-04-15 20:33:11 +02:00
Jens Steube
4b4f9b61b9 Add missing hash-info parameter Custom.Plugin to json output 2022-04-13 09:02:58 +02:00
Jens Steube
5ef7b737a1 Add custom plugin info to --hash-info 2022-04-12 17:38:42 +02:00
Jens Steube
6fce6fb3ff Update all existing modules to use the stock module marker 2022-04-08 14:11:50 +02:00
Jens Steube
c371caa1d5 Give an explicit feedback when invalid hash modes are requested 2022-04-06 23:38:24 +02:00
Jens Steube
5436f0d43e Deal with compiler warning in unrar sources on macOS 12.3 2022-04-05 15:43:13 +02:00
philsmd
a24d723d66
minor code style fixes 2022-03-31 19:19:16 +02:00
Jens Steube
6adf5fcf26
Merge pull request #3246 from davidbolvansky/fix_win_build
Fixed windows build failure
2022-03-29 13:35:10 +02:00
Dávid Bolvanský
757d939728 Fixed windows build failure 2022-03-28 19:05:16 +02:00
Jens Steube
f375fdcad2
Merge pull request #3244 from davidbolvansky/neg_numbers
Fixed negative numbers in json output
2022-03-28 16:27:03 +02:00
Dávid Bolvanský
9d1ed97e07 Fixed negative numbers in json output 2022-03-27 12:37:56 +02:00
Dávid Bolvanský
d84127386a Emit final status also in 'status-json' mode 2022-03-27 00:02:02 +01:00
Jens Steube
308d8f227d
Merge pull request #3240 from davidbolvansky/hash-info-json
add json output for hash info
2022-03-26 18:43:25 +01:00
Jens Steube
ad7b74bbff
Merge pull request #3238 from philsmd/philsmd-status-neg-values
fixes #3199: status screen problem with negative values due to %d usage
2022-03-25 17:35:07 +01:00
Jens Steube
84acc32a77
Merge pull request #3237 from philsmd/philsmd-a7-O-rule-right
fixes #3211: fixes -k in -a 7 with -O
2022-03-24 14:48:32 +01:00
Jens Steube
781ceb1df0
Merge pull request #3236 from philsmd/philsmd-stdout-a7-O
fixes #3201: fixed -O with -a 7 in --stdout mode
2022-03-23 19:01:19 +01:00
Jens Steube
7e76deb3b1
Merge pull request #3235 from philsmd/philsmd-whitespace
minor: removes whitespace in -m 23400 = Bitwarden
2022-03-22 20:14:56 +01:00
Jens Steube
ad5e5f246f
Merge pull request #3234 from philsmd/philsmd-hcargc-stdin-timeout
improve --stdout + --stdin-timeout-abort fix
2022-03-22 20:14:43 +01:00
Dávid Bolvanský
32ab02c7bb add json output for hash info 2022-03-22 19:32:02 +01:00