Commit Graph

216 Commits (7668ec5865a82f4c72999493078d641c6ac1f8db)

Author SHA1 Message Date
jsteube 7668ec5865 Prepare file_to_buffer() for later use
2 years ago
Gabriele Gristina 861e644057 OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon
2 years ago
Jens Steube 5015bc0d2e Module Parser: Renamed struct token_t to hc_token_t to avoid naming conflict with token_t on MacOS
2 years ago
Jens Steube 254e33c473 File handling: Do not abort on seeing a BOM in input files, just warn and ignore the BOM
3 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 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 d71afd6d7a Prepare new --hook-threads feature
5 years ago
Gabriele Gristina d0ec5c7b77 move hc_* file functions from shared.c/.h to filehandling.c/.h
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 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
jsteube 3c9d26b161 Add some conditions to make scan-build happy
5 years ago
jsteube e5322c8bee Fix --remove handling in -m 16800 and -m 16801 with new outfile format
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 bc22bfee2e Some cleanup
5 years ago
jsteube fcfd07ceb2 Move parse_and_store_generic_salt to shared.c
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.
6 years ago
Jens Steube 4a9171ca5d Fix use of select() on stdin on windows
6 years ago
jsteube 5f797147fb Link ws2_32 in order to make use of select()
6 years ago
jsteube fd71da8ade Add timeout to fgets() for later use
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
Jens Steube 1af8e29a4b Add round_up_multiple_32() and round_up_multiple_64()
6 years ago
Jens Steube d656e9c3a4 OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
Rosen Penev aece2cc4be Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
7 years ago
Rosen Penev 1c5915cae3 remove special time handling in hashcat.
7 years ago
jsteube 5e6d43107e Startup: Check and abort session if outfile and wordlist point to the same file
7 years ago
Jens Steube a037ba0c73 Merge pull request #1375 from neheb/warning
7 years ago
Rosen Penev da621fa3be fix some clang -Weverything warnings
7 years ago
Rosen Penev ec55209254 remove hc_sleep and _msec.
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
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube b5f149476d Trim OpenCL device name whitespaces
7 years ago
jsteube 378f852cec Parameter: Detect and error when users try to use a non-digit where a digit is expected
7 years ago
jsteube 4e2adc031a Add some compiler independant integer overflow functions
7 years ago
jsteube 922fea7616 Add more integer overflow checks
7 years ago