Commit Graph

67 Commits (954b7d0a4dcc527ed0f8db4d256c93bfaf17f528)

Author SHA1 Message Date
nycex 954b7d0a4d
apply suggested changes
3 years ago
nycex 470e844e5d
use XDG_CACHE_HOME for kernels
3 years ago
nycex 036247186b
fix remaining style issues
3 years ago
nycex 964eb51dd9
fallback to ~/.hashcat if the xdg base directory does not exist
3 years ago
nycex d018469aef
conform to hashcat style conventions
3 years ago
nycex 8d78815767
use XDG_DATA_HOME for profile_dir
3 years ago
Jens Steube dc9f4e993a Fix for #2387, but need some testing first
4 years ago
Jens Steube d5cd0a0030 Fix invalid brain session id calculation and move sorting functions to shared.c
4 years ago
Jens Steube ce0257dd84
Merge pull request #2189 from neheb/fgfggdf
5 years ago
Rosen Penev bd6c0e57e4 Change 0/1 to true/false
5 years ago
Rosen Penev fd8150769d Add casts where needed in C++ mode
5 years ago
Jens Steube 2e32eaf2bb Fix printing from NULL pointer address
5 years ago
R. Yushaev 074fad9fef Correct buffer size parameter in snprintf calls
5 years ago
jsteube 8ec2af97ed Eventual fix for unicode folder name issue on windows
7 years ago
Rosen Penev dee6934f32 Fix cast qual with double pointers
7 years ago
Rosen Penev 0555613305 Remove else statement after return
7 years ago
philsmd 611b62a25d
fixed double-free problem if OpenCL/ folder is missing (and e.g. shared folder == session folder)
7 years ago
Royce Williams 067372f5ce more event_log_* standardization
7 years ago
Rosen Penev 4ceb7a1afa
Prefer _WIN to _POSIX for defines.
7 years ago
jsteube 231592101e Test commit to workaround coverity false-positive
7 years ago
philsmd d92f8b1d82
memory: we should free this memory in case of error in folder.c
7 years ago
Rosen Penev a3d04a40b0 Fix more cppcheck warnings
7 years ago
Rosen Penev 2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
7 years ago
jsteube 45daaab6ac If the user specifies a folder to scan for wordlists instead of directly a wordlist, then ignore the hidden files
7 years ago
jsteube b3067680a7 If the user specifies a folder to scan for wordlists instead of directly a wordlist, then ignore the hidden files
7 years ago
jsteube 6ece83760d Add wrapping function for asprintf()
7 years ago
Rosen Penev 36bd1c7dd9 Replace some snprintf calls with asprintf.
7 years ago
Jens Steube 035dcd6898 Merge pull request #898 from neheb/master
8 years ago
Rosen Penev 5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
Nikolai Lifanov 4c8addcfb5 FreeBSD: fix refactoring some more - sysctl produces a string
8 years ago
Rosen Penev 96783ed7a3 Fix compilation for native Cygwin
8 years ago
Nikolai Lifanov 9c937aa3d3 add missing includes for FreeBSD
8 years ago
jsteube 66a9f2f544 Merge strcmp() changes from https://github.com/hashcat/hashcat/pull/604
8 years ago
jsteube e43747f36c Do not use deprecated readdir_r(), man pages tells us to fall back to readdir()
8 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
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