Commit Graph

1519 Commits (master)

Author SHA1 Message Date
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
Jens Steube c8f9bd7d64
Merge pull request #2292 from philsmd/master
4 years ago
philsmd ebd904a179
outfile: improved version of OUTFILE_FORMAT assignment
4 years ago
Jens Steube ccacc508cb Reenabled support for Intel GPU OpenCL runtime (Beignet and NEO) because a workaround was found (force -cl-std=CL2.0)
4 years ago
philsmd 13675d2965
Fixes #2255: new --outfile-format with support for timestamps
4 years ago
Jens Steube 7672c49f7e gcc: disable picky gcc-8 function pointer warnings
4 years ago
philsmd 744e4bfd6f
use BRAIN_SERVER_TIMER instead of BRAIN_SERVER_DUMP_EVERY
4 years ago
philsmd c826558b49
fixes #2271: added --brain-server-timer for scheduled backup time
4 years ago
Jens Steube fe372dffb7 Add RDNA ISA instructions test for ADD/ADDC/SUB/SUBB
4 years ago
Jens Steube d0fb171da9 Added new options --backend-ignore-cuda and --backend-ingore-opencl, to ignore CUDA and/or OpenCL interface from being load on startup
4 years ago
Jens Steube 53254b45aa Backport inc_ecc_secp256k1 inline assembly code for AMD ISA
5 years ago
philsmd d07f002337 electrum 4/5: improve speed (rm hook)
5 years ago
Jens Steube a63aa679d3 Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category
5 years ago
Jens Steube 588e0ed294 Show information about minimum and maximum password- and salt-length before the hash parser starts
5 years ago
philsmd db91fe6981 Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5
5 years ago
Jens Steube fe8c17f4c7 Support pause/abort in hooks
5 years ago
Rosen Penev a6edb84157
Fix extra semicolon warnings
5 years ago
Jens Steube 6adc217bae Keep output of --show and --left in the original ordering of the input hash file
5 years ago
Jens Steube c12470b978
Merge pull request #2188 from neheb/cast
5 years ago
Jens Steube a8555fa048 Support use of all available CPU cores for hash-mode specific hooks
5 years ago
Jens Steube d71afd6d7a Prepare new --hook-threads feature
5 years ago
Jens Steube 04b403ff16 _FORTIFY_SOURCE needs string.h
5 years ago
Jens Steube 870229196b Fix long hex encoded masks in maskfiles
5 years ago
Jens Steube c78b8878d5 Fix calculation of mask length for status view in case hex-charset is used
5 years ago
Jens Steube 786efc2d7c Add support for OPTS_TYPE_PT_HEX
5 years ago
Jens Steube b197610811 Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT
5 years ago
Rosen Penev fd8150769d Add casts where needed in C++ mode
5 years ago
Jens Steube 0063bc7245 Fix uninitialized buffer in maskfile iteration
5 years ago
Jens Steube 417a1f6592 Add new hash-mode category 'framework'
5 years ago
Jens Steube 884f003725 Fixed some memory leaks in case mask-files are used in optimized mode
5 years ago
Jens Steube ca31ef43af Fixed race condition in maskfile mode by using a dedicated flag for restore execution
5 years ago
Jens Steube 97c9e86d15 Filehandling: Print a truncation warning in case an oversized line was detected
5 years ago
Rosen Penev 6ecb42b3ea
Run through Clang's readability-inconsistent-declaration-parameter-name
5 years ago
Gabriele Gristina b54ad7981f update repo and re-apply zip patch
5 years ago
Gabriele Gristina d0ec5c7b77 move hc_* file functions from shared.c/.h to filehandling.c/.h
5 years ago
Jens Steube a7fd1e40f8
Merge pull request #2075 from matrix/zlib_support_2
5 years ago
Gabriele Gristina 3d39d2fc91 update all HCFILE vars and related code
5 years ago
Gabriele Gristina 2db6dfcd4e fix HCFILE with potfile BUG and something else related to HCFILE wrong usage
5 years ago
Gabriele Gristina 3161aec3da fix the comments :)
5 years ago
Gabriele Gristina 5679ca3344 Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
5 years ago
Gabriele Gristina 3350b17511 Fix shift in enum vendor_id
5 years ago
Gabriele Gristina e86cbf426a add workaround for zlib with cygwin build (v2)
5 years ago
Gabriele Gristina c19404833e removed other comments
5 years ago
Gabriele Gristina 5d3ed3e754 Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
5 years ago
Gabriele Gristina c2e634c426 switch is_gzip from short to bool
5 years ago
Gabriele Gristina 481c752456 No more compress functions, update example.dict.gz, remove some comments
5 years ago
Gabriele Gristina 398c89c75c switch almost all FILE ops, potfile is the only missing
5 years ago
Gabriele Gristina b2529af172 remove original commented code
5 years ago
Gabriele Gristina 6cb4abd526 Add zlib support v2
5 years ago
Jens Steube 3c4cb5c0f8
Merge pull request #2061 from f0cker/brain_all
5 years ago
Jens Steube 62d5d2dfbb OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR environment variable
5 years ago
Jens Steube 5e0eb288c9 Use __launch_bounds__ in CUDA as replacement for reqd_work_group_size() in OpenCL
5 years ago
f0cker 3bb68e7981 Added brain status (tx/rx) for all devices
5 years ago
Jens Steube 0568c0746a Emulate effect of reqd_work_group_size() in CUDA
5 years ago
Jens Steube 44ecc83d82 Do some CUDA and NVRTC version checks on startup
5 years ago
Jens Steube 1f6c82b6d1 Add hc_cuModuleLoadDataExLog wrapper function for more detailed error logging from CUDA
5 years ago
Jens Steube 034987fa51
Merge pull request #2035 from s3inlc/pkzip-fix-2
5 years ago
Jens Steube f1632b933e Add support to configure hash-mode specific range of number of hashes supported
5 years ago
Sein Coray 301b5b9777
added parser message for pkzip hashes which have unsupported compression type for kernel
5 years ago
Jens Steube 2eebc27ec1
Merge pull request #2008 from vlohacks/master
5 years ago
vlo 84b8a1b1eb Suggested changes for pull request
5 years ago
Jens Steube ce8a6fde0a Fix status screen current password query
5 years ago
Jens Steube d378aa7ab9 Show host memory requirement on startup
5 years ago
vlo 23c3e723f7 Implemeted table for alternate base64
5 years ago
Jens Steube 33028314f0 Add hc_cuCtxSetCacheConfig()
5 years ago
Jens Steube ec9925f3b1 Warnings self-check and autotune with CUDA
5 years ago
Jens Steube 4df00033d7 Prepare CUDA events
5 years ago
Jens Steube f2948460c9 Some first kernel invocations
5 years ago
Jens Steube 5ee033673c Disable name mangling in NVRTC's PTX output and more
5 years ago
Jens Steube 503304f36a Add some first CUDA device memory allocations and host buffer copies
5 years ago
Jens Steube 50a6e720ca More OpenCL variables rename
5 years ago
Jens Steube af8e317cf4 Begin renaming some OpenCL only variables
5 years ago
Jens Steube a6fa7a2749 Add support for some first CUDA module loader
5 years ago
Jens Steube 456c57a6d0 Set vector width size for CUDA
5 years ago
Jens Steube 3c4f4df771 Rename some more variables
5 years ago
Jens Steube 495d89f831 Find alias devices across different backend API's
5 years ago
Jens Steube 6fd936b43a Removed --opencl-platforms filter in order to force backend device numbers to stay constant
5 years ago
Jens Steube e3500ff4aa Add CUDA device attributes to -I
5 years ago
Jens Steube d862458ab5 Begin renaming API specific variables in backend section
5 years ago
Jens Steube d73c0ac8a9 More CUDA attribute queries
5 years ago
Jens Steube a415422123 Initialize CUDA devices and some first attribute queries
5 years ago
Jens Steube 06171958ee Add --gpu-architecture to NVRTC build options
5 years ago
Jens Steube 9faba41848 Use nvrtc to compile PTX (resulting PTX not yet used)
5 years ago
Jens Steube 4045e60021 Add nvrtc wrapper for later use
5 years ago
Jens Steube 4b986de5fb Prepare native CUDA hybrid integration
5 years ago
jsteube ac4f8e688a Dependencies: Updated OpenCL-Headers to latest version from GitHub master repository
5 years ago
jsteube 92f4ccce93 Increase buffer size for --example-hashes output
5 years ago
jsteube 28437b0ab0 Add NV inline assembly instruction set check on startup
5 years ago
jsteube 3c9d26b161 Add some conditions to make scan-build happy
5 years ago
jsteube 2fab28a6f3 Add some useful converters
5 years ago
jsteube d7d716f3ab Make it easier to include OpenCL kernels into modules
5 years ago
jsteube 9ced13cc94 Get rid of CONSTSPEC macro in OpenCL kernels
5 years ago
Jens Steube cf8c815caf
Merge pull request #1975 from Chick3nman/master
5 years ago
jsteube e5322c8bee Fix --remove handling in -m 16800 and -m 16801 with new outfile format
5 years ago
jsteube b8d609ba16 WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes
5 years ago
jsteube c0a31b3239 Prepare potfile specific module_hash_decode and module_hash_encode hooks
5 years ago
jsteube 1c45de4b63 Remove more old GCC diagnostic options
5 years ago
jsteube d3a3f10fcf Remove some old GCC diagnostic options
5 years ago
jsteube 708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
5 years ago
jsteube d80603648e Replace plain_t with void in module_build_plain_postprocess() enables some options
5 years ago
Chick3nman f434809921 More Prep
5 years ago
Chick3nman 20aa7da205 Fixed typo
5 years ago
Chick3nman 2358220cbe Prepare for --status_json
5 years ago
Jens Steube 0fb3b3c83e Declare internal functions in OpenCL kernels as static
5 years ago
jsteube 69587c91dd Do not use uint if not needed
5 years ago
jsteube 891a5beef8 Do not use uint if not needed
5 years ago
jsteube 0a8c7fab1c Do not use ulong. It causes the 32 bit compilation to fail
5 years ago
jsteube 6e57028912 Add digest_t to emu_m02501_pure.h for later use
5 years ago
jsteube 2bb594b385 Remove add3() from bitops, replaced with the ones in inc_common.cl
5 years ago
jsteube 5b667d2c01 Get rid of src/cpu_aes.c, src/cpu_des.c, src/cpu_md5.c and src/cpu_sha256.c
5 years ago
jsteube fb8a9d7c40 Get rid of cpu_sha1.c
5 years ago
jsteube 4e5da084f2 Testfix for osx
5 years ago
jsteube 66d94b06e4 Get rid of src/rp_kernel_on_cpu.c and src/rp_kernel_on_cpu_optimized.c and use OpenCL emulated kernel version
5 years ago
jsteube a44bed7549 More preparation for OpenCL emulation mode
5 years ago
jsteube 7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
5 years ago
jsteube 5ef67a8ab7 Apply previous blowfish optimization for -m 3200 also on -m 9000 and -m 18600
5 years ago
jsteube 42e440611a Fix some broken strict-aliasing rules
5 years ago
jsteube 218322f630 Support for inline VeraCrypt PIM Brute-Force
5 years ago
jsteube 111889d3fc Keep Guessing: No longer automatically activate --keep-guessing for modes 9720, 9820, 14900 and 18100
5 years ago
jsteube b99d392e78 OpenCL Runtime: Disable OpenCL kernel cache on Apple for Intel CPU (throws CL_BUILD_PROGRAM_FAILURE for no reason)
5 years ago
jsteube 1537fc4e5d Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning)
5 years ago
jsteube c43ef406a9 Make sure not to abort entire benchmark if a mode was marked as unstable
5 years ago
jsteube 88a051629c Support module specific JiT compiler build options
5 years ago
jsteube 166f908241 Get rid of some old hack and cleanly distinguish between HL_MODE_FILE_PLAIN and HL_MODE_FILE_BINARY
5 years ago
jsteube 540b405e3a Replace IS_ROCM with HAS_VPERM and HAS_VADD3
5 years ago
jsteube 0096f1a56b Add generic_salt_encode so we have both function types
5 years ago
jsteube 6f4b72bcd3 Rename parse_and_store_generic_salt to generic_salt_decode
5 years ago
jsteube bab735b367 Get rid of hash_type variable. This hopefully reduces some confusion for new hashcat kernel developers
5 years ago
jsteube 75f7172cca Prepare remove of hash_type variable
5 years ago
jsteube dc9c7e4027 Add -m 3710, 3800, 4010, 4110, 4300, 4400, 4500, 4520, 4521, 4522, 4700 module
5 years ago
jsteube c584fa3646 Add -m 121, 124, 2600, 2611, 2612, 2711 and 3711 module
5 years ago
jsteube 000d6a0039 Add -m 11700, 11750, 11760, 11800, 11850 and 11860 module
5 years ago
jsteube 0e9330d700 Add -m 6000 and -m 6100 module
5 years ago
jsteube 977598b25d Add -m 4900 module
5 years ago
jsteube e18bb5864c Add -m 10100 module
5 years ago
jsteube b195456281 Add -m 111 module
5 years ago
jsteube aca1776aa5 Add -m 11100 module
5 years ago
jsteube f689950e0c Remove some leftovers
5 years ago
jsteube 7432db69fa Add -m 10200 module
5 years ago
jsteube 9daaca2188 Add -m 14400 module
5 years ago
jsteube f4fb9111cf Add -m 9900 module
5 years ago
jsteube 9df982382d Add -m 16600 module
5 years ago
jsteube c16a3feabc Add -m 16500 module
5 years ago
jsteube 63f0ed45bc Add -m 16400 module
5 years ago
jsteube 9cdc27b7c2 Add -m 16300 module
5 years ago
jsteube 1454580b4f Add -m 15500 module
5 years ago
jsteube 19ec4340e3 Add -m 16200 module
5 years ago
jsteube 535a5c8b40 Add -m 16100 module
5 years ago
jsteube dafe5bdafc Add -m 15200 module
5 years ago
jsteube 41ba9424fd Add -m 14700 and -m 14800 module
5 years ago
jsteube 444db31e3d Add -m 13800 module
5 years ago
jsteube 2bb5a9f76f Add -m 13600 module
5 years ago
jsteube c7b424381b Add -m 13300 module
5 years ago
jsteube d12e6e4c73 Add -m 13200 module
5 years ago
jsteube 08f1637f79 Add -m 12900 module
5 years ago
jsteube a13f8a8704 Add -m 12800 module
5 years ago
jsteube 2b2471c420 Add -m 12700 module
5 years ago
jsteube 7b38c0f217 Add -m 12300 module
5 years ago
jsteube ebce25dd79 Add -m 12200 module
5 years ago
jsteube 69659ee9e6 Add -m 15100 module
5 years ago
jsteube eec67f3519 Add module -m 12100
5 years ago
jsteube 79cdcf9ec6 Add -m 12001 module
5 years ago
jsteube ddaa21d2f1 Add -m 11900 module
5 years ago
jsteube 5727e1e712 Add -m 11400 module
5 years ago
jsteube bce84cb17a Add -m 10900 module
5 years ago
jsteube 1cccaad681 Add -m 10700 module
5 years ago
jsteube 762abc48df Add -m 10300 module
5 years ago
jsteube 4b78802dd1 Add -m 10000 module
5 years ago
jsteube a2d2675d43 Add -m 9500 module
5 years ago
jsteube 9ffcbf6cab Add -m 9400 module
5 years ago
jsteube cc3169c51c Add module for -m 9200
5 years ago
jsteube a10837b60b Add -m 8800 module
5 years ago
jsteube a1cad1108e Add -m 8600 and -m 8700 module
5 years ago
jsteube 186f223667 Add -m 8400 module
5 years ago
jsteube d5fae7670c Add -m 8300 module
5 years ago
jsteube fde470b315 Add -m 8100 module
5 years ago
mhasbini 75a013edf2 Add -m 40 module
5 years ago
jsteube 9d36a30b28 Add module -m 8000
5 years ago
jsteube b8014f459e Add module for -m 7900
5 years ago
jsteube 0cb56b7116 Add module for -m 7801
5 years ago
jsteube 9d1d05d85d Add module for -m 7400
5 years ago
jsteube 3faf9116ce Add module for -m 7400
5 years ago
jsteube 014cc8da6b Add module for -m 7300
5 years ago
jsteube 6cca2ff7ce Add module for -m 6900
5 years ago
jsteube 214593d4b1 Add module for -m 6300
5 years ago
jsteube 84357e2bd4 Add module for -m 6700
5 years ago
jsteube 80151320a2 Add module -m 6500
5 years ago
jsteube ad0824261a Add module for -m 6400
5 years ago
jsteube 3d203af066 Add module for -m 5700 and -m 5800
5 years ago
jsteube 36157f00d9 Add module -m 4800
5 years ago
jsteube 9f5b297ac9 Add module -m 3100
5 years ago
jsteube ac1e4bc458 Add module -m 2410
5 years ago
jsteube bf85dd5c53 Add module -m 8200
5 years ago
jsteube 89faa8330f Add module -m 7200
5 years ago
jsteube 5cc04fe92a Add module -m 6600
5 years ago
jsteube e20fe6f3d1 add module -m 16700
5 years ago
jsteube 06d8f4cc7b Add module -m 15600
5 years ago
jsteube ff5d983886 Add module -m 16000
5 years ago
jsteube c9e796fcf0 Add some more modules converted
5 years ago
jsteube a59d1c17eb Fix function declaration for execute_keyboard_layout_mapping()
5 years ago
jsteube 6a33be5ea5 Get rid of module_build_plain_postprocess()
5 years ago