Commit Graph

57 Commits (master)

Author SHA1 Message Date
jsteube e498138bb6 Refactor logfile_disable variable to just logfile, same idea as outfile_autohex variable
7 months ago
Jens Steube f1d4260983 Fix missing hc_unlockfile()
4 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 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
jsteube 708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
5 years ago
Rosen Penev 2a56a229fa logfile: Use struct directly instead of casting.
7 years ago
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube 104958af2d Fix CID 1402413
7 years ago
Rosen Penev 2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
7 years ago
jsteube 84fcd8289f Files: Do several file and folder checks on startup rather than when they are actually used to avoid related error after eventual intense operations
7 years ago
philsmd b0501c54cc
log topid/subid should use u32 everywhere (we do not need signed integers here)
7 years ago
jsteube 6ece83760d Add wrapping function for asprintf()
7 years ago
Rosen Penev 36bd1c7dd9 Replace some snprintf calls with asprintf.
8 years ago
Rosen Penev 5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
Rosen Penev 4d09cc10fd
Fix some formats and conversion errors
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 2a188df857 Check fopen() return in logfile_append()
8 years ago
magnum a52b96583f Fix file locking (again).
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
jsteube 2dbb1b41f3 Fix compiler warnings caused by -Wstrict-prototypes
8 years ago
jsteube c4ba7907ca Fix more EOL issues
8 years ago
jsteube 9d4f9f5698 Fix dictstat and logfile
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 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube 52068e25d5 Add some additional start-up checks
8 years ago
jsteube 000534cdbc Update logfile.c function parameters
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube af1701c765 Fix some memleaks on shutdown
8 years ago
jsteube 0a330d4335 Rewrote logfile handling from scratch
8 years ago
jsteube 479e93ae7d Get rid of logfile_disable variable in data. context
8 years ago
jsteube 3adbf3d0d5 Move global mux_dispatcher variable into opencl_ctx_t
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube 7ce2f2ff19 Introduce opencl_ctx_t; not finished yet
8 years ago
jsteube bc75ba70a1 Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources
8 years ago
jsteube 376e12efe6 Move debugfile related stuff to debugfile.c
8 years ago
jsteube bd5bc294e6 Move loopback related stuff to loopback.c
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube b7906f6b93 Move outfile specific functions into their own source file
8 years ago
jsteube 63b47eebc9 Prepare move potfile specific functions into their own source file
8 years ago
jsteube 26172af89d Introduce hashconfig_t
8 years ago
jsteube 9eb47153d4 Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube a56855e355 Move restore specific functions into their own source file
8 years ago