Commit Graph

134 Commits (master)

Author SHA1 Message Date
jsteube 297a64de8b Fix fread() on windows when loading the LZMA hcstat
7 years ago
jsteube 7ca8ca241b Use hc_lzma2_decompress() instead of Lzma2Decode() directly
7 years ago
jsteube a993395f28 Add code to read LZMA compressed hashcat.hcstat2
7 years ago
jsteube c59432a760 Add hcstat2 support to enable masks of length up to 256, also adds a filetype header
7 years ago
jsteube b8ad89c529 Rename function and variables containing 'unicode' to 'utf16le' because that's what's meant actually
7 years ago
jsteube 018bb208d9 Refactor OPTS_TYPE_PT_UNICODE -> OPTS_TYPE_PT_UNICODE_LE and add OPTS_TYPE_PT_UNICODE_BE
7 years ago
Royce Williams 067372f5ce more event_log_* standardization
7 years ago
jsteube 4e2adc031a Add some compiler independant integer overflow functions
7 years ago
jsteube 922fea7616 Add more integer overflow checks
7 years ago
jsteube 080131c86e Use type independant __builtin_mul_overflow()
7 years ago
jsteube 62bc8689b7 Mask Checks: Added integer overflow detection for a keyspace of a mask provided by user
7 years ago
philsmd 437289c41e
mp: memory checks added to avoid leaks
7 years ago
jsteube 1fc24cbcd3 Mask Increment: Fixed memory leak in case mask_append() fails
7 years ago
jsteube 53d6808794 Fixed pointer to local outside scope when using not specifying --markov-hcstat
7 years ago
jsteube dc4f96f42e Fixed string not null terminated when reading maskfiles
7 years ago
jsteube 85aba06e6f Renamed some variables which 'shadow' another variable or function
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
jsteube ada22000b5 Fixes https://github.com/hashcat/hashcat/issues/932
8 years ago
jsteube 24a3aff5ea Fixed mask length check in hybrid attack-modes: Do not include hash-mode dependant mask length checks
8 years ago
jsteube 767ad440b2 Fixed custom char parsing code in maskfiles in --increment mode: Custom charset wasn't used
8 years ago
Rosen Penev 5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
Rosen Penev f5f17997b2 Fix cppcheck warnings
8 years ago
jsteube 90b9d5c12c Fix some potential resource leaks in case of an error
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 ef69aa8aef Fix some code in mpsp.c to make cppcheck happy
8 years ago
jsteube 3da0232ead Remove some code which was already moved from mpsp.c to interface.c
8 years ago
jsteube bf69afce90 Fix some error check in mpsp.c
8 years ago
jsteube d54c838bda Some better error messages for custom charset file
8 years ago
jsteube d0f7fee029 Fixed a bug when loading custom charset from file
8 years ago
unix-ninja ca0bc3fc19 Fix cp_sys type def and add ?H charset
8 years ago
unix-ninja 5f11231238 Add hex charset (?h) to mpsp
8 years ago
jsteube 1c8847499d Fix -i loop if mask is shorter than increment_max or pw_max
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
Gabriele Gristina 6bf5ee95a6 Fix resource leak
8 years ago
jsteube 9e156321ef Bring back mask length of mask as number to status screen
8 years ago
jsteube c4ba7907ca Fix more EOL issues
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 4ed2fb4913 Add mask_ctx_update_loop()
8 years ago
jsteube a97e31881c Update interface.c function parameters
8 years ago
jsteube 1610a3565c Update mpsp.c function parameters
8 years ago
jsteube 3ac0737b19 Fix mask length check for algorithms using unicode
8 years ago
jsteube 23462528c3 Add mp_css_append_salt() and mp_css_split_cnt()
8 years ago
jsteube 7544adce8f Add mp_css_unicode_expand()
8 years ago
coolbry95 a78fd4e915 changed uint to u32
8 years ago
jsteube 667a8b1d3d Make use of argc/argv easier
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube 892eccfd14 Fix some missing sign conversions
8 years ago
jsteube d2877b95e4 Automatically disable most features in case -I is used
8 years ago
jsteube 4d35b278e8 Make mask support modular
8 years ago
jsteube 814206801a refactor mask_ctx_parse_maskfile()
8 years ago
jsteube c71f1bfb0c Introduct combinator_ctx_t
8 years ago
jsteube edd50de047 Add opencl_session_update_mp() and opencl_session_update_mp_rl()
8 years ago
jsteube 04fb85cf1a Fix bfs_cnt in -i mode
8 years ago
jsteube 0ca4ebe1e6 Do not initialize masks for attack-modes not using masks
8 years ago
jsteube 54a4ea3db2 Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
8 years ago
jsteube d6cfa58dbc data. no longer required in mpsp
8 years ago
jsteube cf0a2c2257 data. no longer required in hlfmt
8 years ago
jsteube b579542db6 Get rid of hex_charset 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 f1835dc7f5 Move more functions to thread.c
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 e25224a940 Move benchmark related stuff to benchmark.c
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube 7f1ecc7cb7 Use hashcat.c configuration macros to get an idea of the remaining features which should move into their own source file
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 e7a95879ac No more need to include shared.h on some sources now
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
jsteube 8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago
Gabriele 'matrix' Gristina b0c6eee06c Fix multiple build issues with OSX
8 years ago
jsteube 3ed4bfd237 Move tuningdb specific functions into their own source file
8 years ago
jsteube 1902e6c2eb Create real cpu_crc32.c and rp_cpu.c
8 years ago
jsteube 21666f77b7 Move maskprocessor and statusprocessor specific functions into their own source file
8 years ago