Commit Graph

3921 Commits

Author SHA1 Message Date
Jens Steube 9fc6c26f8c Added temperature watchdog and utilization for CPU on linux using sysfs and procfs 2021-07-10 14:24:51 +02:00
Jens Steube bfe83ec138 Added temperature watchdog for CPU on linux using sysfs 2021-07-10 08:43:15 +02:00
Jens Steube 72d7048b7e Merge branch 'master' of https://github.com/hashcat/hashcat 2021-07-09 20:48:29 +02:00
Jens Steube 979f9e9868 Rename hardware monitor interface sysfs to sysfs_amdgpu 2021-07-09 20:48:10 +02:00
Jens Steube d6042035fc Merge pull request #2870 from jtojanen/fixes
Avoid deadlocks in brain server
2021-07-09 08:43:18 +02:00
Jukka Ojanen d93d130b6d Avoid deadlocks in brain server 2021-07-08 12:43:29 +03:00
Jens Steube 71c0ea44b7 Update hwmon to easier distinguish between CPU and GPU for OpenCL backend 2021-07-08 09:04:14 +02:00
Jens Steube 47848d2b64 Merge pull request #2867 from jtojanen/fixes
Improve affinity mask handling
2021-07-08 08:21:52 +02:00
Jens Steube 4cbf7900b6 Remove unused code in -m 26300 2021-07-08 06:25:35 +02:00
Jens Steube 4535695e0a Update some module_unstable_warning() on macOS after the workaround that was added before 2021-07-07 10:36:52 +02:00
Jens Steube f146a05878 Added option --markov-inverse to inverse markov statistics, with the idea of reversing the order of the password candidates 2021-07-07 10:32:08 +02:00
Jukka Ojanen 0edab2b20f Allow CPU affinity mask up to 64 processors in Windows. Remove call to SetThreadAffinityMask as SetProcessAffinityMask limits all threads in process. Report error code. pthread_setaffinity_np returns non-zero if failure; works also with OSX as it reports KERN_SUCCESS which is zero. 2021-07-06 16:47:18 +03:00
Jens Steube 17a47e390c Merge branch 'master' of https://github.com/hashcat/hashcat 2021-07-06 13:06:28 +02:00
Jens Steube a3178391c2 Fixed missing option to automatically disable kernel cache in -m 25600 and -m 25800 2021-07-06 13:05:49 +02:00
Jens Steube 29c971187a Merge pull request #2863 from matrix/metamask
Added hash-mode: MetaMask Wallet
2021-07-06 09:49:19 +02:00
Jens Steube 13e2aa2508 Merge pull request #2865 from jtojanen/fixes
Fix several backend leaks
2021-07-06 09:34:47 +02:00
Jukka Ojanen a0eaefa0c2 Missing whitespaces 2021-07-05 20:20:51 +03:00
Jukka Ojanen e133bd4ec4 Change rc_board_name_amd initial value to CL_INVALID_VALUE. If CHECK_BOARD_NAME_AMD is changed to 0, there is a problem with CL_SUCCESS which equals to 0, device will be skipped. 2021-07-05 19:05:10 +03:00
Jukka Ojanen b3d18f86e2 Fix early return leaks in backend_session_begin 2021-07-05 19:03:56 +03:00
Jukka Ojanen b976e52bc7 Fix early return leaks in load_kernel; nvrtc_options, nvrtc_options_string, build_log. Ensure build log NULL termination. 2021-07-05 19:00:35 +03:00
Jukka Ojanen 2f7eec2fd7 Fix early return leaks in backend_ctx_init and backend_ctx_devices_init 2021-07-05 15:52:48 +03:00
Jukka Ojanen bcbb9b0d2c Fix skipped device param leak in backend_ctx_devices_destroy 2021-07-05 15:38:07 +03:00
Gabriele Gristina 6ce1c78f6d fix CT_MAX_LEN_BASE64 define 2021-07-05 13:21:10 +02:00
Jens Steube a2f883396b Java Object hashCode: Add OPTS_TYPE_SUGGEST_KG as a default option 2021-07-05 09:25:06 +02:00
Gabriele Gristina 7371cbebe7 add min/max data length limits to MetaMask Wallet 2021-07-04 20:14:25 +02:00
Gabriele Gristina 2d149164d2 cleanup module_26600.c 2021-07-04 15:50:52 +02:00
Gabriele Gristina f571329c4f Added hash-mode: MetaMask Wallet 2021-07-04 15:47:52 +02:00
Jens Steube d99b4cf46e Merge pull request #2861 from jtojanen/fixes
Fix iconv_ctx and iconv_tmp leaks in backend.c
2021-07-04 09:52:29 +02:00
Jens Steube 7366c47447 Added hash-mode: iPhone passcode (UID key + System Keybag) 2021-07-03 19:03:06 +02:00
Jens Steube 3c899ec528 Potfile: Disable potfile for hash-mode 99999 2021-07-03 14:22:14 +02:00
Jukka Ojanen 5f109b5862 Fix iconv_ctx and iconv_tmp leaks in backend.c 2021-07-03 12:51:37 +03:00
Jens Steube c32242980f Partially revert
https://github.com/hashcat/hashcat/commit/6967e706c2720f699ecd74682dac243ba7ea143a
because it breaks --hash-info. See
https://github.com/hashcat/hashcat/issues/2859 for details.
2021-07-02 08:58:04 +02:00
Jens Steube ce41316ac3 Status View: Include time and duration info when pausing and resuming 2021-07-01 21:33:14 +02:00
Jens Steube 701ad7c441 Fix segfault in --hash-info by avoid huge stack buffer allocation 2021-06-30 21:01:55 +02:00
Jens Steube 56c2243dfb KeePass: Increase supported size for KeePass 1 databases from 300kB to 16MB 2021-06-30 13:16:03 +02:00
Jens Steube 2aff6cba51 Add ranges to charset lists 2021-06-29 22:27:50 +02:00
Jens Steube 254e33c473 File handling: Do not abort on seeing a BOM in input files, just warn and ignore the BOM 2021-06-29 20:42:22 +02:00
Jens Steube 2af45cd03f Rename hc_fopen_nozip() to hc_fopen_raw() 2021-06-29 20:13:11 +02:00
Jens Steube 5bea13200f Add missing newline in warning message when using --force 2021-06-28 23:09:41 +02:00
Gabriele Gristina 04b9050af9 fix tuning_db_search() bug 2021-06-28 13:08:11 +02:00
Royce Williams e24b82cc4e minor diffs from comparing with example hashes wiki 2021-06-27 14:38:36 -08:00
Jens Steube 77d9a8deb2 minor whitespace fixes and changes.txt update 2021-06-27 10:43:23 +02:00
Jens Steube 3b07f90524 Merge pull request #2854 from TheWorkingDeveloper/patch-1
Hexify plains with delimiter in debug rules
2021-06-27 10:37:38 +02:00
Jens Steube 3a3bd07514 Make it more visible we use a hardcoded character 2021-06-27 10:37:15 +02:00
Jens Steube 8a3eee3fe5 OpenCL Runtime: Workaround JiT crash (SC failed. No reason given.) on macOS by limiting local memory allocations to 32k 2021-06-27 10:18:38 +02:00
TheWorkingDeveloper 1bf3392b1a Hexify plains with delimiter
Hexify plains if the plain contains the : separator
2021-06-26 23:53:04 +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 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
Jens Steube b30d55c5d9 Removed LZMA "Windows.h" capitalized file name workaround used to cross compile Windows binaries from Linux hosts.
This breaks compiling windows binaries if the underlaying filesystem is not case sensitive. An example would be using /mnt/c folder under WSL.
Any update on the LZMA SDK needs to be post processed with this command: sed -i 's/<Windows.h>/<windows.h>/' deps/LZMA-SDK/C/*.c deps/LZMA-SDK/C/*.h
2021-06-25 20:30:26 +02:00
Jens Steube 5194beb6f2 Merge pull request #2847 from philsmd/patch-3
fixes #2839: change example pass for FortiGate256
2021-06-25 07:57:23 +02:00