Commit Graph

39 Commits (3cacbe0e1f89301f3ae025969a0378af66f8a1f9)

Author SHA1 Message Date
Jukka Ojanen 3cacbe0e1f Add support for xz compressed files
3 years ago
Jukka Ojanen 3bc7b6af90 Avoid directly accessing file handle
3 years ago
Jukka Ojanen fed32a58c7 Always cleanup and initialize all parts of HC_FILE structure
3 years ago
Jukka Ojanen 089a4847db Check NULL pointer before using gzip/zip APIs
3 years ago
Jukka Ojanen 36c209c421 Check NULL pointer before using file APIs
3 years ago
Jukka Ojanen 6cf553410b Avoid (possible) undefined behaviour in hc_fclose(), and don't assume plain file
3 years ago
Rosen Penev 14f5a26027 use const char for fopen mode
3 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 2af45cd03f Rename hc_fopen_nozip() to hc_fopen_raw()
3 years ago
Jens Steube f54643479d CRC32: Prevent decompression of data used in CRC32 calculation on host. This leads to false negatives with TrueCrypt/VeraCrypt keyfiles
3 years ago
Alex Stanev 7252091d3b Correct check for gz header.
3 years ago
philsmd e59f61e8cf
cosmetic: minor code style fixes
4 years ago
Jens Steube 891b59fb2f Remove some old code no longed needed
4 years ago
philsmd e151a72717
huge fwrite/fread problem on windows fixed
4 years ago
Jens Steube 1da40bf5d8 Fix double close() in hc_fclose()
4 years ago
Jens Steube 9824e6e91b Update unstable warnings for Intel GPU on macOSX 10.15
4 years ago
Rosen Penev fd8150769d Add casts where needed in C++ mode
5 years ago
Jens Steube 97c9e86d15 Filehandling: Print a truncation warning in case an oversized line was detected
5 years ago
Rosen Penev fb75164126
Run through Clang's google-readability-casting
5 years ago
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 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
jsteube 05a01d3843 fix some datatypes
6 years ago
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube dc170907ed Compress multiple newlines to one in host code, too
7 years ago
jsteube dc4f96f42e Fixed string not null terminated when reading maskfiles
7 years ago
jsteube 992bc01f3c Fixed parsing of hashes in case the last line did not include a linefeed character
7 years ago
jsteube ea4fd1de50 Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
8 years ago
Rosen Penev 03efea645f
More sign fixes
8 years ago
jsteube 8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube 8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube 683077b42a Use larger counter to handle larger wordlists
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube 6aee697112 Cleanup some macro values
8 years ago
jsteube 3ed4bfd237 Move tuningdb specific functions into their own source file
8 years ago