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

4608 Commits

Author SHA1 Message Date
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
philsmd
84cd48d721
fixed problem of negative values in terminal.c 2022-03-22 16:35:36 +01:00
philsmd
a2065b7c38
fixed problem of negative values in status.c 2022-03-22 16:17:26 +01:00
philsmd
101d01eaa0
fixes #3211: fixes -k in -a 7 with -O 2022-03-22 15:59:09 +01:00
philsmd
51fda295dd
fixes #3201: fixed -O with -a 7 in --stdout mode 2022-03-22 15:40:36 +01:00
philsmd
15a4767ad2
minor: removes whitespace in -m 23400 = Bitwarden 2022-03-22 15:33:11 +01:00
philsmd
e5657723d3
improve --stdout + --stdin-timeout-abort fix 2022-03-22 15:26:52 +01:00
Dávid Bolvanský
f018dd9263 json-encode device name 2022-03-21 09:25:26 +01:00
Dávid Bolvanský
50aea559c5 added device type 2022-03-21 08:55:16 +01:00
Dávid Bolvanský
100cd5fea4 status-json: also print device name 2022-03-21 08:55:16 +01:00
philsmd
5b0e621511
prevent further integer overflows in rp.c 2022-03-20 11:07:25 +01:00
Dávid Bolvanský
672fb2de4b Do not use term colors if output is not terminal 2022-03-18 15:57:13 +01:00
Jens Steube
58205847f6
Merge pull request #3218 from willcrozi/stdin-stdout-fix
allow --stdout and --stdin-timeout-abort to be used together
2022-03-16 13:21:48 +01:00
Jens Steube
e69a37d929
Merge pull request #3219 from matrix/fix_3213
fix dpapimk_tmp_v1_t on module_15310.c
2022-03-15 18:51:39 +01:00
Jens Steube
cc794ed843
Merge pull request #3223 from philsmd/philsmd-rules-limit
prevent integer overflows in rp.c
2022-03-13 20:11:30 +01:00
philsmd
b51f536ac5
sanity check for u32 cast for combs_cnt, bfs_cnt 2022-03-13 14:41:34 +01:00
philsmd
5d9d3c7eb7
sanity check for u32 cast for combs_cnt, bfs_cnt 2022-03-13 14:25:09 +01:00
philsmd
8e4e42a613
prevent integer overflows in rp.c 2022-03-13 13:46:50 +01:00
Jens Steube
8bc4a92089
Merge pull request #3215 from philsmd/philsmd-register-limit
fixed missing Register-Limit optimizer string in init screen
2022-03-12 17:14:13 +01:00
Gabriele Gristina
4591071bc6 fix dpapimk_tmp_v1_t on module_15310.c 2022-03-11 13:34:33 +01:00
Will Crozier
73637d43db allow --stdout and --stdin-timeout-abort to be used together 2022-03-11 10:46:49 +00:00
philsmd
e00af46a22
add Register-Limit to the "Optimizers" list 2022-03-09 18:23:10 +01:00
philsmd
cd33a8a200
fixes #2560: mention "main driver" within the error message 2022-03-09 18:15:54 +01: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
43a27117a4
Merge pull request #3163 from willcrozi/stdout-perf
stdout mode: batched password index/buffer transfers from device
2022-03-08 13:24:09 +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
Jens Steube
96715f7c09
Merge pull request #3197 from matrix/13100_format
Added support to use "John the Ripper" hash format with hash-type 13100
2022-03-04 22:37:26 +01:00
Jens Steube
317abecac9
Merge pull request #3203 from Lars-Saetaberget/25800_bugfix
Fix mask endianness for 25800
2022-03-03 18:59:42 +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
Lars Sætaberget
e71f3e519f Fix mask endianness for 25800 2022-03-02 11:03:14 +01:00
Jens Steube
4e2ad23081
Merge pull request #3198 from philsmd/philsmd-whitespace
code style fix: remove extra spaces in source code
2022-03-01 19:20:57 +01:00
Gabriele Gristina
7d636eeef9
Merge branch 'master' into 13100_format 2022-03-01 01:59:44 +01:00
Jakub
0147826870
Merge branch 'master' into bitwarden-fix 2022-03-01 00:29:44 +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
9615bf566b fix Cygwin build warnings 2022-02-27 14:39:28 +01:00
Gabriele Gristina
eb30a1c820 fix Cygwin build warnings 2022-02-27 14:26:34 +01:00
Gabriele Gristina
7e16335999 Added support to use 'John the Ripper' hash format with hash-type 18200 2022-02-27 12:15:17 +01:00
Gabriele Gristina
39912575b2 fix style 2022-02-27 12:12:22 +01:00
philsmd
56bb1b9974
remove extra spaces in terminal.c 2022-02-27 10:24:08 +01:00
philsmd
87638caecd
remove extra spaces at line end in -m 25400 module 2022-02-27 10:21:12 +01:00
philsmd
c9e3c7abac
remove extra spaces in main.c 2022-02-27 10:18:54 +01:00
Gabriele Gristina
395d19513d fix sample formats 2022-02-26 21:19:52 +01:00
Gabriele Gristina
ca9656e983 Updated krb5tgs struct on 13100 kernels 2022-02-26 19:39:23 +01:00
Gabriele Gristina
8e00ef9a88 Added support to use 'John the Ripper' hash format with hash-type 13100 2022-02-26 19:14:20 +01:00
Will Crozier
edf7365cda stdout mode: transfer indexes and compressed pw buffer from device in blocks, reducing overhead 2022-02-25 16:35:55 +00:00
Jens Steube
e9cb796528
Merge pull request #3186 from willcrozi/opencl-include-quoting
Improve handling of whitespace in kernel compiler include-path
2022-02-24 17:50:13 +01:00
Gabriele Gristina
633698b2ee fix build warnings with gcc 2022-02-23 22:48:16 +01:00
Gabriele Gristina
98ce2496d5 Amazon AWS4-HMAC-SHA256 2022-02-23 22:20:18 +01:00
Jens Steube
94f02dd33c
Merge pull request #3177 from matrix/ext_metal_segfault
Fixed segfault on hc_mtlInvocationHelper() with valInt
2022-02-22 12:15:25 +01:00
Jens Steube
85bb039781
Merge pull request #3191 from matrix/backend_ctxInit
Improved management of systems with multiple OpenCL platforms and show empty OpenCL platforms only in backend information mode
2022-02-21 19:25:21 +01:00
Will Crozier
919ad5a1fd warn/skip for AMD devices on Linux when OpenCL/HIP include-path has spaces 2022-02-20 20:14:57 +00:00
Giulio Garzia
c49238e9cd OpenCL include-path workaround for Windows with AMD GPU 2022-02-20 17:55:16 +00:00
Gabriele Gristina
3156b487b7 Avoid quoting OpenCL include path when it's not required to 2022-02-20 17:55:16 +00:00
philsmd
e870f1a03b
code style and formatting fixes in wordlist.c 2022-02-20 12:12:00 +01:00
philsmd
60cf7fdccd
remove extra spaces at end of lines in wordlist.c 2022-02-20 12:04:56 +01:00
philsmd
9a96501a69
-m 28600 code style and formatting fixes 2022-02-20 11:52:02 +01:00
philsmd
912c46d958
-m 28600 remove extra spaces at end of lines 2022-02-20 11:34:48 +01:00
Gabriele Gristina
f890cd8134 Improved management of systems with multiple OpenCL platforms and show empty OpenCL platforms only in backend information mode 2022-02-19 21:17:56 +01:00
Gabriele Gristina
24de156ce8 Fixed backend active devices checks 2022-02-19 17:21:27 +01:00
Jens Steube
6dc45eacc6
Merge pull request #3184 from matrix/metal_opencl_gpu_utilization
Hardware Monitor: Add support for GPU device utilization readings using iokit on Apple Silicon (OpenCL and Metal)
2022-02-18 12:13:52 +01:00
Gabriele Gristina
fb12de4be6 fix style 2022-02-16 05:40:34 +01:00
Gabriele Gristina
7eb66e9936 Hardware Monitor: Add support for GPU device utilization readings using iokit on Apple Silicon (OpenCL and Metal) 2022-02-15 22:20:03 +01:00
Chick3nman
58c90985f0 Add module potfile disable warning message to startup, test formatting 2022-02-15 12:29:43 -06:00
Jens Steube
cae2562c09
Merge pull request #3179 from Chick3nman/Disable-Auto-Detect
Disable auto detect for specialist and deprecated kernels
2022-02-15 19:12:25 +01:00
Chick3nman
09d7b49985 Disable autodetect for PDF Owner/User module as specialist 2022-02-15 09:09:43 -06:00
Chick3nman
c38bf29a82 Formatting change 2022-02-14 18:13:34 -06:00
Chick3nman
0066def1be Fix formatting 2022-02-14 18:10:46 -06:00
Chick3nman
af233b8f0c Implement new status message as 2 lines, variable output 2022-02-14 18:09:48 -06:00
Chick3nman
ff018b8586 Reformat Status Message 2022-02-14 17:39:58 -06:00
Chick3nman
037d2daa13 Change read-only, spacing fixes 2022-02-14 17:08:12 -06:00
Chick3nman
6d61c87456 Fix typo in type 2022-02-14 17:05:24 -06:00
Chick3nman
81138db5c5 Fix Typo in logic 2022-02-14 17:01:07 -06:00
Chick3nman
808e6fff2b Prepare "Net New" value for status, test initial status message format 2022-02-14 16:54:36 -06:00
Chick3nman
88dbbad6b3 Disable autodetect for specialist kernels(Collider, PMK, NT, etc.) and deprecated kernels to aid users in launching attacks without an algorithm selected 2022-02-14 13:25:44 -06:00
Chick3nman
c8b3164722 Change logic to cover all cases 2022-02-14 12:57:51 -06:00
Chick3nman
b187c66236 Further checks for attack modes where -S isn't relevant 2022-02-14 12:51:33 -06:00
Chick3nman
e47a58db44 Introduce logic to stop advice message from suggesting options that do not work in the current attack mode. Fixes #3169 2022-02-14 12:43:20 -06:00
Jens Steube
fea59e3a3a
Merge pull request #3167 from matrix/env_info
Added folder_config info to --backend-info/-I output, changed --backend-info/-I option handling
2022-02-13 22:05:16 +01:00
Gabriele Gristina
2f31391632 Fix segfault on hc_mtlInvocationHelper() with valInt 2022-02-13 21:16:21 +01:00
Gabriele Gristina
8c2756d74d fix wording 2022-02-13 12:41:27 +01:00
Gabriele Gristina
3064c63c71 User Options: Change --backend-info/-I option type, from bool to int 2022-02-13 12:33:11 +01:00
Gabriele Gristina
d79f8298a1 OpenCL Backend: show device_type in device list info on Apple Silicon 2022-02-12 02:46:35 +01:00
Gabriele Gristina
47134e363e Backend Info: Added folder_config info to output 2022-02-12 02:03:48 +01:00
Jens Steube
ae3eeb1713
Merge pull request #3166 from matrix/metal_vectors
Metal: added support for vectors up to 4
2022-02-11 17:55:33 +01:00
Gabriele Gristina
b3d3b31c3e Metal: added support for vectors up to 4 2022-02-10 21:53:08 +01:00
philsmd
251ecc3b0b
fixes #3029: cracking long salts in -m 4510/4710 2022-02-09 16:43:24 +01:00
Jens Steube
be75e4b4ea Rename STR() to M2S() to avoid future collisions and move from kernel source to command line parameter 2022-02-07 09:57:08 +01:00
Jens Steube
8192fd0d47
Merge pull request #3157 from matrix/rpi_Makefile
Fixed building error on Raspberry Pi
2022-02-06 14:53:07 +01:00
Gabriele Gristina
7ac879f1e4 Fixed unused variable warning on Windows 2022-02-06 02:04:27 +01:00
Gabriele Gristina
89a52cfe21 Fixed building error on Raspberry Pi 2022-02-06 01:57:04 +01:00
Gabriele Gristina
829d49c8ba resync src/backend.c 2022-02-06 01:17:19 +01:00
Gabriele Gristina
6427ee57f4 cleanup ext_metal.m 2022-02-05 23:30:04 +01:00
Gabriele Gristina
490702fcfa Backends: added Metal host-code 2022-02-05 22:48:16 +01:00
Jens Steube
8293964097 Fix coding convention 2022-02-04 10:28:45 +01:00
Gabriele Gristina
f21ae3219c
Merge branch 'master' into metal_prepare_kernelIncludes_v2 2022-02-02 07:33:45 +01:00
Jens Steube
d4b7663d19 Fix warning on Linux
```
src/terminal.c: In function ‘backend_info’:
src/terminal.c:821:10: warning: unused variable ‘hw_model_len’
[-Wunused-variable]
  821 |   size_t hw_model_len = 0;
      |          ^~~~~~~~~~~~
```
2022-02-01 18:22:54 +01:00
Gabriele Gristina
c2cbb2938a Padding backend_info() output, updated changes.txt 2022-01-30 19:49:23 +01:00