Commit Graph

227 Commits (master)

Author SHA1 Message Date
Jens Steube d5cd0a0030 Fix invalid brain session id calculation and move sorting functions to shared.c
4 years ago
Matt Palmer b4204d265d Allow module_hash_binary_parse to report a fatal error
4 years ago
Jens Steube f1d4260983 Fix missing hc_unlockfile()
4 years ago
Jens Steube 84209dd2ff Fix buffer overflow in src/hashes.c
4 years ago
Jens Steube 2884bded32 Initialize some variable to make scan-build happy
5 years ago
Jens Steube 6adc217bae Keep output of --show and --left in the original ordering of the input hash file
5 years ago
Rosen Penev bd6c0e57e4 Change 0/1 to true/false
5 years ago
Jens Steube 97c9e86d15 Filehandling: Print a truncation warning in case an oversized line was detected
5 years ago
Rosen Penev ab061ba761
Run Clang's bugprone-narrowing-conversions
5 years ago
Gabriele Gristina 6940f11b15 fix buffer overflow in build_plain()
5 years ago
Gabriele Gristina ea44f1a186 Fix outfile bug
5 years ago
Gabriele Gristina 3d39d2fc91 update all HCFILE vars and related code
5 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
Jens Steube 08dc1acc02 More CUDA rewrites
5 years ago
Jens Steube 50a6e720ca More OpenCL variables rename
5 years ago
Jens Steube af8e317cf4 Begin renaming some OpenCL only variables
5 years ago
Jens Steube 3c4f4df771 Rename some more variables
5 years ago
Jens Steube 4b986de5fb Prepare native CUDA hybrid integration
5 years ago
jsteube 13edc32fb4 Fix some unused variable warnings
5 years ago
jsteube c0a31b3239 Prepare potfile specific module_hash_decode and module_hash_encode hooks
5 years ago
jsteube 319bf80178 Fix hash_encode() salt position
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
jsteube 2158fd70c9 Fix use of OPTS_TYPE_COPY_TMPS in modules
5 years ago
jsteube d80603648e Replace plain_t with void in module_build_plain_postprocess() enables some options
5 years ago
jsteube ba56f41d26 Abort session if module_hash_binary_count () returns zero
5 years ago
jsteube 218322f630 Support for inline VeraCrypt PIM Brute-Force
5 years ago
jsteube 166f908241 Get rid of some old hack and cleanly distinguish between HL_MODE_FILE_PLAIN and HL_MODE_FILE_BINARY
5 years ago
jsteube 6a33be5ea5 Get rid of module_build_plain_postprocess()
5 years ago
jsteube 62c660afe2 Add -m 14600 module
5 years ago
jsteube 78d2706038 Add -m 8900 module and module_extra_tmp_size()
5 years ago
jsteube 8eb2558a7e Add -m 6211 module and moved some code around
5 years ago
jsteube 2bd55bca74 Add missing hook_salt buffer parameter to decoder/encoder function declaration
5 years ago
jsteube 35265d43f3 Update outfile_check
5 years ago
jsteube 06a5e736b9 Add -m 500 unit test
5 years ago
jsteube 02fe28fe6c Preparation for -m 501
5 years ago
jsteube 91fc5286fa Fix module_hash_binary_parse check
5 years ago
jsteube 17bd76ee62 Use settings from selftest hash for benchmark unless overriden by module hooks
5 years ago
jsteube 26033e5787 Make use of return length from ascii_digest instead of calling strlen()
5 years ago
jsteube 0ae955c5ba With this commit, all hash_mode depending branches from core files are converted into hooks which can be registered on a module level
5 years ago
jsteube 86819c070f Add module_hash_save_binary() and module_hash_init_selftest()
5 years ago
jsteube 54edd16746 Clean up some code
5 years ago
jsteube bbcc8fea29 Use MODULE_DEFAULT in module_init to reference a global default function
5 years ago
jsteube e537197184 Add module_build_plain_postprocess()
5 years ago
jsteube a81a566121 Remove hashcat_ctx requirement in ascii_digest()
6 years ago
jsteube cfc9772e0e Add module_hash_decode_zero_hash()
6 years ago
Jens Steube 3aecd150f9 Call module_hash_encode() in ascii_digest()
6 years ago
Jens Steube 222d76f01e Replace parse_func() with module_hash_decode()
6 years ago
Jens Steube b457f402c6 Fix output of mapped password in status screen
6 years ago
Jens Steube fca4f7e8a6 Prepare to use --keyboard-layout-mapping for algorithms other than TC/VC
6 years ago
Jens Steube ee2854ec2a Support multi-byte characters for TC/VC keyboard layout mapping tables
6 years ago
Jens Steube 5d5ac1c935 Prepare for on-the-fly keyboard layout substituations required to crack booting TrueCrypt/VeraCrypt volumes
6 years ago
Jens Steube b19a03aa84 No need to compute brain_session if --brain-client is not set
6 years ago
Jens Steube d6fe2c7cd4 The hashcat brain
6 years ago
Jens Steube e2a9409413
Merge pull request #1710 from unix-ninja/master
6 years ago
unix-ninja 1809794299 Simplify code in check_hash()
6 years ago
jsteube d96b649751 Add support for -a 1 in -S mode
6 years ago
Jens Steube 8ca4e46f2c Remove some debugging code
6 years ago
Jens Steube a4ac370496 Test fix for plain_t in 32 bit mode
6 years ago
unix-ninja 6558253d72 Don't cause memory leaks...
6 years ago
unix-ninja 8b2af6b207 More code style changes
6 years ago
unix-ninja db4ec8ed2c Fix formatting to comply with hashcat coding guidelines
6 years ago
unix-ninja 977b560bb4 Add support for TOTP (RFC 6238)
6 years ago
philsmd 2933f3320a
outfile check: performance improvement by using binary instead of linear search
6 years ago
jsteube 88ebca40b8 Added hash-mode 16800 = WPA-PMKID-PBKDF2
6 years ago
jsteube 547025ec47 HCCAPX management: Use advanced hints in message_pair stored by hcxtools about endian bitness of replay counter
6 years ago
Jens Steube d656e9c3a4 OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube a7a15df911 OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
jsteube 019ed0de6e Fix double free
6 years ago
jsteube e2654efaa7 Hash Parser: Fixed a memory leak in shutdown phase
6 years ago
Rosen Penev 1c5915cae3 remove special time handling in hashcat.
7 years ago
jsteube ea795ef5ab Move out code to check for hashfile or hash on commandline into dedicated function
7 years ago
philsmd c9b16d76e6
self-tests: always work with copies of the self-test hash
7 years ago
philsmd 425290bf2b
use hc_asprintf () for PR #1451 instead of snprintf ()
7 years ago
philsmd 612a50408c
in case of a parser error we always should include the actual error message even if hash is long
7 years ago
Rosen Penev 353d3c3008 Fix a bunch of cast-qual warnings
7 years ago
Rosen Penev 3ba84f17f1 More clang tidy fixes
7 years ago
jsteube 583849cd23 Fix missing free() for memory allocated with asprintf()
7 years ago
Rosen Penev 4ba19fa7c1 replace more snprintf calls with hc_asprintf.
7 years ago
jsteube 617dbb97ba Prepare migration -m 15800 into -m 2500
7 years ago
jsteube 5551337cf6 Show advice to use optimized kernels only if there's actually one for this hash-mode
7 years ago
jsteube 3b89153c2d Fix use of --hex-salt with SALT_TYPE_GENERIC
7 years ago
jsteube 12d95fd22c Added option --example-hashes to show an example hash for each hash-mode
7 years ago
philsmd e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
jsteube e47506c610 Use pure kernel rule engine for --stdout
7 years ago
jsteube f5ee3db5a6 Update cpu rule engine to support passwords up to length 256
7 years ago
jsteube 03bb234045 Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube fc100a852b Added hash-mode 2501 = WPA/WPA2 PMK
7 years ago
jsteube ad242c2f12 Working example of generic salt up to length 256 for mode 2100
7 years ago
jsteube a673aee037 Very hot commit, continue reading here:
7 years ago
jsteube d7e66996c9 Add support for self-test modes that use a binary hashfile (wpa, tc, vc, etc)
7 years ago
jsteube 94a35ae50a Add support for hooks in selftest function
7 years ago