1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00
Commit Graph

310 Commits

Author SHA1 Message Date
Jens Steube
27f130ea90 Kernel Cache: Reactivate OpenCL runtime specific kernel caches 2019-04-13 14:47:41 +02:00
jsteube
3c9d26b161 Add some conditions to make scan-build happy 2019-04-05 13:46:29 +02:00
jsteube
13edc32fb4 Fix some unused variable warnings 2019-04-03 21:53:34 +02:00
jsteube
e5322c8bee Fix --remove handling in -m 16800 and -m 16801 with new outfile format 2019-04-02 18:39:42 +02:00
jsteube
708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes 2019-03-31 17:39:00 +02:00
jsteube
5b667d2c01 Get rid of src/cpu_aes.c, src/cpu_des.c, src/cpu_md5.c and src/cpu_sha256.c 2019-03-25 15:54:58 +01:00
jsteube
7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl 2019-03-21 23:00:38 +01:00
jsteube
85f0516e81 Fix salt length limit checks for OPTS_TYPE_ST_BASE64 in generic_salt_decode 2019-02-27 09:25:50 +01:00
jsteube
f63762e597 Reenable select_read_timeout and select_write_timeout on windows 2019-02-26 19:54:25 +01:00
jsteube
0096f1a56b Add generic_salt_encode so we have both function types 2019-02-14 10:52:24 +01:00
jsteube
6f4b72bcd3 Rename parse_and_store_generic_salt to generic_salt_decode 2019-02-14 09:53:29 +01:00
jsteube
75f7172cca Prepare remove of hash_type variable 2019-02-12 15:30:42 +01:00
jsteube
9b842e30ab Get rid of OPTI_TYPE_PRECOMPUTE_PERMUT 2019-02-07 17:05:02 +01:00
jsteube
fc648c02f5 Add -m 2000 module 2019-01-31 15:19:21 +01:00
jsteube
4b9b59a3cb Add module 5500 2019-01-21 13:28:52 +01:00
jsteube
1e31b3b271 Add -m 14000 module 2019-01-16 19:55:54 +01:00
jsteube
bc1dd699e3 Add -m 1500 module 2019-01-15 11:53:59 +01:00
jsteube
bc22bfee2e Some cleanup 2019-01-12 15:05:33 +01:00
jsteube
fcfd07ceb2 Move parse_and_store_generic_salt to shared.c 2019-01-10 20:51:38 +01:00
jsteube
5e0dec0d6d Bring back needed variables 2019-01-09 10:03:41 +01:00
jsteube
77739ec946 Remove unused variable 2019-01-09 10:02:03 +01:00
jsteube
6aa7c9befb Prepare to make byte swapping more intuitional in encoding/decoding functions 2019-01-08 20:09:55 +01:00
jsteube
ce0e19f185 Compile module as .dll example 2018-12-19 16:18:40 +01:00
jsteube
4028bae578 Use dynloader.c instead of dlopen() directly 2018-12-19 16:09:28 +01:00
jsteube
7e1e1d34f8 Use real dlopen() to load the module 2018-12-19 13:43:45 +01:00
Jens Steube
55add7c60e The goal of this branch to develop a plugin like interface for hashcat kernels.
The modification of existing core source files to add new hashcat kernels conflicts with the idea of having private hashcat kernel repositories especially when backporting latest hashcat core changes and new features.
The final outcome of this should be a plugin format that does not require modifications on the core soruce files.
Also convert all existing hash-modes to hashcat modules.
We'll start with dynamic loading the modules at runtime rather than linking them at compile time.
This will require some extra code for different OS types but should beneficial on a long term.
This commit add some first ideas of how such modules could look like, however there's no dynamic loading interface yet.
Next steps will be removing all hash-mode depending special code from source files and move them to the modules.
Finally merge with master.
2018-12-06 14:02:10 +01:00
Jens Steube
ed8384d4bc OpenCL Runtime: Disable auto-vectorization for Intel OpenCL runtime to workaround hanging JiT since version 18.1.0.013 2018-11-21 12:03:47 +01:00
Jens Steube
4359f61f84 Make sure to initialize INPUT_RECORD variables because of the union data type section 2018-10-21 11:31:51 +02:00
Jens Steube
4a9171ca5d Fix use of select() on stdin on windows
Fixes #1705
2018-10-18 11:20:01 +02:00
jsteube
fd71da8ade Add timeout to fgets() for later use 2018-09-01 13:19:29 +02:00
jsteube
634dd71384 Remove some suppressed warnings 2018-08-06 21:04:48 +02:00
jsteube
bdec457951 TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start 2018-07-31 16:18:45 +02:00
jsteube
cd0923f1b8 General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile 2018-07-30 13:23:48 +02:00
jsteube
cc8fa3ee80 Remove TOKEN_ATTR_TERMINATE_STRING from input_tokenizer() and replace with equalivalent code where it's needed 2018-07-24 13:55:23 +02:00
jsteube
c3fc50294f Bring back CUDA_CACHE_DISABLE=1 because users report to have problems without it 2018-06-17 09:06:12 +02:00
jsteube
124d10989c Try original NV kernel bytecode cache for faster startup, see how user response is 2018-06-16 22:26:39 +02:00
Jens Steube
1af8e29a4b Add round_up_multiple_32() and round_up_multiple_64() 2018-02-13 13:20:29 +01:00
Jens Steube
d656e9c3a4 OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count 2018-02-11 10:56:08 +01:00
jsteube
05a01d3843 fix some datatypes 2018-02-08 19:13:29 +01:00
jsteube
ef3cdddb18 Enforce environment variables to be set in cygwin environment 2018-01-27 13:26:36 +01:00
Rosen Penev
aece2cc4be Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
Missed from last pull request.
2017-12-11 13:44:58 -08:00
Rosen Penev
1c5915cae3 remove special time handling in hashcat.
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
2017-12-09 16:40:45 -08:00
Rosen Penev
353d3c3008 Fix a bunch of cast-qual warnings 2017-11-13 20:46:26 -08:00
jsteube
5e6d43107e Startup: Check and abort session if outfile and wordlist point to the same file 2017-10-10 11:30:20 +02:00
jsteube
583849cd23 Fix missing free() for memory allocated with asprintf() 2017-10-04 13:04:58 +02:00
Rosen Penev
4ba19fa7c1 replace more snprintf calls with hc_asprintf. 2017-10-02 22:10:10 -07:00
Rosen Penev
ec55209254 remove hc_sleep and _msec.
MinGW defines sleep and usleep so just use those directly.
2017-09-23 13:02:34 -07:00
jsteube
d05f40ab98 Remove OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND, no longer needed with latest ROCm 2017-09-06 16:38:55 +02:00
jsteube
8ee75141ea OpenCL Runtime: Set OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND 2017-08-31 15:25:19 +02:00
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions 2017-08-16 19:43:41 +02:00