1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-29 01:48:33 +00:00
Commit Graph

647 Commits

Author SHA1 Message Date
Chick3nman
fb9ea5d642 Update error when using --skip/--limit in an invalid attack configuration 2025-07-11 05:52:38 -05:00
hashcat-bot
1a0d663c11
Merge pull request #4102 from matrix/show-restore-segfault
do not allow --show and --restore
2025-07-09 09:51:41 +02:00
Jens Steube
0df156e4c1
Merge branch 'master' into totalcandidates 2025-07-05 22:51:27 +02:00
Jens Steube
3182af1bc9 - Renamed shuffle() in inc_hash_scrypt.cl to avoid name collision with
shuffle() present in some OpenCL runtimes
- Updated autotune logic: if the best kernel-loop is not yet found and
  the current kernel-loops setting resulting in a kernel runtime which
  is already above a certain threshold, do not skip to kernel-threads
  or kernel-accel section if no variance is possible
- Revised all plugin module_unstable_warning() checks for
  AMD Radeon Pro W5700X GPU on Metal: rechecked with the latest
  Metal version and removed those now fixed
- Inform the user on startup when backend runtimes and devices are
  initialized
- Fixed some file permissions in the tools/ folder
2025-06-26 19:36:06 +02:00
Jens Steube
07395626fa Introduce hashes_init_stage5() and call module_extra_tmp_size() there. At this stage, the self-test hash is initialized and its values can be used.
Remove hard-coded SCRYPT N, R, and P values in modules, except where they are intentionally hardcoded.
Fix a bug that always caused a TMTO value of 1, even when it was not needed.
Respect device_available_mem and device_maxmem_alloc values even if a reliable low-level free memory API is present, and always select the lowest of all available limits.
Fix benchmark_deep.pl mask to avoid UTF-8 rejects.
Improve error messages when the check verifying that all SCRYPT configuration settings across all hashes are identical is triggered.
Also improve the error message shown when the SCRYPT configuration of the self-test hash does not match that of the target hash.
Fix a bug where a low-tuned SCRYPT hash combined with a TMTO could result in fewer than 1024 iterations, which breaks the hard-coded minimum of 1024 iterations in the SCRYPT kernel.
2025-06-15 14:13:48 +02:00
Jens Steube
ac2ed9f402 - Remove old iconv patches (replaced by cmake)
- Replace Queues in hcmp/hcsp and make code more pythonic
- Synchronize python thread in hcmp count with detected cores
- Move setting PYTHON_GIL to shared.c
- Fix allocating and freeing aligned memory
- Update BUILD guides for WSL and macOS
- Fix python plugin documentation for macOS
2025-06-05 06:56:38 +02:00
Chick3nman
310e9ee79a Add --total-candidates flag and functionality 2025-05-30 14:13:43 -05:00
Jens Steube
ceb5ff5641 The Assimilation Bridge (Framework) 2025-05-29 15:38:13 +02:00
Gabriele Gristina
120e758be9 Added options --benchmark-min and --benchmark-max to set a hash-mode range to be used during the benchmark 2025-05-07 18:46:51 +02:00
Gabriele Gristina
e3c097c88b do not allow --show and --restore 2024-10-26 14:51:11 +02:00
jsteube
b906a145ca Initialize new dynamicx type in autodetect_hashmode_test() 2023-11-18 21:04:41 +00:00
jsteube
e55b331058 Refactor potfile_disable variable to just putfile, same idea as outfile_autohex variable 2023-10-21 16:42:29 +00:00
jsteube
1255afb55c Refactor deprecated_check_disable variable to just deprecated_check, same idea as outfile_autohex variable 2023-10-13 12:17:44 +00:00
jsteube
8679512385 Fix some ordering in hashcat_init() 2023-09-29 08:11:20 +00:00
jsteube
8fbecc00cc Fix some ordering in hashcat_destroy() 2023-09-28 11:47:45 +00:00
Andras Gemes
d886933c54
Fix comment typos in hashcat.c 2023-02-06 17:58:33 +01:00
Jens Steube
225d67c09b
Merge pull request #3609 from gemesa/skip-limit-stdout
Fixes hashcat#3580: bug in --skip/--limit w/ --stdout
2023-02-05 21:12:03 +01:00
Andras Gemes
5bbd06425f
Fixes hashcat#3580: bug in --skip/--limit w/ --stdout 2023-02-05 20:37:19 +01:00
justpretending
8f030b4915 Prevent user from using -m and --stdout together 2023-02-03 12:26:50 +07:00
philsmd
67585eb470
fix comment for combinator_ctx_init () call 2022-09-14 16:11:47 +02:00
Jens Steube
8973f2beca Add more RC_FINAL_ enum types 2022-09-12 20:48:38 +02:00
Jens Steube
613c863f1d Prepare an enum type to represent the final return codes 2022-09-04 18:10:40 +02:00
Jens Steube
93d40beb17 Status Code: Add specific return code for self-test fail (-11)
Fixes https://github.com/hashcat/hashcat/issues/3437
2022-09-03 15:46:40 +02:00
Jens Steube
7b36d7ebf8 Fixed autodetect memory allocation for temporary hashes for LUKS v1 (legacy) in --identify mode 2022-08-31 10:53:56 +02:00
Jens Steube
c884a5d02f Logfile: Write per-session "recovered new" value to logfile
Fixes https://github.com/hashcat/hashcat/issues/3392
2022-08-20 09:39:59 +02:00
Jens Steube
a52b70d1c5 Refactored Recovered.New... handling 2022-08-19 12:02:21 +02:00
Jens Steube
bf0ffa66d7 Abstract access to digests_done_new via API 2022-08-18 11:21:34 +02:00
Konrad Goławski
b00ea483af New VeraCrypt modules 2022-06-07 23:01:03 +02: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
Chick3nman
808e6fff2b Prepare "Net New" value for status, test initial status message format 2022-02-14 16:54:36 -06:00
Gabriele Gristina
f13948d14c Merge remote-tracking branch 'origin/master' into updated_moduleUnstableWarnings_and_statusCodes 2022-01-24 07:32:41 +01:00
Gabriele Gristina
a1ced24564 Fixed bug on benchmark engine, add some unstable warnings, updated negative status code 2022-01-22 12:10:09 +01:00
Gabriele Gristina
10fa1434ca Updated status code: set -10 for autotune failure 2022-01-21 20:28:13 +01:00
Gabriele Gristina
6175459b0a
Merge branch 'hashcat:master' into autotune_error_handling 2022-01-21 20:26:10 +01:00
Gabriele Gristina
7650894e02 fixed bug in benchmark engine, updated negative status code 2022-01-11 04:58:30 +01:00
Gabriele Gristina
3802adff7e Autotune: Added error handling. By default skipping device on error, with --force using accel/loops/threads min values instead 2022-01-04 01:14:39 +01:00
Miezhiko
0d5aed883b
Fix compilation without brain
Signed-off-by: Miezhiko <Miezhiko@gmail.com>
2021-09-02 17:52:27 +04:00
Jens Steube
bdd3f27239 Fixed invalid progress counter initialization in attack-mode 9 when using --skip or --restore 2021-09-01 09:35:25 +02:00
Jens Steube
330ad34f17 Fixed unintentional overwriting of the --quiet option in benchmark and speed-only mode 2021-08-20 10:41:44 +02:00
Jens Steube
01738fafa0 Deprecated Plugins: Add new module function module_deprecated_notice() to mark a plugin as deprecated and to return a free text user notice
Added option --deprecated-check-disable to enable deprecated plugins
2021-08-10 17:59:52 +02:00
Jens Steube
dcaba1f473 Brain: Add brain_ctx_t to hashcat_ctx_t to enable runtime check if hashcat was compiled with brain support 2021-06-26 20:24:45 +02:00
Jens Steube
90f0e78b5b Add event about autodetection process start
Remove "..." substring from final messages
Add patient message on "..." startup messages
Add missing docs/changes.txt entry
2021-06-22 11:37:59 +02:00
Jens Steube
2c48bba62d Autodetect: Limit the number of errors per hash-mode try to 100 to avoid long startup time 2021-06-20 12:40:55 +02:00
Jens Steube
7e267b9b37
Merge pull request #2825 from matrix/hwmon_osx_v2
Add OSX HW Monitor initial support (2021)
2021-06-20 11:09:35 +02:00
Gabriele Gristina
3a6481da4e show all fans in hwmon output 2021-06-19 20:32:07 +02:00
Xanadrel
0d79250fea Fix memory leak with status (with brain enabled) 2021-06-18 13:13:16 +02:00
Jens Steube
7fc0ac4ef1 Do not initialize backend devices in case --id is used and some bug fixes 2021-06-12 10:47:48 +02:00
Gabriele Gristina
a25db47215 updated output messages for identify functionality 2021-06-11 20:12:59 +02:00
Gabriele Gristina
340e8d1033 fix identify functionality 2021-06-11 19:25:39 +02:00