Commit Graph

48 Commits (master)

Author SHA1 Message Date
philsmd 9bc2a36d63
fixes #3253: memory leak in cpu rule engine
2 years ago
Jens Steube f4e52ca533 Add new rule function '3' to switch the case of the first letter after occurrence N of char X
3 years ago
Rosen Penev fd8150769d Add casts where needed in C++ mode
5 years ago
philsmd 42b3848698
fixes #2026: rule engine hex interpretation problem
5 years ago
jsteube ffd8ec9001 Fixed output password of 'e' rule in pure and cpu rule engine if separator character is also the first letter
5 years ago
jsteube 634dd71384 Remove some suppressed warnings
6 years ago
jsteube 9d43111730 Fix broken hex notation
6 years ago
magnum 4e28d85e3e Mute a macOS -Wpointer-sign warning.
6 years ago
jsteube b88c956d97 Rule Engine: Add JtR compatible support for hex notations in rule engine
6 years ago
Rosen Penev 8458f07a57 Replace char[] with *char
7 years ago
Rosen Penev 3ba84f17f1 More clang tidy fixes
7 years ago
Rosen Penev 4165f94e51 Change memcpy to memmove since it overlaps
7 years ago
jsteube 719f2656b1 Fix empty line check in _old_apply_rule()
7 years ago
jsteube f5ee3db5a6 Update cpu rule engine to support passwords up to length 256
7 years ago
mhasbini 1330424079 Add support for rejection rule _N
7 years ago
mhasbini be0dec621a Add support for rule position 'p' in host mode
7 years ago
mhasbini 5734741392 Add support for rule: eX
7 years ago
mhasbini a415ec7afb fix rule 'i' in host mode in case pos = length
7 years ago
jsteube d069c980d0 Testfix for CID 1402439 (#1 of 1): Out-of-bounds read
7 years ago
jsteube 958ca90132 Test failed to workaround coverity false-positive
7 years ago
jsteube 231592101e Test commit to workaround coverity false-positive
7 years ago
jsteube edb7ae5658 Fixed rule 'O' (RULE_OP_MANGLE_OMIT) in host mode in case the offset + length parameter equals the length of the input word
7 years ago
jsteube 9e947b64ec Fix some code in rp_cpu.c to make cppcheck happy
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
jsteube 9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube b4aebe6c23 Replaced rp_cpu macros with real functions
8 years ago
jsteube ebe9f1c07f Prepare for rules_ctx_t
8 years ago
jsteube d3d9b4e679 Reduce max. number of allowed function calls per rule from 256 to 32 to save GPU memory
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 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 e304eed8c5 Move wordlist specific functions into their own source file
8 years ago
jsteube 515f22626a Cleanup rp_cpu.c
8 years ago
jsteube 6aee697112 Cleanup some macro values
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
jsteube ac3de4a57e Fix CPU_ISSET() access for apple
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