Commit Graph

31 Commits (15fb40bc87f115143447e5c927d140e9b1ca1e32)

Author SHA1 Message Date
jsteube cd0923f1b8 General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile
6 years ago
Rosen Penev 51a5e1cc51 Fix a few memory leaks
7 years ago
jsteube 12d95fd22c Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube 9d92100a57 Move no-rules check to interface.c so that interface.c is the only source where pw_min and pw_max are set
7 years ago
jsteube 54b7505473 Add host modifications for -a 0 in combination with -L and modify an example kernel
7 years ago
jsteube f7a8e7c54b Multiple changes:
7 years ago
jsteube 922fea7616 Add more integer overflow checks
7 years ago
jsteube a9b0f1a559 Wordlists: Fixed memory leak in case access a file in a wordlist folder fails
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 17548d3ee8 Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
7 years ago
Rosen Penev 5c0bd0a15f
Remove strerror in favor of thread safe %m
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 f234f729f5 Fix the rejection of words in a wordlist if it's exactly of length 32
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
jsteube d7c019b583 Rename some variable naming in straight.c
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 bea228dabe Add straight_ctx_update_loop()
8 years ago
jsteube 29942f5fb3 Update rp.c function parameters
8 years ago
jsteube 077a94600d Update straight.c function parameters
8 years ago
jsteube fb5d840cf8 Move wordlist folder scan to straight.c and combinator.c init functions
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 d2877b95e4 Automatically disable most features in case -I is used
8 years ago
jsteube bb31d0a917 Make straight support modular
8 years ago
jsteube e12abeb9de Add inner2_loop()
8 years ago
jsteube c71f1bfb0c Introduct combinator_ctx_t
8 years ago
jsteube 67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago