Commit Graph

1519 Commits (master)

Author SHA1 Message Date
Jens Steube 53f6693495 Temporary enable HIP 4.4/ROCM 4.5 on Linux and globally set native thread count
3 years ago
Jens Steube ae8e52f127 Device Threads: Set back default maximum device thread number to 1024
3 years ago
Jens Steube d3ae131128 Device Threads: The default maximum device thread number has been reduced from 1024 to 64, users can still overwrite with the -T option
3 years ago
Jens Steube b768f96228 Device Threads: The default maximum device thread number has been reduced from 1024 to 256, users can still overwrite with the -T option
3 years ago
Jukka Ojanen 3cacbe0e1f Add support for xz compressed files
3 years ago
Jukka Ojanen 3bc7b6af90 Avoid directly accessing file handle
3 years ago
Jens Steube 50e28ff306
Merge pull request #2926 from jtojanen/master
3 years ago
Jukka Ojanen fed32a58c7 Always cleanup and initialize all parts of HC_FILE structure
3 years ago
Jukka Ojanen f3cd32bffd Avoid memory copy in rebuild_pws_compressed_append() and assign instead
3 years ago
Jens Steube 76e388ea47 Memory Management: Check in OpenCL that CL_DEVICE_HOST_UNIFIED_MEMORY is true and if so, then half of the available memory
3 years ago
Jens Steube 9254603960 Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
3 years ago
Jens Steube 05f107cbe5 Added option --generate-rules-func-sel to specify a pool of operators that the random rule generator is allowed to pick from
3 years ago
Jens Steube 6b485dd3fd
Merge pull request #2934 from jtojanen/fix_extra_tmp_size
3 years ago
Jukka Ojanen 5c0820b8d3 Assume hashconfig->tmp_size is the element size
3 years ago
Jens Steube 1f22984313 The hc_bytealign_be_S() was merged too early, but is not yet used anywhere for this platform so we can remove it again.
3 years ago
Jens Steube 01738fafa0 Deprecated Plugins: Add new module function module_deprecated_notice() to mark a plugin as deprecated and to return a free text user notice
3 years ago
Jens Steube 63a0c5a1e1
Merge branch 'master' into snmpv3_sha512
3 years ago
Jens Steube dde75f2763
Merge pull request #2904 from matrix/snmpv3_sha384
3 years ago
Jens Steube cb69e2d413 Added some HIP version checks, fall back to OpenCL automatically
3 years ago
Jens Steube af5d346244
Merge pull request #2894 from jtojanen/master
3 years ago
Jens Steube 20a7b9f992 Tuning-Database: Add new module function module_extra_tuningdb_block() to extend hashcat.hctune content from a plugin
3 years ago
Jukka Ojanen 3d7ce7162b Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jens Steube f4e52ca533 Add new rule function '3' to switch the case of the first letter after occurrence N of char X
3 years ago
Jukka Ojanen c3195d0603 Merge branch 'master' of https://github.com/hashcat/hashcat
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 ae39fa0979
Merge pull request #2908 from hashcat/master
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 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 d7de3550b1 Add fast event for CUDA and HIP, and use it to synchronize check_hash()
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
Jukka Ojanen a642f7b233 Remove synchronous GPU memory copy functions
3 years ago
Jens Steube b66c093c17
Merge pull request #2902 from hashcat/master
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 4bd7363674 Add missing HIP declarations
3 years ago
Jens Steube 72e307fbce
Merge pull request #2901 from hashcat/master
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 640d95a00f Vendor Detection: Add "Intel" as a valid vendor name for GPU on macOS
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 14f5a26027 use const char for fopen mode
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 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
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 c990e252d3 Added option --multiply-accel-disable (short: -M) to disable multiply the kernel-accel with the multiprocessor count automatism
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 ea5180ac46 Include missing bzero kernel parameters
3 years ago
Jukka Ojanen a2a1d04bcf Implement gpu_bzero
3 years ago
Jens Steube 1ab56afb9e
Merge pull request #2874 from hashcat/master
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 92cf955ae6
Merge pull request #2872 from jtojanen/master
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
Jukka Ojanen 2fd0a81f93 Use critical section instead of mutex in Windows
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 979f9e9868 Rename hardware monitor interface sysfs to sysfs_amdgpu
3 years ago
reger-men ea7b74389f First draft HIP Version
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
Jens Steube 701ad7c441 Fix segfault in --hash-info by avoid huge stack buffer allocation
3 years ago
Jens Steube 56c2243dfb KeePass: Increase supported size for KeePass 1 databases from 300kB to 16MB
3 years ago
Jens Steube 254e33c473 File handling: Do not abort on seeing a BOM in input files, just warn and ignore the BOM
3 years ago
Jens Steube 2af45cd03f Rename hc_fopen_nozip() to hc_fopen_raw()
3 years ago
Jens Steube dcaba1f473 Brain: Add brain_ctx_t to hashcat_ctx_t to enable runtime check if hashcat was compiled with brain support
3 years ago
Jens Steube b30d55c5d9 Removed LZMA "Windows.h" capitalized file name workaround used to cross compile Windows binaries from Linux hosts.
3 years ago
Jens Steube 90f0e78b5b Add event about autodetection process start
3 years ago
Jens Steube 7e267b9b37
Merge pull request #2825 from matrix/hwmon_osx_v2
3 years ago
Gabriele Gristina 3a6481da4e show all fans in hwmon output
3 years ago
Jens Steube 3119525ea3 Fixed integer overflow in Recovered/Time status view column caused by division > 0 but < 1
3 years ago
Jens Steube 62397283c1 VeraCrypt: Increase password length support for non-boot volumes from 64 to 128.
3 years ago
Gabriele Gristina 4dc20533bd fix ext_iokit.h
3 years ago
Gabriele Gristina bc4ce4cbeb Add support for CPU/GPU device temperature and fanspeed using iokit (Apple)
3 years ago
Jens Steube 2b68d4bec1
Merge pull request #2821 from matrix/autodetect-only
3 years ago
Gabriele Gristina 340e8d1033 fix identify functionality
3 years ago
Gabriele Gristina 3c6f4b0e69 add identify/autodetect-only option
3 years ago
Gabriele Gristina e5de44c80d Restyling hwmon (2021)(2)
3 years ago
Bjoern Kerler d59f8c42d2 Prepare FBE support
3 years ago
Jens Steube 186e68289c
Merge pull request #2804 from matrix/autodetect
3 years ago
Gabriele Gristina b8ae1444de skip autodetect if benchmark is enabled, keep table sorting like usage
3 years ago
Jens Steube c9db099330
Merge pull request #2456 from nycex/xdg
3 years ago
Gabriele Gristina ced9b0c6f8 Added new feature: autodetect hash-mode
3 years ago
nycex 40c68b8bf4
use recursive mkdir for the profile and the cache dir
3 years ago
Jens Steube 72d1937fe7 Modules: Added hash categories HASH_CATEGORY_IMS and HASH_CATEGORY_CRYPTOCURRENCY_WALLET
3 years ago
nycex 470e844e5d
use XDG_CACHE_HOME for kernels
3 years ago
Jens Steube f54643479d CRC32: Prevent decompression of data used in CRC32 calculation on host. This leads to false negatives with TrueCrypt/VeraCrypt keyfiles
3 years ago
Jens Steube 0b52409590 Modules: Recategorized HASH_CATEGORY option in various modules
3 years ago
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
3 years ago
Jens Steube 5c6501444a Kernels: Add standalone true UTF8 to UTF16 converter kernel that runs after amplifier. Use OPTS_TYPE_POST_AMP_UTF16LE from plugin
3 years ago
Jens Steube 307cb63661
Merge pull request #2695 from matrix/cryptoapi
3 years ago
Jens Steube e365313a44 Dependencies: Updated LZMA SDK from 19.00 to 21.02 alpha
3 years ago
Jens Steube bb402b784a Update module_unstable_warning for benchmark short selection on macOS for CPU and GPU; Allow use of GPU without --force testwise
3 years ago
Gabriele Gristina 17a83a50af cryptoapi opts (1)
3 years ago
Jens Steube 32b40d5c53 Added command prompt [f]inish to instruct hashcat to finish the current attack and quit afterwards
3 years ago
Jens Steube 0c2afde83b Add support for clUnloadPlatformCompiler()
3 years ago
Jens Steube 59459d0e5b Fixed memory leak causing problems in sessions with many iterations. for instance, --benchmark-all or large mask files
3 years ago
Konrad Goławski 3535f3ae55 Change typedef hashconfig_t
3 years ago
Jens Steube 15f35fa68c Scrypt Kernels: Reduced kernel wait times by making it a true split kernel where iteration count = N value
3 years ago
Jens Steube 56f47cabe2 Fixed race condition in potfile check during removal of empty hashes
3 years ago
Jens Steube 62fc3601bb Wrap atomic functions with hc_ prefix to have better platform control
3 years ago
Jens Steube 57a8923b81 Update complete SCRYPT workload tuning logic.
3 years ago
Jens Steube ff96015f53 Add OPTS_TYPE_NATIVE_THREADS for use by plugin developer to enforce native thread count (useful for scrypt)
3 years ago
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.
3 years ago
Jens Steube a0eae9050c OpenCL Runtime: Workaround JiT compiler deadlock on NVIDIA driver >= 465.89
3 years ago
Jens Steube b7951262e7
Merge pull request #2590 from philsmd/include_header_fix
3 years ago
Jens Steube f7c3a907a2
Merge pull request #2585 from ventaquil/types-guard
3 years ago
Jens Steube 1ba1fa6e58
Merge branch 'master' into full-aes-gcm-and-hash-mode-27000
3 years ago
Jens Steube 1323ef3a82 Support loading hash from command line in -m 22000 and -m 22001
3 years ago
Gabriele Gristina 77e328d659 Removed option --example-hashes, now is an alias of --hash-info
3 years ago
Gabriele Gristina 3ed1f0d840 Added new option: --hash-info
3 years ago
Gabriele Gristina 54df7d53ea Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM
3 years ago
philsmd a3663d1cc4
Fix some include headers macros
4 years ago
Konrad Goławski 3c251416b0 Fix types.h include guard
4 years ago
Jens Steube 04d5e5a119 New Attack-Mode: Association Attack. Like JtR's single mode. Very early
4 years ago
Jens Steube 57bef8abc9 Display possible NVIDIA CUDA/RTC library loading error message only in case a NVIDIA device was found using OpenCL
4 years ago
Jens Steube 98aef2ae92 Module Structure: Add 3rd party library hook management functions. This also requires an update to all existing module_init()
4 years ago
Jens Steube a72ba6faab Add OPTI_TYPE_SLOW_HASH_SIMD_INIT2 and OPTI_TYPE_SLOW_HASH_SIMD_LOOP2
4 years ago
Jens Steube 6cec2664bc Add new category HASH_CATEGORY_PRIVATE_KEY
4 years ago
Jens Steube 61e8368592 hashcat 6.1.1
4 years ago
Jens Steube 9ed07f892b hashcat 6.1.0
4 years ago
Jens Steube 0ff2f8c5e1 OpenCL Devices: Utilize PCI domain to improve alias device detection
4 years ago
Jens Steube 5fab483cf0 Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used
4 years ago
Jens Steube 577768320d Backend: Changed the maximum number of compute devices from 64 to 128
4 years ago
Jens Steube 13e2dec017 hashcat 6.0.0
4 years ago
philsmd 437e9aa3d1
allow --left and -o work with binary hash files
4 years ago
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
4 years ago
Jens Steube bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
4 years ago
Jens Steube ff37264c36 Use special type for hashlist sorting in brain_compute_session()
4 years ago
Jens Steube f9e4dc0db1 Remove sort_by_string(), no longer needed
4 years ago
Jens Steube d5cd0a0030 Fix invalid brain session id calculation and move sorting functions to shared.c
4 years ago
Jens Steube 33579ae3db Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly
4 years ago
Matt Palmer b25c8d9a5a Add some more generic error messages
4 years ago
Jens Steube ba7163062d Do not set -cl-std=XXX to workaround NEO driver bug causing to hang while compiling -m 22000
4 years ago
Jens Steube 2b2a7ede66 OpenCL Options: Set --spin-damp to 0 (disabled) by default. With the CUDA backend this workaround became deprecated
4 years ago
Jens Steube d706f90a75 Dictstat: On Windows, the st_ino attribute in the stat struct is not set which can lead to invalid cache hits. Added the filename to the database entry.
4 years ago
Jens Steube f8f5e1cc93 Remove unused OPTS_TYPE_PREFERED_THREAD
4 years ago
Jens Steube a4db1a0abd Remove unused OPTS_TYPE_ST_HASH_MD5
4 years ago
Jens Steube f96e35649d Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance
4 years ago
Jens Steube d9473358ef Add support for OPTS_TYPE_LOOP_EXTENDED kernel for special cases like VeraCrypt
4 years ago
Jens Steube 9957422191 Add tokenizer option TOKEN_ATTR_SEPARATOR_FARTHEST as an option to deal with hash formats where separator character could be part of the salt data itself and at the same time does not allow escape character logic to be applied. This can only work if it is guaranteed by the design of the hash format that the separator character does not occur after the position of the separator character.
4 years ago
Jens Steube 4ed18af14c Make VeraCrypt PIM configuration mechanism easier to read
4 years ago
Jens Steube 4788c61dd2 Add OPTI_TYPE_REGISTER_LIMIT flag to enable register limiting in CUDA
4 years ago
Jens Steube c40f474c2e Add special module option to indicate the kernel is using dynamic shared memory
4 years ago
Jens Steube aef53f7e10 OpenCL Runtime: Allow the kernel to access post-48k shared memory region on CUDA. Requires both module and kernel preparation
4 years ago
Jens Steube 1fc37c25f9 OpenCL Kernels: Moved "gpu_decompress", "gpu_memset" and "gpu_atinit" into new OpenCL/shared.cl in order to reduce compile time
4 years ago
Jens Steube 346637ec43 Improve cujit logging
4 years ago
Jens Steube 66ae5125ce Cache cubin instead of PTX to decrease startup time
4 years ago