jsteube
5b667d2c01
Get rid of src/cpu_aes.c, src/cpu_des.c, src/cpu_md5.c and src/cpu_sha256.c
6 years ago
jsteube
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
6 years ago
jsteube
85f0516e81
Fix salt length limit checks for OPTS_TYPE_ST_BASE64 in generic_salt_decode
6 years ago
jsteube
f63762e597
Reenable select_read_timeout and select_write_timeout on windows
6 years ago
jsteube
0096f1a56b
Add generic_salt_encode so we have both function types
6 years ago
jsteube
6f4b72bcd3
Rename parse_and_store_generic_salt to generic_salt_decode
6 years ago
jsteube
75f7172cca
Prepare remove of hash_type variable
6 years ago
jsteube
9b842e30ab
Get rid of OPTI_TYPE_PRECOMPUTE_PERMUT
6 years ago
jsteube
fc648c02f5
Add -m 2000 module
6 years ago
jsteube
4b9b59a3cb
Add module 5500
6 years ago
jsteube
1e31b3b271
Add -m 14000 module
6 years ago
jsteube
bc1dd699e3
Add -m 1500 module
6 years ago
jsteube
bc22bfee2e
Some cleanup
6 years ago
jsteube
fcfd07ceb2
Move parse_and_store_generic_salt to shared.c
6 years ago
jsteube
5e0dec0d6d
Bring back needed variables
6 years ago
jsteube
77739ec946
Remove unused variable
6 years ago
jsteube
6aa7c9befb
Prepare to make byte swapping more intuitional in encoding/decoding functions
6 years ago
jsteube
ce0e19f185
Compile module as .dll example
6 years ago
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
6 years ago
jsteube
7e1e1d34f8
Use real dlopen() to load the module
6 years ago
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.
6 years ago
Jens Steube
ed8384d4bc
OpenCL Runtime: Disable auto-vectorization for Intel OpenCL runtime to workaround hanging JiT since version 18.1.0.013
6 years ago
Jens Steube
4359f61f84
Make sure to initialize INPUT_RECORD variables because of the union data type section
6 years ago
Jens Steube
4a9171ca5d
Fix use of select() on stdin on windows
...
Fixes #1705
6 years ago
jsteube
fd71da8ade
Add timeout to fgets() for later use
6 years ago
jsteube
634dd71384
Remove some suppressed warnings
6 years ago
jsteube
bdec457951
TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start
6 years ago
jsteube
cd0923f1b8
General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile
6 years ago
jsteube
cc8fa3ee80
Remove TOKEN_ATTR_TERMINATE_STRING from input_tokenizer() and replace with equalivalent code where it's needed
6 years ago
jsteube
c3fc50294f
Bring back CUDA_CACHE_DISABLE=1 because users report to have problems without it
6 years ago
jsteube
124d10989c
Try original NV kernel bytecode cache for faster startup, see how user response is
6 years ago
Jens Steube
1af8e29a4b
Add round_up_multiple_32() and round_up_multiple_64()
7 years ago
Jens Steube
d656e9c3a4
OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
7 years ago
jsteube
05a01d3843
fix some datatypes
7 years ago
jsteube
ef3cdddb18
Enforce environment variables to be set in cygwin environment
7 years ago
Rosen Penev
aece2cc4be
Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
...
Missed from last pull request.
7 years ago
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.
7 years ago
Rosen Penev
353d3c3008
Fix a bunch of cast-qual warnings
7 years ago
jsteube
5e6d43107e
Startup: Check and abort session if outfile and wordlist point to the same file
7 years ago
jsteube
583849cd23
Fix missing free() for memory allocated with asprintf()
7 years ago
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
7 years ago
Rosen Penev
ec55209254
remove hc_sleep and _msec.
...
MinGW defines sleep and usleep so just use those directly.
7 years ago
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
7 years ago
jsteube
8ee75141ea
OpenCL Runtime: Set OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND
7 years ago
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
philsmd
1644ac30b5
use an overflow check instead of a hard coded value for ETA
7 years ago
Jens Steube
92eb946345
Merge pull request #1309 from neheb/master
...
get_random_num: Simplify
7 years ago
Rosen Penev
9736782411
Switch back to rand().
...
rand_s is broken in AppVeyor.
7 years ago
Rosen Penev
3c530a48c4
get_random_num: Simplify
...
random() is available everywhere except Windows and DOS.
Also switch Windows to rand_s.
7 years ago
jsteube
332396a003
Fix SCRYPT on ROCm
7 years ago