Jens Steube
f9e74045b5
Commandline: Throw an error if separator character given by the user with -p option is not exactly 1 byte
2021-07-22 18:54:02 +02:00
Jukka Ojanen
9f9333f2ef
Allow async execution of run_opencl_kernel_bzero(), run_hip_kernel_bzero() and run_opencl_kernel_bzero()
2021-07-22 15:18:10 +03:00
Jukka Ojanen
fafd24237d
Define HC_ALIGN macro to control data alignment and use common constant zero buffer in run_cuda_kernel_bzero(), run_hip_kernel_bzero() and run_opencl_kernel_bzero().
2021-07-22 14:24:03 +03:00
Jukka Ojanen
2c2988518d
Remove all calls to clFlush()
2021-07-22 13:59:19 +03:00
Jens Steube
5024865d87
Kernel Threads: Use warp size / wavefront size query instead of hardcoded values as base for kernel threads
...
Kernel Cache: Add kernel threads into hash computation which is later used in the kernel cache filename
Remove some unused function symbol lookups in HIP library
2021-07-22 11:46:47 +02:00
Jens Steube
e83611742d
Brain Session: Adds hashconfig specific opti_type and opts_type parameters to hashcat session computation to cover features like -O and -M
2021-07-21 15:47:26 +02:00
Jens Steube
c990e252d3
Added option --multiply-accel-disable (short: -M) to disable multiply the kernel-accel with the multiprocessor count automatism
2021-07-21 15:47:05 +02:00
Jens Steube
a7a899e5a4
Backport changes from #2888 to HIP backend
2021-07-21 14:01:28 +02:00
Jukka Ojanen
cb923d6e46
Replace CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK with CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN
2021-07-21 13:42:22 +03:00
Gabriele Gristina
7ea5da51a8
Added hash-mode: SNMPv3 HMAC-SHA1-96
2021-07-20 22:24:35 +02:00
Jukka Ojanen
55a475cb4b
Merge branch 'hashcat:master' into master
2021-07-20 21:27:51 +03:00
Jukka Ojanen
d23f2d6c2f
Calculation kernel dynamic memory size based on CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK
2021-07-20 21:27:29 +03:00
Jens Steube
a026171fb3
Merge pull request #2879 from jtojanen/master
...
Implement gpu_bzero
2021-07-20 13:00:37 +02:00
Jens Steube
7c5fe5e233
Slow Kernels: Set some of the slowest kernels to OPTS_TYPE_MP_MULTI_DISABLE
2021-07-20 12:47:40 +02:00
Jukka Ojanen
8674e23d79
Add async HIP memcpy functions: hc_hipMemcpyDtoDAsync(), hc_hipMemcpyDtoHAsync() and hc_hipMemcpyHtoDAsync(). Implement partially async HIP memset and bzero kernels.
2021-07-20 12:47:10 +03:00
Jukka Ojanen
4263cafdcf
Add async CUDA memcpy functions: hc_cuMemcpyDtoDAsync(), hc_cuMemcpyDtoHAsync() and hc_cuMemcpyHtoDAsync(). Implement partially async CUDA memset and bzero kernels.
2021-07-20 12:23:39 +03:00
Jukka Ojanen
f07ff6f03d
Use kernel_bzero instead of kernel_memset when value is zero
2021-07-20 12:04:12 +03:00
Jukka Ojanen
4c0f6dd263
Merge branch 'hashcat:master' into master
2021-07-20 12:00:41 +03:00
Jukka Ojanen
ea5180ac46
Include missing bzero kernel parameters
2021-07-20 11:59:44 +03:00
Jens Steube
7d43b6e1eb
Clear tmps memory region after autotune use
2021-07-19 11:59:53 +02:00
Jens Steube
0504498e86
Merge pull request #2886 from pellekuiters/issue-2876
...
Auto-tuning outside kernel can cause unpredictable behavior for tmp_t structs on CUDA
2021-07-19 11:52:07 +02:00
pelle
ac3ccfcc51
Run init() and loop_prepare() during autotune to prevent possible corruptions during loop().
2021-07-19 11:07:24 +02:00
Jens Steube
257098a301
Get rid of hip/hip_runtime.h dependancy
2021-07-18 21:14:45 +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
Jukka Ojanen
72a418932c
HIP: Use kernel_bzero instead of kernel_memset when value is zero
2021-07-17 19:12:09 +03:00
Jukka Ojanen
a2a1d04bcf
Implement gpu_bzero
2021-07-17 19:00:10 +03:00
Jukka Ojanen
8066a47ac5
Merge branch 'hashcat:master' into master
2021-07-17 16:21:08 +03:00
Jens Steube
261e0f42ab
Unset PRODUCTION option
2021-07-16 23:03:11 +02:00
Jens Steube
84082a952e
hashcat 6.2.3
2021-07-16 22:41:52 +02:00
Jens Steube
141b59b80e
Merge pull request #2883 from hashcat/HIP
...
Merge HIP branch into master
2021-07-16 19:54:00 +02:00
Jens Steube
45e65dd05a
Backport more ROCm based optimizations to HIP
2021-07-15 23:34:27 +02:00
Jens Steube
2e929e692e
Backport update module_unstable_warning() for -m 21800 on HIP
2021-07-15 21:26:07 +02:00
Gabriele Gristina
eaedfb3f8a
fix 26700
2021-07-15 19:58:11 +02:00
Jens Steube
4730cf6e79
WinZip Kernel: Increase supported data length from 8k to 16mb
2021-07-15 16:42:29 +02:00
Cablethief
02a9f3471b
27000 slow hash, same doubts as the first, but now with the shared mem concerns
2021-07-15 16:42:18 +02:00
Jens Steube
d130cc66b3
Optimize ISA code on HIP for V_ALIGNBIT_B32 using a different template for inline assembly
2021-07-15 09:57:41 +02:00
Gabriele Gristina
50aeaa299d
Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
2021-07-14 19:31:21 +02:00
Gabriele Gristina
80a671eab7
Fix bug on hm_SYSFS_CPU_get_syspath_hwmon()
2021-07-14 19:21:21 +02:00
Jens Steube
cf512faa53
Update large switch() cases in inc_common.cl and some inline assembly common functions for devices managed with HIP backend
2021-07-14 17:06:20 +02:00
Jens Steube
11295e4679
Fix missing OPTI_TYPE_USES_BITS_64 in several modules
2021-07-14 17:01:46 +02:00
Jukka Ojanen
43b5a138d4
Use kernel_bzero instead of kernel_memset when value is zero
2021-07-14 17:13:39 +03:00
Cablethief
a38b5b3e25
27100 Slow hash, have doubts on how to correctly set iterations
2021-07-14 14:58:26 +02:00
Jens Steube
a82fce2c8f
Fixed invalid ETA if --limit was specified, several salts are in a hash list and some of them were found in a potfile
2021-07-14 10:26:57 +02:00
Jens Steube
9c134833a6
Update module_unstable_warning() for -m 19600 and -m 19700
2021-07-14 08:26:12 +02:00
Jens Steube
f3bd936971
Add hardware monitor mapping for HIP devices
2021-07-14 08:23:39 +02:00
Jens Steube
84fcea9592
Fix unusued variable warning
2021-07-14 08:17:55 +02:00
Jens Steube
4b68a8fb4f
Merge pull request #2878 from hashcat/master
...
Backports
2021-07-13 22:26:28 +02:00
Jens Steube
7faf6859d6
Backport hand-optimized compiler settings in modules from ROCM to HIP
...
Backport DECLSPEC settings from ROCM to HIP
2021-07-13 20:45:01 +02:00
Jens Steube
74fca7bac1
Merge pull request #2875 from jtojanen/master
...
Fix leaks in dictstat_destroy
2021-07-13 13:28:37 +02:00
Your Name
b24ca10087
pdf edit password m25400 can now also use the user-password as salt
2021-07-12 23:17:33 +02:00
Jens Steube
219bed457f
Fix use of --gpu-max-threads-per-block
2021-07-12 14:02:43 +02:00
Jukka Ojanen
6b5af5e849
Fix leaks in dictstat_destroy
2021-07-12 14:33:24 +03:00
Jens Steube
674ca7d88f
Add GPU threads to kernel cache checksum because it has an influence on HIP offline compile options
...
Add V_ALIGNBIT_B32 inline assembly wrapper because HIP does not provide amd_bitalign()
2021-07-12 11:27:05 +02:00
Jens Steube
23c3c178bf
Limit max threads per block to 64 to enable offline compiler to make better use if available registers
...
Fix double free() for hip_event1/hip_event2 and hip_stream causes segfault
Replace hc_cuCtxSetCurrent() with hc_cuCtxPushCurrent() in order to align changes with HIP
Add vector datatype operators (if we decide to use them - currently unused)
2021-07-12 09:28:26 +02:00
Jens Steube
20f7febd4c
Workaround too intensive optimization in -m 2000 using HIPRTC
2021-07-11 15:54:13 +02:00
Jens Steube
fde4770219
Add misssing HIP backend information in -I output
2021-07-11 14:47:48 +02:00
Jens Steube
ca3beacd93
Disable dynamic shared memory on HIP, because hipFuncSetAttribute() maps to cudaFuncSetAttribute() and not to cuFuncSetAttribute()
2021-07-11 14:30:49 +02:00
Jens Steube
1b84a9e53b
Add missing backports from code base v6.2.2
...
Fix context to thread management
Fix missing code in selftest.c, autotune.c, hashes.c, dispatch.c and backend.c
Use IS_HIP depending code makes it easier for future optimization related to inline assembly calls - instead of using IS_CUDA || IS_HIP
See TODO markers for more optimizations / next steps
2021-07-11 12:38:59 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip
2021-07-10 21:34:09 +02:00
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
reger-men
ea7b74389f
First draft HIP Version
2021-07-09 03:50:40 +00: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
...
6967e706c2
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
Jens Steube
f05cd72147
minor whitespace fixes
2021-06-25 07:56:28 +02:00
Jens Steube
84cf5e70e7
Fixed out-of-boundary write in slow candidates mode in combinator attack update
2021-06-24 13:13:02 +02:00
Jens Steube
1a4758da83
Fixed out-of-boundary write in slow candidates mode in combinator attack
2021-06-24 12:15:41 +02:00
Jens Steube
28c08de9ef
Folders: Do not escape the variable cpath_real to prevent certain OpenCL runtimes from running into an error which do not support escape characters
2021-06-24 09:24:02 +02:00
Jens Steube
9ecff406de
Add unstable warning for -m 22400 on CPU on macOS
2021-06-23 20:04:17 +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
philsmd
88fe0add04
fixes #2839 : change example pass for FortiGate256
2021-06-22 10:29:24 +02:00
Jens Steube
6c670136c4
Merge pull request #2846 from jtojanen/master
...
Fix access violation in hashconfig_destroy if hashcat_ctx_t is only p…
2021-06-22 09:16:08 +02:00
Jens Steube
ed093fb035
minor whitespace fixes
2021-06-22 09:12:05 +02:00
Jukka Ojanen
6967e706c2
Fix access violation in hashconfig_destroy if hashcat_ctx_t is only partially initialized.
...
Fix hashcat_ctx leak and refactor module and kernel existence checks.
2021-06-21 22:56:55 +03: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
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
dac7fafec9
remove unused hm_IOKIT_SMCCall() call
2021-06-19 21:15:37 +02:00
Gabriele Gristina
1703d24c1a
hide fan speed from hwmon output if not detected
2021-06-19 20:46:09 +02:00
Gabriele Gristina
3a6481da4e
show all fans in hwmon output
2021-06-19 20:32:07 +02:00
Jens Steube
18f8a1340e
Merge pull request #2842 from matrix/startMessage
...
Fix starting message
2021-06-19 17:12:32 +02:00
Jens Steube
9b211ada85
Update user_options.c
2021-06-19 17:12:08 +02:00
Gabriele Gristina
fc77e1b975
update hm_IOKIT_get_fan_speed_current(), get rid of minimum_speed
2021-06-19 15:23:59 +02:00
Gabriele Gristina
09513ed78b
fix starting message
2021-06-19 12:32:02 +02:00
philsmd
5fb6fc50c2
-m 24800 = Umbraco HMAC-SHA1 is not salted
2021-06-19 11:00:03 +02:00
Xanadrel
0d79250fea
Fix memory leak with status (with brain enabled)
2021-06-18 13:13:16 +02:00
Jens Steube
3119525ea3
Fixed integer overflow in Recovered/Time status view column caused by division > 0 but < 1
2021-06-18 07:57:15 +02:00
Jens Steube
62397283c1
VeraCrypt: Increase password length support for non-boot volumes from 64 to 128.
...
See https://github.com/hashcat/hashcat/issues/2616 for details.
2021-06-17 09:45:30 +02:00
Jens Steube
2d7f67fd23
Alias Devices: Show a warning in case the user specifically listed a device to use which in a later step is skipped because it is an alias of another active device
2021-06-15 14:06:24 +02:00
Jens Steube
624994f920
Backend Information: Added new column showing the PCI Address per CUDA/OpenCL device to easier identify broken cards
2021-06-14 13:18:33 +02:00
Jens Steube
c6b10bb0b6
Unset PRODUCTION option
2021-06-13 15:12:33 +02:00
Jens Steube
9908cb184b
hashcat 6.2.2
2021-06-13 14:51:01 +02:00
Gabriele Gristina
bc4ce4cbeb
Add support for CPU/GPU device temperature and fanspeed using iokit (Apple)
2021-06-12 20:13:31 +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
02b2ca41c5
add unit-test and set pw_max to 16 for ProgressEncode
2021-06-12 16:51:47 +02:00
Jens Steube
ee7fca82f5
Scrypt Kernels: Re-enable scrypt based kernels to use kernel cache
2021-06-12 11:42:19 +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
Jens Steube
2b68d4bec1
Merge pull request #2821 from matrix/autodetect-only
...
add identify/autodetect-only option
2021-06-12 10:26:33 +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
Jens Steube
51fe320425
Unit-Tests: Added missing support for OPTS_TYPE_LOOP_PREPARE, OPTS_TYPE_LOOP_PREPARE2 and salt_repeats in self-test
2021-06-11 18:36:19 +02:00
Jens Steube
388e0a1c7e
Merge pull request #2820 from matrix/hwmon_v4
...
Restyling hwmon (2021)(2)
2021-06-11 09:40:06 +02:00
Jens Steube
65d81c0f7b
Hashrate: Innerloop hashrate prediction requires update because of the new salt_repeats feature and also respect _loop2 kernel runtime
2021-06-10 22:43:06 +02:00
Gabriele Gristina
3c6f4b0e69
add identify/autodetect-only option
2021-06-10 20:44:21 +02:00
Gabriele Gristina
2bc68f32db
remove unused rc vars
2021-06-10 20:26:24 +02:00
Gabriele Gristina
e5de44c80d
Restyling hwmon (2021)(2)
2021-06-10 20:13:12 +02:00
Bjoern Kerler
6430b7ab71
Fix FBE description
2021-06-10 20:09:03 +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
27503957aa
Fix message on startup-mode in --backend-info mode
2021-06-09 13:25:25 +02:00
Jens Steube
796beba2bf
Merge branch 'master' into hash-mode-26000
2021-06-09 13:20:35 +02:00
Jens Steube
0602562574
Modules: Changed hash category of Python passlib from HASH_CATEGORY_GENERIC_KDF to HASH_CATEGORY_FRAMEWORK
2021-06-09 13:19:33 +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
db6a079bca
(07000->07010 in code)
2021-06-07 12:34:30 -04: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
pelle
1e51ca0674
Enabled "unused" pw-max configurations.
2021-06-07 12:44:27 +02:00
Jens Steube
fdccc8287d
Fixed free memory size output for skipped GPU (both automatic and manual) of --backend-info information screen
2021-06-07 12:12:01 +02:00
Cablethief
5249e2152d
Addition of OPTS_TYPE_PT_ALWAYS_HEXIFY
2021-06-07 09:58:05 +02:00
Jens Steube
e8ad343153
Hardware Monitor: Add support for GPU device utilization readings from sysfs (AMD on Linux)
2021-06-07 09:34:34 +02:00
Jens Steube
1697bcd809
Merge pull request #2808 from roycewilliams/master
...
tighten output to be physical-terminal friendly
2021-06-07 08:07:43 +02:00
Jens Steube
6636b59ecb
Merge pull request #2805 from matrix/fix_osx_Makefile_warnings_2
...
Fix warning with osx/clang build
2021-06-07 08:06:35 +02:00
Royce Williams
7bea7ca177
tighten output to be physical-terminal friendly
2021-06-06 10:47:18 -08:00
Royce Williams
3a24fb46e2
tighten wording for new auto-detect of hash-mode
2021-06-06 09:48:33 -08:00
Jens Steube
186e68289c
Merge pull request #2804 from matrix/autodetect
...
Added new feature: autodetect hash-mode
2021-06-06 18:20:44 +02:00
Gabriele Gristina
1106e163ca
fix example0*, skip autodetect if keyspace enabled, update help and changes.txt
2021-06-06 15:48:04 +02:00
Gabriele Gristina
0719bda7c4
Fix warning with osx build
2021-06-06 14:32:14 +02:00
Gabriele Gristina
b8ae1444de
skip autodetect if benchmark is enabled, keep table sorting like usage
2021-06-06 13:40:01 +02:00
Gabriele Gristina
75d135bf7d
fix for autodetect (1)
2021-06-06 12:29:07 +02:00
Jens Steube
23ba4f0b66
Folder Management: Add support for XDG Base Directory specification if hashcat was installed using make install
2021-06-06 11:03:44 +02:00
Jens Steube
c9db099330
Merge pull request #2456 from nycex/xdg
...
use XDG_DATA_HOME for profile_dir
2021-06-06 10:51:53 +02:00
Gabriele Gristina
ced9b0c6f8
Added new feature: autodetect hash-mode
2021-06-05 22:11:18 +02:00
nycex
40c68b8bf4
use recursive mkdir for the profile and the cache dir
2021-06-05 21:55:59 +02:00
nycex
954b7d0a4d
apply suggested changes
2021-06-05 20:49:23 +02:00
Jens Steube
72d1937fe7
Modules: Added hash categories HASH_CATEGORY_IMS and HASH_CATEGORY_CRYPTOCURRENCY_WALLET
2021-06-05 15:32:28 +02:00
nycex
470e844e5d
use XDG_CACHE_HOME for kernels
2021-06-05 00:38:43 +02:00
Gabriele Gristina
9b529dc34c
update hash-mode to 26200
2021-06-05 00:10:17 +02:00
nycex
036247186b
fix remaining style issues
2021-06-04 23:20:25 +02:00
nycex
964eb51dd9
fallback to ~/.hashcat if the xdg base directory does not exist
2021-06-04 23:20:24 +02:00
nycex
d018469aef
conform to hashcat style conventions
2021-06-04 23:20:24 +02:00
nycex
8d78815767
use XDG_DATA_HOME for profile_dir
2021-06-04 23:20:24 +02:00
Jens Steube
918a621506
Fixed error handling logic in monitor thread to not return in case of error (disc full, permission error, ...) but to retry instead
2021-06-04 09:48:27 +02: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
2f99ea8595
Fixed error message in -a 9 mode with rules in case number of words from wordlist are not in sync with number of unique salts
2021-06-02 19:43:44 +02:00
Jens Steube
ce8c121b50
BCRYPT Kernels: Improved bcrypt performance by 6.5% for high-end NVIDIA GPU devices using CUDA backend
2021-06-01 22:52:07 +02:00
Jens Steube
8901e657a5
RC4 Kernels: Improved performance by 20%+ for hash-modes Kerberos 5 (etype 23), MS Office (<= 2003) and PDF (<= 1.6) by using new RC4 code
2021-05-31 08:28:13 +02:00
Jens Steube
4e565efcf9
RC4: Updated hash-mode 7500, 9710, 9720, 10400 and 10410 to new RC4 crypto library code, improving performance by 20% or more
2021-05-30 19:53:28 +02:00
Jens Steube
2a55fd7f33
RC4: Update -m 97x0 and -m 104x0 to new RC4 crypto library code, improving performance by 20% or more
2021-05-30 15:40:33 +02:00
Jens Steube
58467e0869
PDF: Update -m 10400 and -m 10410 to new RC4 crypto library code, improving performance by 20% or more
2021-05-30 14:35:28 +02:00
Jens Steube
3192f55707
PDF: Update -m 10410 to new RC4 crypto library code, improving performance by 22% - 32%.
2021-05-30 12:36:17 +02:00
Jens Steube
f54643479d
CRC32: Prevent decompression of data used in CRC32 calculation on host. This leads to false negatives with TrueCrypt/VeraCrypt keyfiles
2021-05-29 13:27:05 +02:00
Jens Steube
99faf3e6e1
Merge branch 'master' into hash-mode-10870
2021-05-29 10:46:28 +02:00
Jens Steube
0b52409590
Modules: Recategorized HASH_CATEGORY option in various modules
2021-05-28 20:06:01 +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
Cablethief
e818b56cf3
Change module number to match future grouping
2021-05-28 14:45:41 +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
9ca94a2a36
RAR3-p (Compressed): Fix workaround in unrar library in AES constant table generation to enable multi-threading support
2021-05-27 09:21:44 +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
9f5a22a3ab
OpenCL Backend: Use CL_DEVICE_BOARD_NAME_AMD instead of CL_DEVICE_NAME for device name in case OpenCL runtime supports this query
2021-05-26 19:09:50 +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
32aa347e66
RAR3-p (Compressed): Deactivated plugin because unrar is having serious problems with multi threading which lead to false negatives
2021-05-24 17:52:09 +02:00
Jens Steube
3faad47b48
Revert "Merge branch 'matrix-hash-mode-25100'"
...
This reverts commit a236b55cae
, reversing
changes made to 1d965c3e78
.
2021-05-23 10:18:51 +02:00
Jens Steube
87f3b2caaf
Merge branch 'hash-mode-25100' of https://github.com/matrix/hashcat into matrix-hash-mode-25100
2021-05-23 09:58:42 +02:00
Jens Steube
0457016834
UTF8-to-UTF16: Replaced naive UTF8 to UTF16 conversion with true conversion for RAR3, AES Crypt and MultiBit HD (scrypt)
2021-05-22 10:37:51 +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
086660e907
Merge branch 'master' of https://github.com/hashcat/hashcat
2021-05-20 14:39:10 +02:00
Jens Steube
5c6501444a
Kernels: Add standalone true UTF8 to UTF16 converter kernel that runs after amplifier. Use OPTS_TYPE_POST_AMP_UTF16LE from plugin
2021-05-20 14:34:24 +02:00
realSnoopy
ea7f7909f4
update in module_13400.c
...
changed token.len_max[2] = 8; -> token.len_max[2] = 10;
max lenght of an u32 is 10,
use case: for manually user tuned keepass iterations above 99999999
see thread https://hashcat.net/forum/thread-10116-post-52700.html#pid52700
2021-05-19 19:31:27 +02:00
Jens Steube
0fd8de3a75
Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device)
2021-05-19 08:32:24 +02:00
Jens Steube
58ffef4580
Performance Monitor: Add -S as a user suggestion to improve cracking performance in specific attack configurations
2021-05-19 08:31:51 +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
fe91f6276d
CUDA Backend: Do not warn about missing CUDA SDK installation if --stdout is used
2021-05-16 18:31:43 +02:00
Jens Steube
e365313a44
Dependencies: Updated LZMA SDK from 19.00 to 21.02 alpha
2021-05-16 08:51:59 +02:00
Jens Steube
d08b5b04fa
Unset PRODUCTION option
2021-05-16 08:40:25 +02:00
Jens Steube
442a95d0ea
hashcat 6.2.1
2021-05-15 14:07:58 +02:00
Jens Steube
0e2dc4bb82
Remove unused WITH_UNRAR macro
2021-05-15 13:12:23 +02:00
Jens Steube
ce90f83b65
Dependencies: Make unrar dependencies optional and disable hash-mode 23800 if dependency is disabled
2021-05-15 00:04:08 +02:00
Jens Steube
a5bb988f92
Unset PRODUCTION option
2021-05-14 19:28:39 +02:00
Jens Steube
97a8f34251
hashcat 6.2.0
2021-05-14 19:08:08 +02:00
Jens Steube
475716e81d
Help autotuner to find more stable workload settings for -m 6900 by limiting kernel loops
2021-05-13 12:14:23 +02:00
Jens Steube
774b76efe2
Remove OPTS_TYPE_MP_MULTI_DISABLE from -m 3200 for better performance on NV GPU
2021-05-13 08:03:44 +02:00
Jens Steube
4ce60a6c61
Add module_unstable_warning() entry for -m 21800 using rocr drivers
2021-05-12 07:42:46 +02:00
Jens Steube
ec0d1309fe
Avoid large buffer allocation on stack in -m 23700 and -m 23800 - it crashes on macOS
2021-05-12 00:17:41 +02:00
Jens Steube
4221bd151c
Fixed unterminated salt buffer in -m 23400 module_hash_encode() in case salt was of length 256
2021-05-11 23:36:31 +02:00
Jens Steube
a2fcb03fe3
Update AMD GPU check on macOS warning message
2021-05-11 10:54:39 +02:00
Jens Steube
282eb75fe9
Update module_unstable_warning for benchmark long selection on macOS for CPU and GPU; Allow use of GPU without --force testwise
2021-05-10 19:57:56 +02:00
Jens Steube
bb402b784a
Update module_unstable_warning for benchmark short selection on macOS for CPU and GPU; Allow use of GPU without --force testwise
2021-05-10 14:36:41 +02:00
Jens Steube
3d0e0d5c2d
Add some device_local_mem_size checks relevant for devices with only 32k shared memory
2021-05-09 15:05:28 +00:00
Jens Steube
bbd6e55968
Add missing null pointer to cuda_module_shared and opencl_program_shared in backend cleanup function
2021-05-09 14:55:52 +02:00
Jens Steube
78a053800f
Remove module_unstable_warning() entries for AMD (legacy) driver after workaround with zero check on context length is in use
2021-05-09 10:33:05 +00:00
Jens Steube
e4dab0f1bf
OpenCL Runtime: Workaround JiT compiler segfault on legacy AMDGPU driver compiling RAR3 OpenCL kernel
2021-05-09 07:38:22 +00:00
Jens Steube
ff72a8ed21
Remove module_unstable_warning() entries for AMD (legacy) driver after workaround inside UTF16 conversion function is in use
2021-05-08 15:55:32 +00:00
Jens Steube
bb1460d851
Fixed hardware management sysfs readings in status screen (typically ROCm controlled GPUs)
2021-05-08 12:14:07 +02:00
Gabriele Gristina
17a83a50af
cryptoapi opts (1)
2021-05-06 23:24:46 +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
7baad686fa
Merge pull request #2571 from ventaquil/master
...
Declare phony targets in Makefile
2021-05-05 10:20:25 +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
3543094591
Make sure no password candidates get rejected for line length in -a 9 mode
2021-05-04 21:44:21 +02:00
Jens Steube
4930105ce3
Fixes memleak in user_options_check_files()
...
See https://github.com/hashcat/hashcat/pull/2669
2021-05-04 13:53:50 +02:00
Jens Steube
5d7dc3cbc1
Fixes memleak in user_options_check_files()
...
See https://github.com/hashcat/hashcat/pull/2671
2021-05-04 13:48:04 +02:00
Jens Steube
95489b0473
Update module_unstable_warning() for amdgpu-pro-20.50-1234664-ubuntu-20.04 (legacy)
2021-05-02 18:18:50 +00:00
Jens Steube
b4f86d2262
Update module_unstable_warning() for -m 21800
2021-05-02 12:32:17 +02:00
Jens Steube
bf2064df7f
Update module_unstable_warning() for -m 172xx and -m 200xx
2021-05-02 08:19:16 +00:00
Jens Steube
0c2afde83b
Add support for clUnloadPlatformCompiler()
2021-05-02 08:15:25 +00:00
Jens Steube
59459d0e5b
Fixed memory leak causing problems in sessions with many iterations. for instance, --benchmark-all or large mask files
2021-05-01 17:27:33 +02:00
Jens Steube
fb081947e1
Fixed access to filename which is a null-pointer in benchmark mode
2021-05-01 14:13:58 +02:00
Jens Steube
96df73dee4
Merge pull request #2646 from Slattz/master
...
Fix --keep-guessing mode
2021-04-28 10:23:29 +02:00
Jens Steube
33d95348f5
Update patch
2021-04-28 09:48:33 +02:00
Jens Steube
057de100d9
Merge pull request #2645 from n8x0b7T/master
...
Improve vocablulary
2021-04-27 20:03:07 +02:00
Jens Steube
2d44626ab2
Merge pull request #2650 from matrix/fix_osx_Makefile_warnings
...
Fixed build warnings on OSX
2021-04-27 20:02:21 +02:00
Jens Steube
9a87d5aa01
Fixed out-of-boundary reads in case user activates -S for fast but pure hashes in -a 1 or -a 3 mode
2021-04-27 19:55:30 +02:00
Jens Steube
0ba77fe761
Kernel Development: Kernel cache is disabled automatically in casehashcat is compiled with DEBUG=1
...
See https://github.com/hashcat/hashcat/issues/2750
2021-04-26 09:51:50 +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
9c8509e101
Update module_unstable_warning() on latest Intel OpenCL runtime
2021-04-26 09:25:57 +02:00
Jens Steube
07ed10a77e
Merge pull request #2768 from Chick3nman/master
...
Fix typo in potfile remove message
2021-04-25 08:16:18 +02:00
epixoip
6ff51e1070
Workaround for NVML and WSL2 shim
2021-04-24 22:17:05 -05:00
Jens Steube
1dac869cb7
Removed unnecessary swaps in SCRYPT based algorithms
2021-04-23 20:55:13 +02:00
Jens Steube
81a76e363b
Fixed tuning database search if a device was not assigned an alias it couldn't be found in general
2021-04-23 20:53:48 +02:00
Chick3nman
793dff4d53
Fix typo in warning message
2021-04-22 14:27:01 -05:00
Jens Steube
1e35b05979
Update unstable warning message in all modules based on latest AMD driver (rocr version)
2021-04-22 20:10:49 +02:00
Jens Steube
c444b42290
Add optimized unroll settings for SCRYPT hash-modes
2021-04-21 19:02:01 +02:00
Jens Steube
15f35fa68c
Scrypt Kernels: Reduced kernel wait times by making it a true split kernel where iteration count = N value
2021-04-21 15:59:14 +02:00
Jens Steube
56f47cabe2
Fixed race condition in potfile check during removal of empty hashes
2021-04-21 09:22:00 +02:00
Jens Steube
62fc3601bb
Wrap atomic functions with hc_ prefix to have better platform control
2021-04-20 17:47:44 +02:00
Jens Steube
8e47fdf8f5
Add 4 times single workitem extra buffer size to total extra buffer size to workaround single workitem buffer overflows
2021-04-19 10:27:51 +02:00
Jens Steube
5e9adac1c2
Update module_unstable_warning() results after Crypt::CBC has been fixed
2021-04-19 07:51:26 +02:00
Jens Steube
a834574daf
Update module_unstable_warning() based on the latest available drivers:
...
- NVIDIA-Linux-x86_64-460.73.01
- amdgpu-pro-20.50-1234664-ubuntu-20.04 (rocr for new gpu, legacy for
old gpu)
- w_opencl_runtime_p_2021.2.0.616.exe
Not tested:
- Apple *
- l_opencl_p_18.1.0.015.tgz
- Intel GPU
- POCL
Update docs/license.txt
2021-04-18 14:41:44 +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
49ffdcef1b
NVIDIA start to prefix the device names, make tuning database search aware.
...
Update hashcat.hctune and add optimized SCRYPT values for RTX2080Ti.
2021-04-16 21:48:16 +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
Jens Steube
bd3c5795f5
Merge pull request #2583 from philsmd/telegram_desktop_modern
...
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512)
2021-04-15 17:20:07 +02:00
Jens Steube
ff96015f53
Add OPTS_TYPE_NATIVE_THREADS for use by plugin developer to enforce native thread count (useful for scrypt)
2021-04-14 15:22:30 +02:00
Jens Steube
67d189e10a
Update calculation of EXTRA_SPACE in backend.c and add upper and lower hard limit
2021-04-13 12:02:52 +02:00
Jens Steube
51e8661070
Update calculation of EXTRA_SPACE in backend.c to make it depending from kernel-accel
2021-04-13 11:47:37 +02:00
Jens Steube
9033975efd
Allow plugins to disable the multiplication of the kernel-accel value with the multiprocessor count of the compute device. Will be used later.
2021-04-13 11:26:17 +02:00
Robert Gützkow
ada829fa20
Fix the processing for constant salt
...
KNX IP Secure uses a constant salt, which require the use of `OPTS_TYPE_DEEP_COMP_KERNEL`. This commit adds the required options and adjusts the indexing of the esalt accordingly. The attempt at an optimized kernel has been removed as requested in the PR feedback. Additionally, minor formatting improvements have been made.
2021-04-12 09:48:38 +02:00
Robert Gützkow
364338a0c9
Merge remote-tracking branch 'origin/master' into knx-ip-secure
2021-04-11 14:36:54 +02:00
Jens Steube
e591b0039b
Fixed invalid handling of outfile folder entries for -m 22000
2021-04-11 14:05:55 +02:00
Jens Steube
a0eae9050c
OpenCL Runtime: Workaround JiT compiler deadlock on NVIDIA driver >= 465.89
2021-04-11 13:35:40 +02:00
Jens Steube
97cce89bb8
Merge pull request #2739 from thatux/pdf-edit-25400
...
Added attack mode 25400
2021-04-10 10:51:39 +02:00
Your Name
4b24e91610
now we can crack the hash direct from pdf2john.pl, no need to alter it ourselves anymore
2021-04-10 00:07:00 +02:00
Jens Steube
8cfc2dacb5
Merge pull request #2586 from llamasoft/patch-1
...
Improve warning message wording
2021-04-09 19:16:28 +02:00
Jens Steube
57213e6c6c
Add AES_GCM_GHASH_GLOBAL() to allow using encrypted data directly from GPU memory to avoid reserving registers
2021-04-08 13:19:27 +02:00
Jens Steube
9979394745
Merge branch 'master' into mongodb-scram
2021-04-06 13:52:13 +02:00
Jens Steube
71a8f97294
Optimize GCM code to use only u32 data types, make it CUDA compatible and remove some branches
2021-04-05 17:59:42 +02:00
Jens Steube
1ba1fa6e58
Merge branch 'master' into full-aes-gcm-and-hash-mode-27000
2021-04-05 17:51:43 +02:00
Jens Steube
6663fe4161
Merge pull request #2744 from davidbolvansky/hash_show
...
Machine readable mode for show hash feature
2021-04-05 12:59:04 +02:00
Jens Steube
3c199bfa1b
Merge pull request #2693 from matrix/out_of_host_memory
...
[backend.c] skipping devices instead of stop with error
2021-04-05 12:58:47 +02:00
Dávid Bolvanský
430b8b17c1
Machine readable mode for show hash feature
2021-04-04 15:11:07 +02:00
Jens Steube
f05ea114a9
Merge pull request #2668 from RealEnder/master
...
Correct check for gz header.
2021-04-04 12:44:53 +02:00
Jens Steube
1323ef3a82
Support loading hash from command line in -m 22000 and -m 22001
...
Fixes #2742
2021-04-04 11:38:02 +02:00
Robert Gützkow
9a4a8d942e
Plugin for KNX IP Secure's device authentication code
2021-04-03 19:07:06 +02:00
Jens Steube
6daea9c7c1
Fix compiler warning from new --hash-info section
2021-04-03 13:40:06 +02:00
Jens Steube
d53913f444
Merge pull request #2672 from matrix/example2info
...
Replaced --example-hashes with --hash-info
2021-04-03 13:25:51 +02:00
Jens Steube
1976118b83
Merge pull request #2677 from RAN1/darwin_version
...
Makefile: Check Darwin major version instead of macOS minor version
2021-04-03 13:19:37 +02:00
Jens Steube
9ee1977ac7
Rename -m 29700 to 25300
2021-04-02 11:05:00 +02:00
Jens Steube
2537de1fd4
Merge pull request #2700 from matrix/office-2016-sheetprot
...
Added hash-mode: MS Office 2016 - SheetProtection
2021-04-02 11:02:17 +02:00
Chick3nman
9b6235a5fc
Downgrade Kernel Exec Timeout Warning
...
Kernel times of >450ms are very uncommon and this warning is not a blocking, downgrading it to advice to allow for it to be hidden along with other advice messages.
2021-04-01 20:01:44 -05:00
Your Name
d52f9c2cad
Added attack mode 25400 which cracks a pdf edit password. It's largely duplicate code of 10500. Based on https://hashcat.net/forum/thread-6233.html
2021-04-01 22:20:54 +02:00
Jens Steube
b3bfaf8e1e
Rename -m 29800 to -m 24700 and other small changes
2021-04-01 11:14:18 +02:00
Jens Steube
9ce063d4b6
Merge pull request #2702 from matrix/stuffit5
...
Added hash-mode: Stuffit5
2021-04-01 11:08:27 +02:00
Jens Steube
42dfa6b543
Add optimized -m 24800 kernels
2021-03-31 11:05:22 +02:00
Jens Steube
ea4fdcd7dd
Merge pull request #2703 from lordneon/master
...
Added hash-mode 24800 - Umbraco HMAC-SHA1
2021-03-31 11:03:41 +02:00
Jens Steube
429b06a425
Merge pull request #2721 from h3xx/fix-typo
...
Fix typo
2021-03-30 20:40:46 +02:00
Jens Steube
de19c31dee
Remove lookup table for speed, add vector datatype support for CPU and unit-test script for -m 24900
2021-03-27 14:08:22 +01:00
Jens Steube
98ee8c4168
Merge pull request #2723 from Chick3nman/master
...
Added hash-mode 24900 - Dahua Authentication MD5
2021-03-27 14:04:42 +01:00
Jens Steube
524cb20703
Add additional support for SQLCipher v3 and hashes SHA1 and SHA256 and a unit-test
2021-03-26 11:36:41 +01:00
Jens Steube
71766dab43
Merge pull request #2596 from trounce1/24600
...
Added -m 24600 = SQLCipher
2021-03-26 11:22:04 +01:00
Chick3nman
677a61c7fc
Added Dahua Authentication MD5, optimized kernels only. Collision rate is high, no need for Pure kernel/longer plaintexts.
2021-03-07 17:28:42 -06:00
Dan Church
d9cd42d577
Fix typo
2021-03-03 10:26:39 -06:00
lordneon
b470ce8df2
Updated hashcategory for m24800
2021-02-05 12:54:54 +00:00
lordneon
c83204c708
Added hashmode m24800 for Umbaraco hashes
2021-02-05 12:21:07 +00:00
Gabriele Gristina
6cf3a89ac3
Added hash-mode: Stuffit5
2021-02-04 01:10:32 +01:00
Gabriele Gristina
f0dec6fe64
Added hash-mode: MS Office 2016 - SheetProtection
2021-02-02 19:34:06 +01:00
Gabriele Gristina
fda0d668e5
use skip also with first checks of backend_session_begin()
2021-01-23 18:51:25 +01:00
Gabriele Gristina
4c2605f7f2
switch to skip instead return -1 for all checks, moved cuda counter update to the end of loop
2021-01-23 18:37:47 +01:00
Gabriele Gristina
f4dbd46b71
trying skip devices instead of return -1
2021-01-23 13:54:46 +01:00
RAN1
8f871db328
Makefile: Check Darwin major version instead of macOS minor version
2021-01-07 19:03:59 -05:00
Gabriele Gristina
82af37b93a
Added salt type and slow hash info
2020-12-30 19:16:57 +01:00
Gabriele Gristina
77e328d659
Removed option --example-hashes, now is an alias of --hash-info
2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840
Added new option: --hash-info
2020-12-29 04:58:58 +01:00
Alex Stanev
7252091d3b
Correct check for gz header.
...
gzip format is described in rfc1952.
From there, first 2 bytes (0x1f8b) are header;
next is Compression method (0x08 for deflate, this is the general used method);
and 4th byte is Flags. Some compression tools don't set this and we can't process the gzips.
zlib plays well in this cases, so we can just drop the check for the 4th byte.
2020-12-26 22:49:05 +02:00
Gabriele Gristina
fe088595cd
Added swizzle optimization and OPTI_TYPE_SLOW_HASH_SIMD_LOOP
2020-12-26 07:18:29 +01:00
Gabriele Gristina
54df7d53ea
Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM
2020-12-25 04:50:18 +01:00
Gabriele Gristina
8b7e83b72f
Added hash-mode 26000 - OpenEdge Progress Encode
2020-12-22 20:30:17 +01:00
Gabriele Gristina
99b5aa8f60
Added hash-mode 25100 - SNMPv3 HMAC-MD5-96
2020-12-22 07:02:19 +01:00
Gabriele Gristina
aba6a3d47d
Updated HASH_CATEGORY
2020-12-18 18:33:58 +01:00
Gabriele Gristina
9e2cfeac27
Added hash-mode 24 - SolarWinds Serv-U
2020-12-18 18:31:21 +01:00
Gabriele Gristina
48b3cb055f
Added hash-mode 10820 - sha384(salt.pass)
2020-12-17 05:39:04 +01:00
Gabriele Gristina
7496ec2d44
Added hash-mode 10810 - sha384(pass.salt)
2020-12-17 04:45:33 +01:00
Gabriele Gristina
65cc442c7f
Fixed hash-mode 10830, HASH_CATEGORY
2020-12-17 03:46:34 +01:00
Gabriele Gristina
676cb23f26
Fixed hash-mode 10840, HASH_CATEGORY
2020-12-17 03:45:47 +01:00
Gabriele Gristina
c6f98ec4da
Added hash-mode 10840 - sha384(salt.utf16le(pass))
2020-12-17 03:41:16 +01:00
Gabriele Gristina
9d8e695a3c
Added hash-mode 10830 - sha384(utf16le(pass).salt)
2020-12-17 01:48:48 +01:00
Gabriele Gristina
14030f3090
Added hash-mode 10870 - sha384(utf16le(pass))
2020-12-17 00:53:47 +01:00
Gabriele Gristina
dbd4b33f95
Added hash-mode 1770 - sha512(utf16le(pass))
2020-12-16 23:43:31 +01:00
Gabriele Gristina
99a3c47b5f
Fix build warning on OSX
2020-12-16 22:26:59 +01:00
Gabriele Gristina
e902697b22
Added hash-mode 1470 - sha256(utf16le(pass))
2020-12-16 22:22:20 +01:00
Gabriele Gristina
930e39c324
Added hash-mode 70 - md5(utf16le(pass))
2020-12-16 22:09:22 +01:00
Gabriele Gristina
61afbc7ff9
Added hash-mode 170 - sha1(utf16le(pass))
2020-12-16 21:49:49 +01:00
Slattz
e5f2a877a5
Fix --keep-guessing mode
...
New cracked passwords would not be outputted at all.
Broken by 04d5e5a119
2020-12-16 16:48:53 +00:00
JandJ101
74523ef74b
Improve vocablulary
2020-12-15 20:17:02 -05:00
Gabriele Gristina
12c0962e51
Added bcrypt(sha1(pass)) // bcryptsha1
2020-12-11 17:35:18 +01:00
Gabriele Gristina
3b34289c48
removed bcrypt password length limits
2020-12-11 16:40:19 +01:00
Gabriele Gristina
2097d67cd5
Added hash-mode bcrypt(md5(pass)) / bcryptmd5
2020-12-10 02:16:33 +01:00
Gabriele Gristina
6582939121
update signature and self-test hash
2020-12-03 20:56:36 +01:00
Gabriele Gristina
7895c45bf8
fix indentation
2020-12-01 02:46:09 +01:00
Gabriele Gristina
55f10f1751
Added hash-type 21501, SolarWinds Orion v2
2020-12-01 02:38:21 +01:00
Michael Kruger
611c73d294
NetNTLM bypass NT
2020-11-06 23:28:05 +02:00
TROUNCE
bf7b9c2d73
Add files via upload
2020-10-26 23:11:16 +00:00
TROUNCE
074b821a8c
Add files via upload
2020-10-26 23:06:54 +00:00
TROUNCE
e6f94fc1fd
Add files via upload
2020-10-26 23:05:54 +00:00
TROUNCE
a017ae130c
Add files via upload
2020-10-26 00:05:27 +00:00
TROUNCE
8c0d467638
Add files via upload
2020-10-25 22:58:18 +00:00
TROUNCE
0dff551161
Add files via upload
2020-10-24 19:39:49 +01:00
TROUNCE
677f259774
Add files via upload
2020-10-23 22:23:22 +01:00
Konrad Goławski
44ceb819fa
Declare phony targets
2020-10-23 19:27:12 +02:00
Marcus T
5919641285
Improve warning message wording
...
The comments earlier in the file indicate an optimized kernel may be listed as unavailable either because A) it doesn't exist or B) provides no benefit.
This updates the warning message to make that more clear.
2020-10-21 16:23:38 -04:00
TROUNCE
57fac8ab0f
Add files via upload
2020-10-20 19:44:19 +01:00
Marcus T
ee3b5da25b
Improve warning message wording
...
The current warning message makes it sound like the optimized kernel exists but isn't being used. This rewording makes it clear that the optimized kernel simply doesn't exist.
2020-10-20 13:56:39 -04:00
philsmd
038235f90f
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512)
2020-10-16 10:41:58 +02:00
Jens Steube
fb219e0a69
Added hash-mode: PKCS#8 Private Keys
2020-10-09 10:35:27 +02:00
philsmd
1734b3da1b
Added mongodb-scram ServerKey (-m 24100 for SHA1, -m 24200 for SHA256)
2020-10-04 16:42:19 +02:00
Jens Steube
45ad7f9fe4
Merge pull request #2559 from philsmd/bestcrypt_v3_volume_encryption
...
Added -m 23900 = BestCrypt v3 Volume Encryption
2020-09-30 14:06:17 +02:00
Jens Steube
04d5e5a119
New Attack-Mode: Association Attack. Like JtR's single mode. Very early
...
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
philsmd
8350d4fa3c
Added -m 23900 = BestCrypt v3 Volume Encryption
2020-09-26 16:38:51 +02:00
Jens Steube
7be7ce3a31
Merge pull request #2548 from philsmd/7z_hook_init_term
...
Improved the hook's memory handling for -m 11600 = 7-Zip
2020-09-22 10:43:45 +02:00
Jens Steube
8207af471c
Update module_init() to latest structure in -m 4510
2020-09-11 13:17:12 +02:00
Jens Steube
eedd3b1434
Merge pull request #2536 from cfreal/master
...
Implement sha1(sha1($pass).$salt) kernel.
2020-09-11 13:16:25 +02:00
philsmd
fa1cd70c81
Improved the hook's memory handling for -m 11600 = 7-Zip
2020-09-11 10:23:50 +02:00
Jens Steube
90fb4aadae
Use only 128 threads for -m 12500, user can override using -T
2020-09-10 21:38:39 +02:00
Jens Steube
3cd7b1565b
Add missing free in -m 23800
2020-09-09 09:00:35 +02:00
philsmd
3cc828ce0a
Added -m 23700/23800 = RAR3-p cracking
2020-09-08 10:51:15 +02:00
Jens Steube
57bef8abc9
Display possible NVIDIA CUDA/RTC library loading error message only in case a NVIDIA device was found using OpenCL
2020-09-06 13:29:32 +02:00
Jens Steube
111f39eeb2
OpenCL Runtime: Switched default OpenCL device type on macOS from GPU to CPU. Use -D 2 to enable GPU devices.
2020-09-05 23:20:59 +02:00
cfreal
04a87d73c2
Changed mode from 4720 to 4510
2020-09-05 20:11:09 +02:00
Jens Steube
343d3bc0aa
CUDA Backend: Give detailed warning if either the NVIDIA CUDA or the NVIDIA RTC library cannot be initialized
...
CUDA Backend: Do not warn about missing CUDA SDK installation if --backend-ignore-cuda is used
2020-09-05 15:46:28 +02:00
Jens Steube
176bbd3fb7
Documentation: Added 3rd party licenses to docs/license_libs
2020-09-04 22:58:12 +02:00
Jens Steube
1ba80a6c1e
Fixed copy/paste error leading to invalid reassembled passwords added with a1b5af4433
2020-09-03 06:48:07 +02:00
Jens Steube
6a419d068c
CUDA Backend: Use blocking events to avoid 100% CPU core usage (per GPU)
2020-08-31 13:35:57 +02:00
Jens Steube
fb448b6eb6
Fixed incorrect maximum password length support for -m 400 in optimized mode (reduced from 55 to 39)
2020-08-30 15:53:58 +02:00
Jens Steube
a1b5af4433
Fixed password reassembling for cracked hashes on host for slow hashes in optimized mode that are longer than 32 characters
2020-08-30 15:45:40 +02:00
Jens Steube
62a7ae4075
Increase EXTRA_SPACE to leave some room for free device memory
2020-08-29 20:01:39 +02:00
Jens Steube
3ebf4c5f9f
Merge branch 'master' of https://github.com/hashcat/hashcat
2020-08-29 16:12:37 +02:00
Jens Steube
98aef2ae92
Module Structure: Add 3rd party library hook management functions. This also requires an update to all existing module_init()
2020-08-29 16:12:15 +02:00
cfreal
58f02c7119
Implement sha1(sha1($pass).$salt) kernel.
2020-08-28 11:36:08 +02:00
Jens Steube
45108468c9
Merge pull request #2531 from philsmd/clear_prompt
...
fixes #2518 : call clear_prompt () more often to avoid misaligned prompt
2020-08-27 09:33:40 +02:00
philsmd
ee5bce1c3e
fixes #2518 : call clear_prompt () more often to avoid misaligned prompt
2020-08-26 12:14:26 +02:00
philsmd
eed7863af4
add OPTS_TYPE_SUGGEST_KG to -m 23100 = Apple Keychain
2020-08-26 12:05:57 +02:00
Jens Steube
142d086507
Merge branch 'master' into master
2020-08-17 09:58:07 +02:00
Jens Steube
56e8de15e4
Merge pull request #2522 from roycewilliams/master
...
fix case in 'OpenSSH'
2020-08-17 09:49:42 +02:00
magnum
89f84b64a3
-m 21200 bugfix: Array declared too small. We're using indeces 0..4 so it
...
has to be pc[5].
2020-08-16 21:19:59 +02:00
Jens Steube
b737bcf7ab
Merge branch 'master' into 23400_bitwarden
2020-08-15 18:39:23 +02:00
Royce Williams
7de74a08a2
fix case in 'OpenSSH'
2020-08-15 08:15:52 -08:00
Jens Steube
30949c1578
Fixed unexpected non-unique salts in multi-hash cracking in Bitcoin/Litecoin wallet.dat module which lead to false negatives
2020-08-15 17:00:55 +02:00
philsmd
3627840bbc
AxCrypt 2: only copy/use as little data as required
2020-08-15 12:14:45 +02:00
philsmd
00ba7168fe
fixes #2510 : Added -m 23500/23600 = AxCrypt 2 AES-128/256
2020-08-14 16:18:29 +02:00
Jens Steube
a72ba6faab
Add OPTI_TYPE_SLOW_HASH_SIMD_INIT2 and OPTI_TYPE_SLOW_HASH_SIMD_LOOP2
2020-08-14 15:52:36 +02:00
Jens Steube
aa3f384858
Merge pull request #2513 from philsmd/master
...
fixes #546 : added -m 23300 = Apple iWork cracking
2020-08-14 12:38:47 +02:00
Jens Steube
1cf2f94292
Merge pull request #2514 from philsmd/axcrypt1_rename
...
fixes #2509 : use AxCrypt 1 to avoid confusion for -m 13200/13300
2020-08-14 12:31:12 +02:00
Jens Steube
762a4c45ba
Merge pull request #2512 from philsmd/patch-1
...
Makefile: minor typo
2020-08-14 12:30:03 +02:00
Jens Steube
e21463da4b
Fixed race condition resulting in out of memory error on startup if multiple hashcat instances are started at the same time
2020-08-14 09:04:52 +02:00
philsmd
035df28c8a
use base64 encoded salt for -m 23400 (Bitwarden)
2020-08-13 14:55:59 +02:00
philsmd
79e5c60fef
fixes #2505 : added -m 23400 = Bitwarden
2020-08-13 10:25:56 +02:00
philsmd
91e10abaea
fixes #2509 : use AxCrypt 1 to avoid confusion for -m 13200/13300
2020-08-12 11:22:37 +02:00
philsmd
0b06034d01
fixes #546 : added -m 23300 = Apple iWork cracking
2020-08-12 11:05:35 +02:00
philsmd
a661d0e135
Makefile: minor typo
2020-08-12 10:45:35 +02:00
Jens Steube
dc9a246893
Removed unstable warnings for AMD-GPU-PRO on -m 15300, 15700 and 21500
2020-08-05 14:52:13 +02:00
Jens Steube
cdd06d404a
Add option OPTS_TYPE_SUGGEST_KG to all -m 229xx modules
2020-08-04 15:15:41 +02:00
Jens Steube
9560bfc7a4
Fixed internal access on module option attribute OPTS_TYPE_SUGGEST_KG with the result that it was unused
2020-08-04 15:15:06 +02:00
Jens Steube
acafe3dae2
Fixed too early execution of some module functions which could make use of non-final values opts_type and opti_type
2020-08-04 14:48:12 +02:00
Jens Steube
6259acc3ab
Switch hash category for -m 15500 to HASH_CATEGORY_PRIVATE_KEY
2020-08-04 09:43:46 +02:00
Jens Steube
b8cbf94791
Add missing modules for -m 229xx
2020-08-03 18:21:26 +02:00
Jens Steube
e00cae4c5c
Update support for RSA/DSA/EC/OPENSSH Private Keys
2020-08-03 16:57:23 +02:00
Jens Steube
152fefe65f
Merge pull request #2363 from mpalmer/pkcs1
...
Module to decrypt PEM-encoded encrypted private keys (#74 )
2020-08-03 16:54:06 +02:00
Jens Steube
6cec2664bc
Add new category HASH_CATEGORY_PRIVATE_KEY
2020-07-30 12:25:46 +02:00
Jens Steube
cec6051d74
Unset PRODUCTION in src/Makefile
2020-07-29 12:32:11 +02:00
Jens Steube
61e8368592
hashcat 6.1.1
2020-07-29 12:16:53 +02:00
Jens Steube
02e2ef63fb
Fixed unresolvable relative paths in hashcat.log
2020-07-29 11:26:45 +02:00
Jens Steube
9ac87db99e
Unset PRODUCTION in src/Makefile
2020-07-28 12:43:44 +02:00
Jens Steube
9ed07f892b
hashcat 6.1.0
2020-07-28 12:29:13 +02:00
Jens Steube
f358b641e0
Merge branch 'master' into master
2020-07-27 15:47:44 +02:00
Jens Steube
0ff2f8c5e1
OpenCL Devices: Utilize PCI domain to improve alias device detection
2020-07-27 15:21:56 +02:00
philsmd
9bd77536c2
improved speed of -m 21200 by using pre-computed SHA1 hash
2020-07-26 18:00:09 +02:00
Jens Steube
4a9f8a1e75
Fixed false negatives in hash-mode 10901 if hash-mode 9200, 10000, 10900 or 20300 was used to compile the kernel binary
2020-07-23 12:56:21 +02:00
Jens Steube
91b663b14d
Fixed integer overflow for large masks in -a 6 attack mode
2020-07-21 14:12:55 +02:00
Jens Steube
5fab483cf0
Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used
2020-07-21 12:41:20 +02:00
Jens Steube
ca8a8b33e6
Merge pull request #2459 from xvitaly/minizip-fix
...
Fixed linkage against packaged version of minizip (part of zlib)
2020-07-21 12:37:53 +02:00
Jens Steube
7cba225715
Added hash-mode: XMPP SCRAM
2020-07-17 14:27:00 +02:00
Jens Steube
b9f6777f1b
OpenCL Runtime: Add some unstable warnings for some SHA512 based algorithms on AMD GPU on macOS
2020-07-15 11:27:46 +02:00
Jens Steube
75d801e1d7
Compile macOS: Fixed makefile target 'clean' to correctly remove *.dSYM folders
2020-07-08 12:48:29 +02:00
Jens Steube
b35a7fc72e
Merge pull request #2480 from philsmd/macos_alias_detection
...
fixes #2460 : better alias detection esp. for macOS
2020-07-03 13:17:04 +02:00
Jens Steube
2b08f736eb
Merge pull request #2479 from philsmd/stdout_status_code
...
fixes #2465 : --stdout should return status code 0
2020-07-03 13:16:24 +02:00
philsmd
3e822e97b9
fixes #2460 : better alias detection esp. for macOS
2020-07-02 17:39:22 +02:00
philsmd
541ef659aa
fixes #2465 : --stdout should return status code 0
2020-07-02 17:32:54 +02:00
philsmd
9ec84ed6bd
fix pw_max w/ -O for -m 10600
2020-07-02 17:27:43 +02:00
Jens Steube
5d04e97adc
Fixed maximum password length in modules of hash-modes 600, 7800, 7801 and 9900
2020-07-02 12:20:41 +02:00
Jens Steube
1563405950
Merge pull request #2471 from philsmd/clean_target_makefile
...
Makefile: update clean/distclean targets
2020-07-01 13:22:08 +02:00
Jens Steube
e141742944
Merge branch 'master' into m23100_apple_keychain
2020-07-01 13:01:16 +02:00
Jens Steube
ab4a1783df
Merge branch 'master' into master
2020-07-01 12:50:44 +02:00
philsmd
570d0ac090
Makefile: added .dictstat2, brain files and luks_tests to the distclean target
2020-07-01 10:45:38 +02:00
Jens Steube
3ac68b455c
Merge pull request #2464 from roycewilliams/master
...
update team preferred handles; clarify optimizer title
2020-07-01 09:44:13 +02:00
philsmd
8c54727a8c
updates default pw_max length for blake2b
2020-06-27 12:48:36 +02:00
philsmd
480466a954
kerberos: do NOT use PWDUMP format with -m 7500/18200
2020-06-27 12:40:40 +02:00
philsmd
78dd206bf2
Makefile: update clean/distclean targets
2020-06-27 12:37:48 +02:00
philsmd
630bb5b811
fixes #2457 : added -m 23100 = Apple Keychain
2020-06-25 17:36:43 +02:00
philsmd
bd9304724c
fixes #1298 : add pure kernels for -m 600 = BLAKE2b-512
2020-06-24 23:41:58 +02:00
Royce Williams
b09bebae3c
make 'Applicable optimizers' less ambiguous
2020-06-23 12:10:47 -08:00
Jens Steube
5628317de8
OpenCL Runtime: Reinterpret return code CL_DEVICE_NOT_FOUND from clGetDeviceIDs() as non-fatal
2020-06-19 13:15:31 +02:00
Vitaly Zaitsev
d259689e19
Fixed linkage against packaged version of minizip (part of zlib).
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 16:06:25 +02:00
Vitaly Zaitsev
eb8c398114
Allow GNU/Linux maintainers to select configure options without
...
patching of Makefile.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 12:50:33 +02:00
Jens Steube
9b3cda2d43
Unset PRODUCTION in src/Makefile
2020-06-17 11:02:04 +02:00
Jens Steube
13e2dec017
hashcat 6.0.0
2020-06-16 17:30:11 +02:00
philsmd
437e9aa3d1
allow --left and -o work with binary hash files
2020-06-15 15:43:49 +02:00
Jens Steube
4ac772d272
Merge pull request #2451 from philsmd/left_eol_fix
...
fixes #2424 : only print EOL in case of non-binary hash file
2020-06-15 15:11:14 +02:00
philsmd
11f3c8c285
fixes #2424 : only print EOL in case of non-binary hash file
2020-06-15 15:07:47 +02:00
philsmd
0ef0a1673f
fixes #2162 : add -liconv to FreeBSD's Makefile LFLAGS
2020-06-15 14:55:12 +02:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes
2020-06-13 11:19:00 +02:00
Royce Williams
f3606e307a
strip trailing whitespace - h/t @philsmd
2020-06-11 08:35:10 -08:00
Jens Steube
9ea8b3424d
Merge branch 'master' into pkcs1
2020-06-10 10:51:43 +02:00
Royce Williams
cafb3bde0b
wrap kernel optimization warning
2020-06-09 11:56:20 -08:00
Jens Steube
69bdd5012c
Merge pull request #2420 from philsmd/dnssecDotReplaceByLen
...
fixes #2365 : NSEC3 dot replace and empty salt/domain fix
2020-06-09 10:45:02 +02:00
Matt Palmer
70441138ed
Renumber PEM module to 22900
...
Also took the liberty of removing old PKCS1 naming everywhere,
so as to prevent future confusion.
2020-06-08 13:36:39 +10:00
Jens Steube
3a9929bd3d
Merge pull request #2419 from philsmd/rarHpPureFix
...
fixes #2390 : RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
2020-06-04 10:06:29 +02:00
Jens Steube
f6322dccd5
Merge branch 'master' into pkcs1
2020-06-04 09:44:01 +02:00
Jens Steube
a6a6bb200a
Mark NV 441.x as fixed
2020-06-03 14:38:04 +02:00
Jens Steube
09b2bb0ad7
Fixed a buffer overflow in module_hash_decode() of -m 15500
2020-06-03 12:51:38 +02:00
Jens Steube
1e469a96a4
Add missing branch in automatic alias device selection
2020-06-03 12:31:17 +02:00
Jens Steube
dc9f4e993a
Fix for #2387 , but need some testing first
2020-06-03 11:10:31 +02:00
Jens Steube
891b59fb2f
Remove some old code no longed needed
2020-06-03 10:05:29 +02:00
Jens Steube
34f71aaea3
Re-enable POCL is version detected is >= 1.5 and LLVM is >= 9.x and also remove performance warning. Still prefers native OpenCL runtime in alias detection, but this default can be overriden using -d parameter.
2020-06-03 09:29:20 +02:00
Jens Steube
c51b6391c9
Merge pull request #2405 from philsmd/luks_hash_example_fix
...
luks: remove self-test example hash
2020-06-02 12:35:07 +02:00
Jens Steube
4aaec30ada
Merge pull request #2404 from philsmd/master
...
use our safe free () wrapper hcfree whenever possible
2020-06-02 12:34:19 +02:00
Jens Steube
a8aece13a2
Merge pull request #2425 from philsmd/secureZIP
...
fixes #2410 : added -m 2300x = SecureZIP
2020-06-02 12:33:09 +02:00
philsmd
416bdd8e47
SecureZIP: use hex_encode () / hex_decode ()
2020-06-02 11:21:25 +02:00
philsmd
e151a72717
huge fwrite/fread problem on windows fixed
2020-06-02 09:52:10 +02:00
philsmd
5df743cb85
fixes #2410 : added -m 2300x = SecureZIP
2020-05-31 10:36:41 +02:00
Jens Steube
6c0dc7493e
Fix modules where salt->salt_buf[] is used but salt->salt_len was not set
2020-05-29 11:19:49 +02:00
Jens Steube
84d3981e7b
Add returncode PARSER_HAVE_ERRNO as a valid returncode from module_hash_binary_count() and module_hash_binary_parse() module hooks. You can use this in case fopen() fails and you want to transport back the original error from the OS
2020-05-27 15:23:02 +02:00
Matt Palmer
cff3fbda9b
Provide benchmark esalt structure
2020-05-27 20:30:00 +10:00
Jens Steube
bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
...
Add some more generic error messages
2020-05-26 13:25:36 +02:00
philsmd
f382d24dcf
fixes #2365 : NSEC3 dot replace and empty salt/domain fix
2020-05-25 11:30:45 +02:00
philsmd
edfe21b902
fixes #2390 : RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
2020-05-25 11:08:33 +02:00
Jens Steube
9b64a405d1
Fixed cleanup of password candidate buffers on GPU set from autotune in case -n was used
2020-05-20 12:44:04 +02:00
Matt Palmer
2d83149a54
Module to decrypt PEM-encoded encrypted private keys ( #74 )
...
Supports a variety of common PKCS#1 ciphers, with fast kernels in all
available colours, shapes, and sizes.
2020-05-19 23:58:09 +10:00
Matt Palmer
c39e3dfcea
Add some more generic error messages
...
These are almost all taken from error messages that are specific to one
particular module, and turned into generic errors that can be used for any
module. It seemed like a better idea to provide generic messages than to
encourage infinite proliferation of error codes (which would probably end up
blowing the 255 value threshold sooner or later). It doesn't seem necessary
to provide module-specific error messages for things like "Invalid <X>
filesize", since users should already know what sort of file they're asking
to be parsed.
2020-05-19 23:52:16 +10:00
Jens Steube
1dc3469f6e
Merge pull request #2372 from mpalmer/binary-parse-report-error
...
Allow module_hash_binary_parse to report a fatal error
2020-05-18 15:14:49 +02:00
philsmd
943c57ae5f
luks: remove self-test example hash
2020-05-14 19:27:39 +02:00
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible
2020-05-14 19:21:59 +02:00
Jens Steube
109fa01a54
Merge pull request #2395 from s3inlc/patch-2
...
Adding escaping for --status-json
2020-05-14 09:44:10 +02:00
Sein Coray
d91a25027b
minor adjustments to code style and explanatory comment added
2020-05-13 13:37:30 +02:00
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
2020-05-12 08:54:26 +02:00
Sein Coray
4a0757e251
added escaping to --status-json output
2020-05-11 23:22:47 +02:00
Jens Steube
f9e4dc0db1
Remove sort_by_string(), no longer needed
2020-05-11 12:00:26 +02:00
Jens Steube
d5cd0a0030
Fix invalid brain session id calculation and move sorting functions to shared.c
2020-05-11 11:52:36 +02:00
Jens Steube
08ea00020a
Fixed calculation of brain-session ID, only the first hash of the hashset was taken into account
2020-05-10 10:05:14 +02:00
philsmd
b7e5216cf1
fixes #2383 : added -m 22700 = MultiBit HD (scrypt)
2020-05-08 10:57:32 +02:00
Jens Steube
33579ae3db
Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly
2020-05-08 10:18:17 +02:00
Jens Steube
c7da6357ff
suppress some handpicked control characters from being printed to console
2020-04-30 13:29:51 +02:00
Jens Steube
d22a9a0978
Merge branch 'master' of https://github.com/hashcat/hashcat
2020-04-30 12:58:46 +02:00
Matt Palmer
b25c8d9a5a
Add some more generic error messages
...
These are almost all taken from error messages that are specific to one
particular module, and turned into generic errors that can be used for any
module. It seemed like a better idea to provide generic messages than to
encourage infinite proliferation of error codes (which would probably end up
blowing the 255 value threshold sooner or later). It doesn't seem necessary
to provide module-specific error messages for things like "Invalid <X>
filesize", since users should already know what sort of file they're asking
to be parsed.
2020-04-23 12:36:15 +10:00
Matt Palmer
b4204d265d
Allow module_hash_binary_parse to report a fatal error
...
If module_hash_binary_parse is completely unable to successfully parse out
any hashes, up until now the output has been
```
Hashfile 'foo': Success
```
which is less than helpful.
This patch allows (but does not require) m_h_binary_parse to report a useful
error response, by returning a negative value. Modules which continue to
return '0 hashes' will get the same less-than-useful behaviour they always
hace.
I've also modified the LUKS module to report a useful error, as a proof of
concept.
Further expansions on this could include:
* Applying similar behaviour to module_hash_binary_count, so it too can
report errors when trying to count hashes. This would require more
co-ordinated change, because m_h_binary_count already uses -1 to indicate
a system error.
* Allow and encourage modules to print their own errors and warnings during
parsing. This would allow for situations where a single hash in a
multi-hash file could be reported as malformed, without having to fail the
whole parse. However, implementing this would, I expect, require modules
to have access to `hashcat_ctx`, which... yeah. Not so straightforward.
2020-04-23 12:05:41 +10:00
Matt Palmer
240d35976a
Fix build warning in DEBUG mode
...
Just a tiny cleanup to avoid an 'unused variable' warning when building
with DEBUG=1.
2020-04-18 12:18:18 +10:00
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1)
2020-04-08 14:31:47 +02:00
Jens Steube
1797f3ffa4
Merge branch 'master' of https://github.com/hashcat/hashcat
2020-04-02 15:16:26 +02:00
Jens Steube
2c94c003ce
Merge pull request #2353 from s3inlc/patch-separator
...
Patch all inconsistent separators in modules
2020-04-02 14:39:42 +02:00
Jens Steube
a45548d176
Merge pull request #2351 from s3inlc/patch-1
...
Fix constant separator when printing IPMI hashes
2020-04-02 14:39:24 +02:00
Jens Steube
26570cdb17
Disable some modules on AMDGPU-Pro driver
2020-04-01 15:10:52 +02:00
Jens Steube
008072eb65
OpenCL Runtime: Added a warning if OpenCL runtime NEO, Beignet, POCL or MESA is detected and skip associated devices (override with --force)
2020-04-01 10:16:49 +02:00
s3inlc
b9d251b76e
fixing all inconsistent hash separators
2020-03-31 20:40:09 +02:00
Sein Coray
949b61a6bb
Fix constant separator when printing IPMI hashes
2020-03-31 17:37:46 +02:00
Jens Steube
e3e31adec3
Merge branch 'master' of https://github.com/hashcat/hashcat
2020-03-31 14:41:35 +02:00
Jens Steube
10e986990b
Merge pull request #2349 from philsmd/hexSaltFix
...
fixes #2339 : problem with --hex-salt fixed
2020-03-30 18:02:32 +02:00
philsmd
15eb70152f
fixes #2339 : problem with --hex-salt fixed
2020-03-30 14:06:11 +02:00
philsmd
4f3165c6ea
make -m 21200 more generic (except all supported salt len)
2020-03-30 13:53:37 +02:00
Jens Steube
ddb641b843
Add option to force disable real SHM access to be used from within the module
2020-03-20 16:20:22 +01:00
Jens Steube
82a024d9cb
Merge branch 'master' of https://github.com/hashcat/hashcat
2020-03-20 16:09:41 +01:00
Jens Steube
9421b99a6f
Merge pull request #2332 from philsmd/master
...
fixes #2067 : 40-bit oldoffice false positive problem
2020-03-20 08:30:38 +01:00
Jens Steube
a6cf7caf4a
Extend hashes in -m 7100 to be of length 128 or 256
2020-03-17 14:44:11 +01:00
Jens Steube
81cb508808
Merge branch 'master' of https://github.com/hashcat/hashcat
2020-03-17 12:02:34 +01:00
philsmd
2bc126ac96
fixes #2067 : 40-bit oldoffice false positive problem
2020-03-16 16:30:35 +01:00
Jens Steube
434ad76381
Improve alias device detection to distinguish between Intel CPU and embedded GPU
2020-03-13 10:01:57 +01:00
Jens Steube
119344c084
Mark -m 13100 as unstable on Apple + Iris
2020-03-13 09:51:27 +01:00
Jens Steube
ba7163062d
Do not set -cl-std=XXX to workaround NEO driver bug causing to hang while compiling -m 22000
2020-03-13 09:43:41 +01:00