Commit Graph

4155 Commits (4aadb3a2f12507b70b54fe10b9ae6fa144da2fcd)

Author SHA1 Message Date
Jens Steube 8801855b14
Merge branch 'master' into snmpv3_sha224
3 years ago
therealartifex 73104fafea Update based on recommendations and examination of mode 19500
3 years ago
therealartifex 33ce4f9720 Add new hash-mode 28200 (SHA1DASH), used in Zynga, 8tracks, and avvo
3 years ago
philsmd 92dfa7e137 Increase buffer sizes for -m 11600 = 7-Zip
3 years ago
philsmd 51adbbbe53 fix buffer sizes for -m 13600 = WinZip
3 years ago
Jukka Ojanen e154f9e781 Few cleanups
3 years ago
Jukka Ojanen c3195d0603 Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jukka Ojanen d721deb17a Move variables higher to avoid async execution stack problems
3 years ago
Jukka Ojanen 1064cce08c Synchronize before hooks
3 years ago
Jukka Ojanen 81c2ec3caf Small cleanup in gidd_to_pw_t()
3 years ago
Jukka Ojanen 8d51fca192 No need to synchronize after run_kernel()
3 years ago
Jukka Ojanen 7a8065d090 Do not call clWaitForEvents() after spin damper when we know that event status is CL_COMPLETE
3 years ago
Jukka Ojanen c48e6a25a8 Enqueue several commands before clFlush()
3 years ago
Jens Steube 03ed06849a
Merge branch 'HIP44' into master
3 years ago
Jens Steube d38d40c8ba Unlock all GPU threads for AMD GPUs if WaveFront size is 32 (basically new models)
3 years ago
Jukka Ojanen 9ed231c99c Add comment to blocking OpenCL calls
3 years ago
Jukka Ojanen e889cf98a9 Few cleanups in autotune
3 years ago
Jens Steube a4299b74af Memory Management: Refactored the code responsible for limiting kernel accel in order to avoid out of -host- memory situations
3 years ago
Jukka Ojanen d7cc8d7cd2 Revert due to module_03200.c, module_25600.c and module_25800.c using device_param->kernel_dynamic_local_mem_size_memset
3 years ago
Jukka Ojanen 8b590f651b Remove unused gpu_memset and its references
3 years ago
Jens Steube 9c0a37accf Update driver requirement
3 years ago
Jens Steube ae39fa0979
Merge pull request #2908 from hashcat/master
3 years ago
Jens Steube 25f1c12e3c SCRYPT Kernels: Add more optimized values for some new NV/AMD GPUs and new semi-automated derivation process description
3 years ago
Jukka Ojanen 5dbe4958b8 Remove digests_shown_tmp buffer, used in check_cracked() to zero out hashes
3 years ago
Jukka Ojanen cdf27a1cb3 Implement async run_cuda_kernel_memset() and run_cuda_kernel_memset32()
3 years ago
Jukka Ojanen e8be7028cd Handle errors inside check_cracked()
3 years ago
Jukka Ojanen be33ccaa6c check_hash() needs to return value to indicate possible error
3 years ago
Jens Steube 532a154542 ADL: Updated support for AMD Display Library to 15.0, updated datatypes and added support for OverDrive 7 and 8 based GPUs
3 years ago
Jukka Ojanen ae44a3022b Use fast event to synchronize selftest()
3 years ago
Jukka Ojanen d7de3550b1 Add fast event for CUDA and HIP, and use it to synchronize check_hash()
3 years ago
Jens Steube f6de3e61e0
Merge pull request #2906 from hashcat/master
3 years ago
Jens Steube e5ac568afb
Merge pull request #2903 from matrix/snmpv3_mod
3 years ago
Jens Steube e627288c04
Merge pull request #2897 from matrix/snmpv3_md5_sha1
3 years ago
Jens Steube fd2cb59d26 AMD GPUs: On Apple OpenCL platform, we ask for the preferred kernel thread size rather than hard-coding 32
3 years ago
Gabriele Gristina 357c23d7a1 Added hash-mode: SNMPv3 HMAC-SHA384-256
3 years ago
Gabriele Gristina 15b90c953e Added hash-mode: SNMPv3 HMAC-SHA512-384
3 years ago
Gabriele Gristina d711c593de fix to crack real hashes
3 years ago
Gabriele Gristina d62fa617fb fix to crack real hashes
3 years ago
Gabriele Gristina c20ff01c39 using shared buffer between md5 and sha1 SNMPV3_TMP_ELEMS_OPT, fix to crack real hashes
3 years ago
Jukka Ojanen 73b8cda176 Avoid unnecessary memcpy in check_hash()
3 years ago
Jukka Ojanen 43a3622a77 Add necessary synchronization to check_hash() and check_cracked()
3 years ago
Gabriele Gristina e15fe3461e add missing pw_min() to snmpv3 md5/sha1 modules
3 years ago
Gabriele Gristina 45fce5d3a3 fix snmpv3 md5/sha1, tested with real hashes
3 years ago
Jukka Ojanen a642f7b233 Remove synchronous GPU memory copy functions
3 years ago
Jukka Ojanen 507d40fff6 Allow async execution of check_hash() and check_cracked()
3 years ago
Jukka Ojanen de5200cffc Allow async execution of backend
3 years ago
Jens Steube 7f419c68af Blowfish Kernels: Backport optimizations reducing bank conflicts from bcrypt to Password Safe v2 and Open Document Format (ODF) 1.1
3 years ago
Jens Steube b66c093c17
Merge pull request #2902 from hashcat/master
3 years ago
Jens Steube 1e3bd2c8a0 AMD GPUs: Add inline assembly code for md5crypt/sha256crypt, PDF 1.7, 7-Zip, RAR3, Samsung Android and Windows Phone 8+
3 years ago
Jens Steube b53691c8f5 ADL: Updated support for AMD Display Library to 14.0, updated datatypes and added support for OverDrive 7 and 8 based GPUs
3 years ago
Jukka Ojanen a86b44a750 Allow async execution of autotune() and prepare try_run() for async kernel execution
3 years ago
Jukka Ojanen 79404b1ff1 Allow async execution of selftest()
3 years ago
Jens Steube 72e307fbce
Merge pull request #2901 from hashcat/master
3 years ago
Jens Steube 83badbeaf1 Backport native threads strategy from Kerberos to Office and PDF
3 years ago
Jens Steube 959a232828
Merge pull request #2885 from neheb/charfixes
3 years ago
Jens Steube 84a4058edf
Merge pull request #2900 from hashcat/master
3 years ago
Jens Steube 44dbedd21a Use improved native threads derivation for RC4 based hash-modes
3 years ago
Gabriele Gristina 58bb2b69b4 Added hash-mode: SNMPv3 HMAC-SHA256-192
3 years ago
Gabriele Gristina 7683ca19a3 Added hash-mode: SNMPv3 HMAC-SHA224-128
3 years ago
Gabriele Gristina 7c8d7f7831 Added hash-mode: SNMPv3 HMAC-MD5-96/HMAC-SHA1-96
3 years ago
Jens Steube 640d95a00f Vendor Detection: Add "Intel" as a valid vendor name for GPU on macOS
3 years ago
Gabriele Gristina 4f10377703 Added hash-mode: SNMPv3 HMAC-MD5-96
3 years ago
Jens Steube 3a31b669b5 Optimize and clean up -m 25200 code.
3 years ago
Jens Steube 5e0f7ecf00
Merge pull request #2889 from matrix/snmpv3_sha1
3 years ago
Gabriele Gristina 4fb44f826c updated module_25200.c as requested in the review
3 years ago
Jens Steube 3f6c5a0042 Update module_unstable_warning() for -m 172xx on HIP
3 years ago
Jens Steube 5ffcaa980d HIP Backend: Added support to support HIP 4.4 and later, but added check to rule out older versions because they are incompatible
3 years ago
Rosen Penev adaf3f293b make const char pointers actually const
3 years ago
Rosen Penev a9ceb6377e add missing const
3 years ago
Rosen Penev 14f5a26027 use const char for fopen mode
3 years ago
Gabriele Gristina b00e3e5e59 add missing hex_encode() in module_hash_encode()
3 years ago
Gabriele Gristina 6d83a69f7d using hex_encode/hex_decode + small fixes
3 years ago
Jens Steube f9e74045b5 Commandline: Throw an error if separator character given by the user with -p option is not exactly 1 byte
3 years ago
Jukka Ojanen 9f9333f2ef Allow async execution of run_opencl_kernel_bzero(), run_hip_kernel_bzero() and run_opencl_kernel_bzero()
3 years ago
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().
3 years ago
Jukka Ojanen 2c2988518d Remove all calls to clFlush()
3 years ago
Jens Steube 5024865d87 Kernel Threads: Use warp size / wavefront size query instead of hardcoded values as base for kernel threads
3 years ago
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
3 years ago
Jens Steube c990e252d3 Added option --multiply-accel-disable (short: -M) to disable multiply the kernel-accel with the multiprocessor count automatism
3 years ago
Jens Steube a7a899e5a4 Backport changes from #2888 to HIP backend
3 years ago
Jukka Ojanen cb923d6e46 Replace CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK with CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN
3 years ago
Gabriele Gristina 7ea5da51a8 Added hash-mode: SNMPv3 HMAC-SHA1-96
3 years ago
Jukka Ojanen 55a475cb4b
Merge branch 'hashcat:master' into master
3 years ago
Jukka Ojanen d23f2d6c2f Calculation kernel dynamic memory size based on CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK
3 years ago
Jens Steube a026171fb3
Merge pull request #2879 from jtojanen/master
3 years ago
Jens Steube 7c5fe5e233 Slow Kernels: Set some of the slowest kernels to OPTS_TYPE_MP_MULTI_DISABLE
3 years ago
Jukka Ojanen 8674e23d79 Add async HIP memcpy functions: hc_hipMemcpyDtoDAsync(), hc_hipMemcpyDtoHAsync() and hc_hipMemcpyHtoDAsync(). Implement partially async HIP memset and bzero kernels.
3 years ago
Jukka Ojanen 4263cafdcf Add async CUDA memcpy functions: hc_cuMemcpyDtoDAsync(), hc_cuMemcpyDtoHAsync() and hc_cuMemcpyHtoDAsync(). Implement partially async CUDA memset and bzero kernels.
3 years ago
Jukka Ojanen f07ff6f03d Use kernel_bzero instead of kernel_memset when value is zero
3 years ago
Jukka Ojanen 4c0f6dd263
Merge branch 'hashcat:master' into master
3 years ago
Jukka Ojanen ea5180ac46 Include missing bzero kernel parameters
3 years ago
Jens Steube 7d43b6e1eb Clear tmps memory region after autotune use
3 years ago
Jens Steube 0504498e86
Merge pull request #2886 from pellekuiters/issue-2876
3 years ago
pelle ac3ccfcc51 Run init() and loop_prepare() during autotune to prevent possible corruptions during loop().
3 years ago
Jens Steube 257098a301 Get rid of hip/hip_runtime.h dependancy
3 years ago
Gabriele Gristina 977ceba046 Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS) and VirtualBox (PBKDF2-HMAC-SHA256 & AES-256-XTS)
3 years ago
Jukka Ojanen 72a418932c HIP: Use kernel_bzero instead of kernel_memset when value is zero
3 years ago
Jukka Ojanen a2a1d04bcf Implement gpu_bzero
3 years ago
Jukka Ojanen 8066a47ac5
Merge branch 'hashcat:master' into master
3 years ago
Jens Steube 261e0f42ab Unset PRODUCTION option
3 years ago
Jens Steube 84082a952e hashcat 6.2.3
3 years ago
Jens Steube 141b59b80e
Merge pull request #2883 from hashcat/HIP
3 years ago
Jens Steube 45e65dd05a Backport more ROCm based optimizations to HIP
3 years ago
Jens Steube 2e929e692e Backport update module_unstable_warning() for -m 21800 on HIP
3 years ago
Gabriele Gristina eaedfb3f8a fix 26700
3 years ago
Jens Steube 4730cf6e79 WinZip Kernel: Increase supported data length from 8k to 16mb
3 years ago
Cablethief 02a9f3471b 27000 slow hash, same doubts as the first, but now with the shared mem concerns
3 years ago
Jens Steube d130cc66b3 Optimize ISA code on HIP for V_ALIGNBIT_B32 using a different template for inline assembly
3 years ago
Gabriele Gristina 50aeaa299d Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
3 years ago
Gabriele Gristina 80a671eab7 Fix bug on hm_SYSFS_CPU_get_syspath_hwmon()
3 years ago
Jens Steube cf512faa53 Update large switch() cases in inc_common.cl and some inline assembly common functions for devices managed with HIP backend
3 years ago
Jens Steube 11295e4679 Fix missing OPTI_TYPE_USES_BITS_64 in several modules
3 years ago
Jukka Ojanen 43b5a138d4 Use kernel_bzero instead of kernel_memset when value is zero
3 years ago
Cablethief a38b5b3e25 27100 Slow hash, have doubts on how to correctly set iterations
3 years ago
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
3 years ago
Jens Steube 9c134833a6 Update module_unstable_warning() for -m 19600 and -m 19700
3 years ago
Jens Steube f3bd936971 Add hardware monitor mapping for HIP devices
3 years ago
Jens Steube 84fcea9592 Fix unusued variable warning
3 years ago
Jens Steube 4b68a8fb4f
Merge pull request #2878 from hashcat/master
3 years ago
Jens Steube 7faf6859d6 Backport hand-optimized compiler settings in modules from ROCM to HIP
3 years ago
Jens Steube 74fca7bac1
Merge pull request #2875 from jtojanen/master
3 years ago
Jens Steube 219bed457f Fix use of --gpu-max-threads-per-block
3 years ago
Jukka Ojanen 6b5af5e849 Fix leaks in dictstat_destroy
3 years ago
Jens Steube 674ca7d88f Add GPU threads to kernel cache checksum because it has an influence on HIP offline compile options
3 years ago
Jens Steube 23c3c178bf Limit max threads per block to 64 to enable offline compiler to make better use if available registers
3 years ago
Jens Steube 20f7febd4c Workaround too intensive optimization in -m 2000 using HIPRTC
3 years ago
Jens Steube fde4770219 Add misssing HIP backend information in -I output
3 years ago
Jens Steube ca3beacd93 Disable dynamic shared memory on HIP, because hipFuncSetAttribute() maps to cudaFuncSetAttribute() and not to cuFuncSetAttribute()
3 years ago
Jens Steube 1b84a9e53b Add missing backports from code base v6.2.2
3 years ago
Jens Steube a22f8149fc
Merge branch 'HIP' into hip
3 years ago
Jens Steube 9fc6c26f8c Added temperature watchdog and utilization for CPU on linux using sysfs and procfs
3 years ago
Jens Steube bfe83ec138 Added temperature watchdog for CPU on linux using sysfs
3 years ago
Jens Steube 72d7048b7e Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jens Steube 979f9e9868 Rename hardware monitor interface sysfs to sysfs_amdgpu
3 years ago
Jens Steube d6042035fc
Merge pull request #2870 from jtojanen/fixes
3 years ago
reger-men ea7b74389f First draft HIP Version
3 years ago
Jukka Ojanen d93d130b6d Avoid deadlocks in brain server
3 years ago
Jens Steube 71c0ea44b7 Update hwmon to easier distinguish between CPU and GPU for OpenCL backend
3 years ago
Jens Steube 47848d2b64
Merge pull request #2867 from jtojanen/fixes
3 years ago
Jens Steube 4cbf7900b6 Remove unused code in -m 26300
3 years ago
Jens Steube 4535695e0a Update some module_unstable_warning() on macOS after the workaround that was added before
3 years ago
Jens Steube f146a05878 Added option --markov-inverse to inverse markov statistics, with the idea of reversing the order of the password candidates
3 years ago
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.
3 years ago
Jens Steube 17a47e390c Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jens Steube a3178391c2 Fixed missing option to automatically disable kernel cache in -m 25600 and -m 25800
3 years ago
Jens Steube 29c971187a
Merge pull request #2863 from matrix/metamask
3 years ago
Jens Steube 13e2aa2508
Merge pull request #2865 from jtojanen/fixes
3 years ago
Jukka Ojanen a0eaefa0c2 Missing whitespaces
3 years ago
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.
3 years ago
Jukka Ojanen b3d18f86e2 Fix early return leaks in backend_session_begin
3 years ago