Commit Graph

33 Commits (90b9d5c12c3886d6a4ca65857e9f9543435fadb7)

Author SHA1 Message Date
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
jsteube aa1b7408a0 Add some missing returncode checks to get_exec_path()
8 years ago
Rosen Penev 03efea645f
More sign fixes
8 years ago
jsteube af633cdf77 Replaced all calls to readdir() with readdir_r() to ensure thread safety with exception to windows, because there's no readdir_r() for windows. We should replace this with FindFirstFile() and FindNextFile() in a later version
8 years ago
jsteube 24d535d197 Replaced all calls to getpwuid() with getpwuid_r() to ensure thread safety
8 years ago
jsteube 69804dc5f7 Fix folder.c warnings when compiling on windows
8 years ago
jsteube 9eb9543cda Basic sysfs support to read temp and read/write fan speed for amd-gpu-pro
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
Rosen Penev a219b95c17
Fix a bunch of warnings
8 years ago
jsteube 5815055a7a Fixes https://github.com/hashcat/hashcat/issues/545
8 years ago
jsteube c6c31a86d8 Add some changes to improve compiling on MSYS2
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 af9de0a7b7 Fix some error string formats
8 years ago
jsteube 8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube 07f5b2195b Hopefully fixes some OSX compiler errors
8 years ago
jsteube 0f96c57ead Remove some workarounds to use get rid of unused variable warnings
8 years ago
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube 662ddec0bb Update folder.c function parameters
8 years ago
jsteube 57cb082fda Add some useful stuff to main.c
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube 5f18fb40f1 Added hc_mkdir instead of mkdir macro
8 years ago
jsteube d16b6228a6 Fix exec_path_len replacement on OSX
8 years ago
jsteube 299edf5170 Fix some missing sign conversions
8 years ago
jsteube af1701c765 Fix some memleaks on shutdown
8 years ago
jsteube 1cc4358820 Introduce folder_config_t
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube fe634d93aa More pre-sorting
8 years ago
jsteube 9eb47153d4 Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube 25726e4f4e Remove some (hopefully) redundant macros and compiler options
8 years ago
jsteube f9e1329ca9 Fix CRLF
8 years ago
Gabriele 'matrix' Gristina b0c6eee06c Fix multiple build issues with OSX
8 years ago
jsteube c3fe5b40b1 Move folder specific functions into their own source file
8 years ago