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
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
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
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
3a6481da4e
show all fans in hwmon output
2021-06-19 20:32:07 +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
Gabriele Gristina
4dc20533bd
fix ext_iokit.h
2021-06-12 20:24:43 +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
2b68d4bec1
Merge pull request #2821 from matrix/autodetect-only
...
add identify/autodetect-only option
2021-06-12 10:26:33 +02:00
Gabriele Gristina
340e8d1033
fix identify functionality
2021-06-11 19:25:39 +02:00
Gabriele Gristina
3c6f4b0e69
add identify/autodetect-only option
2021-06-10 20:44:21 +02:00
Gabriele Gristina
e5de44c80d
Restyling hwmon (2021)(2)
2021-06-10 20:13:12 +02:00
Bjoern Kerler
d59f8c42d2
Prepare FBE support
2021-06-10 10:31:27 +02: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
b8ae1444de
skip autodetect if benchmark is enabled, keep table sorting like usage
2021-06-06 13:40:01 +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
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
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
0b52409590
Modules: Recategorized HASH_CATEGORY option in various modules
2021-05-28 20:06:01 +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
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
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
e365313a44
Dependencies: Updated LZMA SDK from 19.00 to 21.02 alpha
2021-05-16 08:51:59 +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
Gabriele Gristina
17a83a50af
cryptoapi opts (1)
2021-05-06 23:24:46 +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
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
Konrad Goławski
3535f3ae55
Change typedef hashconfig_t
2021-04-27 19:09:44 +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
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
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
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
Jens Steube
a0eae9050c
OpenCL Runtime: Workaround JiT compiler deadlock on NVIDIA driver >= 465.89
2021-04-11 13:35:40 +02:00
Jens Steube
b7951262e7
Merge pull request #2590 from philsmd/include_header_fix
...
Fix some include headers macros
2021-04-07 20:47:20 +02:00
Jens Steube
f7c3a907a2
Merge pull request #2585 from ventaquil/types-guard
...
Fix types.h include guard
2021-04-07 20:47:05 +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
1323ef3a82
Support loading hash from command line in -m 22000 and -m 22001
...
Fixes #2742
2021-04-04 11:38:02 +02: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
Gabriele Gristina
54df7d53ea
Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM
2020-12-25 04:50:18 +01:00
philsmd
a3663d1cc4
Fix some include headers macros
2020-10-23 17:29:39 +02:00
Konrad Goławski
3c251416b0
Fix types.h include guard
2020-10-20 16:27:29 +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
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
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
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
6cec2664bc
Add new category HASH_CATEGORY_PRIVATE_KEY
2020-07-30 12:25:46 +02:00
Jens Steube
61e8368592
hashcat 6.1.1
2020-07-29 12:16:53 +02:00
Jens Steube
9ed07f892b
hashcat 6.1.0
2020-07-28 12:29:13 +02:00
Jens Steube
0ff2f8c5e1
OpenCL Devices: Utilize PCI domain to improve alias device detection
2020-07-27 15:21:56 +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
577768320d
Backend: Changed the maximum number of compute devices from 64 to 128
2020-07-10 11:32:42 +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
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
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
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
2020-05-12 08:54:26 +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
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
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
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
Jens Steube
2b2a7ede66
OpenCL Options: Set --spin-damp to 0 (disabled) by default. With the CUDA backend this workaround became deprecated
2020-03-12 10:51:10 +01:00
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.
2020-03-10 15:42:55 +01:00
Jens Steube
f8f5e1cc93
Remove unused OPTS_TYPE_PREFERED_THREAD
2020-03-06 08:53:43 +01:00
Jens Steube
a4db1a0abd
Remove unused OPTS_TYPE_ST_HASH_MD5
2020-03-05 12:43:48 +01:00
Jens Steube
f96e35649d
Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance
2020-02-22 07:59:58 +01:00
Jens Steube
d9473358ef
Add support for OPTS_TYPE_LOOP_EXTENDED kernel for special cases like VeraCrypt
2020-02-20 16:00:21 +01:00
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.
2020-02-19 10:35:44 +01:00
Jens Steube
4ed18af14c
Make VeraCrypt PIM configuration mechanism easier to read
2020-02-08 12:24:47 +01:00
Jens Steube
4788c61dd2
Add OPTI_TYPE_REGISTER_LIMIT flag to enable register limiting in CUDA
2020-02-04 21:53:27 +01:00
Jens Steube
c40f474c2e
Add special module option to indicate the kernel is using dynamic shared memory
2020-02-02 11:24:38 +01:00
Jens Steube
aef53f7e10
OpenCL Runtime: Allow the kernel to access post-48k shared memory region on CUDA. Requires both module and kernel preparation
2020-02-01 14:27:42 +01:00
Jens Steube
1fc37c25f9
OpenCL Kernels: Moved "gpu_decompress", "gpu_memset" and "gpu_atinit" into new OpenCL/shared.cl in order to reduce compile time
2020-02-01 09:00:48 +01:00
Jens Steube
346637ec43
Improve cujit logging
2020-01-30 11:44:57 +01:00
Jens Steube
66ae5125ce
Cache cubin instead of PTX to decrease startup time
2020-01-29 15:56:36 +01:00
Jens Steube
c8f9bd7d64
Merge pull request #2292 from philsmd/master
...
Fixes #2255 : new --outfile-format with support for timestamps
2020-01-24 19:54:24 +01:00
philsmd
ebd904a179
outfile: improved version of OUTFILE_FORMAT assignment
2020-01-24 18:43:13 +01:00
Jens Steube
ccacc508cb
Reenabled support for Intel GPU OpenCL runtime (Beignet and NEO) because a workaround was found (force -cl-std=CL2.0)
2020-01-24 10:52:12 +01:00
philsmd
13675d2965
Fixes #2255 : new --outfile-format with support for timestamps
2020-01-23 09:03:22 +01:00
Jens Steube
7672c49f7e
gcc: disable picky gcc-8 function pointer warnings
2020-01-14 13:17:45 +01:00
philsmd
744e4bfd6f
use BRAIN_SERVER_TIMER instead of BRAIN_SERVER_DUMP_EVERY
2020-01-11 11:26:55 +01:00
philsmd
c826558b49
fixes #2271 : added --brain-server-timer for scheduled backup time
2020-01-11 10:46:11 +01:00
Jens Steube
fe372dffb7
Add RDNA ISA instructions test for ADD/ADDC/SUB/SUBB
2020-01-06 12:49:57 +01:00
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
2020-01-03 11:51:24 +01:00
Jens Steube
53254b45aa
Backport inc_ecc_secp256k1 inline assembly code for AMD ISA
2019-12-05 15:43:01 +01:00
philsmd
d07f002337
electrum 4/5: improve speed (rm hook)
2019-12-05 10:43:42 +01:00
Jens Steube
a63aa679d3
Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category
2019-11-26 17:16:18 +01:00
Jens Steube
588e0ed294
Show information about minimum and maximum password- and salt-length before the hash parser starts
2019-11-21 09:03:06 +01:00
philsmd
db91fe6981
Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5
2019-11-16 10:48:52 +01:00
Jens Steube
fe8c17f4c7
Support pause/abort in hooks
2019-11-15 14:42:34 +01:00
Rosen Penev
a6edb84157
Fix extra semicolon warnings
...
These macros don't need a ; but since ; is used, make the macros more
robust by enclosing them in a do while loop.
2019-11-09 16:42:50 -08:00
Jens Steube
6adc217bae
Keep output of --show and --left in the original ordering of the input hash file
2019-11-05 13:49:22 +01:00
Jens Steube
c12470b978
Merge pull request #2188 from neheb/cast
...
Add casts where needed in C++ mode
2019-11-05 12:28:21 +01:00
Jens Steube
a8555fa048
Support use of all available CPU cores for hash-mode specific hooks
2019-11-03 12:05:52 +01:00
Jens Steube
d71afd6d7a
Prepare new --hook-threads feature
2019-11-02 10:29:34 +01:00
Jens Steube
04b403ff16
_FORTIFY_SOURCE needs string.h
2019-10-25 12:37:09 +02:00
Jens Steube
870229196b
Fix long hex encoded masks in maskfiles
2019-10-09 19:43:05 +02:00
Jens Steube
c78b8878d5
Fix calculation of mask length for status view in case hex-charset is used
2019-10-09 19:18:18 +02:00
Jens Steube
786efc2d7c
Add support for OPTS_TYPE_PT_HEX
2019-10-09 10:49:58 +02:00
Jens Steube
b197610811
Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT
2019-10-02 14:18:26 +02:00
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00
Jens Steube
0063bc7245
Fix uninitialized buffer in maskfile iteration
2019-08-21 14:57:41 +02:00
Jens Steube
417a1f6592
Add new hash-mode category 'framework'
2019-08-12 11:25:21 +02:00
Jens Steube
884f003725
Fixed some memory leaks in case mask-files are used in optimized mode
2019-08-07 14:20:32 +02:00
Jens Steube
ca31ef43af
Fixed race condition in maskfile mode by using a dedicated flag for restore execution
2019-08-06 14:07:43 +02:00
Jens Steube
97c9e86d15
Filehandling: Print a truncation warning in case an oversized line was detected
2019-08-06 12:22:24 +02:00
Rosen Penev
6ecb42b3ea
Run through Clang's readability-inconsistent-declaration-parameter-name
2019-08-03 22:37:38 -07:00
Gabriele Gristina
b54ad7981f
update repo and re-apply zip patch
2019-07-29 18:42:50 +02:00
Gabriele Gristina
d0ec5c7b77
move hc_* file functions from shared.c/.h to filehandling.c/.h
2019-07-13 00:20:41 +02:00
Jens Steube
a7fd1e40f8
Merge pull request #2075 from matrix/zlib_support_2
...
Add zlib support for loading hashlist/wordlist (v2)
2019-07-10 10:56:06 +02:00
Gabriele Gristina
3d39d2fc91
update all HCFILE vars and related code
2019-07-02 21:30:35 +02:00
Gabriele Gristina
2db6dfcd4e
fix HCFILE with potfile BUG and something else related to HCFILE wrong usage
2019-07-02 18:27:36 +02:00
Gabriele Gristina
3161aec3da
fix the comments :)
2019-07-01 17:27:08 +02:00
Gabriele Gristina
5679ca3344
Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
2019-07-01 01:30:24 +02:00
Gabriele Gristina
3350b17511
Fix shift in enum vendor_id
2019-06-29 17:52:56 +02:00
Gabriele Gristina
e86cbf426a
add workaround for zlib with cygwin build (v2)
2019-06-29 14:46:33 +02:00
Gabriele Gristina
c19404833e
removed other comments
2019-06-28 21:21:11 +02:00
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
2019-06-28 17:58:08 +02:00
Gabriele Gristina
c2e634c426
switch is_gzip from short to bool
2019-06-27 23:51:54 +02:00
Gabriele Gristina
481c752456
No more compress functions, update example.dict.gz, remove some comments
2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c
switch almost all FILE ops, potfile is the only missing
2019-06-26 19:06:46 +02:00
Gabriele Gristina
b2529af172
remove original commented code
2019-06-22 15:00:50 +02:00
Gabriele Gristina
6cb4abd526
Add zlib support v2
2019-06-21 21:56:38 +02:00
Jens Steube
3c4cb5c0f8
Merge pull request #2061 from f0cker/brain_all
...
Brain all
2019-06-18 10:52:56 +02:00
Jens Steube
62d5d2dfbb
OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR environment variable
2019-06-17 17:35:23 +02:00
Jens Steube
5e0eb288c9
Use __launch_bounds__ in CUDA as replacement for reqd_work_group_size() in OpenCL
2019-06-16 18:01:26 +02:00
f0cker
3bb68e7981
Added brain status (tx/rx) for all devices
2019-06-15 22:46:40 +00:00
Jens Steube
0568c0746a
Emulate effect of reqd_work_group_size() in CUDA
2019-06-06 17:49:41 +02:00
Jens Steube
44ecc83d82
Do some CUDA and NVRTC version checks on startup
2019-06-05 10:53:48 +02:00
Jens Steube
1f6c82b6d1
Add hc_cuModuleLoadDataExLog wrapper function for more detailed error logging from CUDA
2019-06-01 07:47:30 +02:00
Jens Steube
034987fa51
Merge pull request #2035 from s3inlc/pkzip-fix-2
...
Added parser message for pkzip hashes which have unsupported compression type for kernel
2019-05-20 11:50:22 +02:00
Jens Steube
f1632b933e
Add support to configure hash-mode specific range of number of hashes supported
2019-05-19 14:46:05 +02:00
Sein Coray
301b5b9777
added parser message for pkzip hashes which have unsupported compression type for kernel
2019-05-17 15:42:13 +02:00
Jens Steube
2eebc27ec1
Merge pull request #2008 from vlohacks/master
...
New modules for Python passlib pbkdf2 sha variants
2019-05-15 09:51:19 +02:00
vlo
84b8a1b1eb
Suggested changes for pull request
...
Fixed: Moved descriptions to appropriate location in readme file
Fixed: Changed name of alternate base64 tables to ab64
Fixed: Changed hash category to HASH_CATEGORY_GENERIC_KDF
2019-05-15 07:29:29 +02:00
Jens Steube
ce8a6fde0a
Fix status screen current password query
2019-05-14 15:25:36 +02:00
Jens Steube
d378aa7ab9
Show host memory requirement on startup
2019-05-10 16:37:49 +02:00
vlo
23c3e723f7
Implemeted table for alternate base64
...
Implemented alternate base64 table, removed replacement code in modules.
Fixed: whitespace/indent issues
Fixed: unsigned to signed implicit typecasts
Added new algorithm information to readme.txt and changes.txt
2019-05-09 08:51:21 +02:00
Jens Steube
33028314f0
Add hc_cuCtxSetCacheConfig()
2019-05-09 00:04:05 +02:00
Jens Steube
ec9925f3b1
Warnings self-check and autotune with CUDA
2019-05-04 21:52:00 +02:00
Jens Steube
4df00033d7
Prepare CUDA events
2019-05-04 10:44:03 +02:00
Jens Steube
f2948460c9
Some first kernel invocations
2019-05-04 10:13:43 +02:00