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
Gabriele Gristina
ea786f715f
avoid logical negation operator
5 years ago
Gabriele Gristina
4b9fdc6b97
try remove warning about unused return value of read
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
e86cbf426a
add workaround for zlib with cygwin build (v2)
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
62d5d2dfbb
OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR environment variable
5 years ago
Sein Coray
301b5b9777
added parser message for pkzip hashes which have unsupported compression type for kernel
5 years ago
Jens Steube
27f130ea90
Kernel Cache: Reactivate OpenCL runtime specific kernel caches
5 years ago
jsteube
3c9d26b161
Add some conditions to make scan-build happy
5 years ago
jsteube
13edc32fb4
Fix some unused variable warnings
5 years ago
jsteube
e5322c8bee
Fix --remove handling in -m 16800 and -m 16801 with new outfile format
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
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
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
5 years ago
jsteube
85f0516e81
Fix salt length limit checks for OPTS_TYPE_ST_BASE64 in generic_salt_decode
5 years ago
jsteube
f63762e597
Reenable select_read_timeout and select_write_timeout on windows
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
75f7172cca
Prepare remove of hash_type variable
5 years ago
jsteube
9b842e30ab
Get rid of OPTI_TYPE_PRECOMPUTE_PERMUT
5 years ago
jsteube
fc648c02f5
Add -m 2000 module
5 years ago
jsteube
4b9b59a3cb
Add module 5500
5 years ago
jsteube
1e31b3b271
Add -m 14000 module
5 years ago
jsteube
bc1dd699e3
Add -m 1500 module
5 years ago
jsteube
bc22bfee2e
Some cleanup
5 years ago
jsteube
fcfd07ceb2
Move parse_and_store_generic_salt to shared.c
5 years ago
jsteube
5e0dec0d6d
Bring back needed variables
5 years ago
jsteube
77739ec946
Remove unused variable
5 years ago
jsteube
6aa7c9befb
Prepare to make byte swapping more intuitional in encoding/decoding functions
5 years ago
jsteube
ce0e19f185
Compile module as .dll example
5 years ago
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
5 years ago
jsteube
7e1e1d34f8
Use real dlopen() to load the module
5 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