jsteube
2d3ebf1d4e
Add global dynamic-x hash mode extraction function
2023-11-08 14:43:45 +00:00
Rosen Penev
a55d4aa3c9
fix prototypes and old declarations
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 21:13:12 -07:00
Rosen Penev
2e7085f9a7
silence clang32/64 warning about sign comparisons
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-09 17:39:27 -07:00
Flagg
d4a58b5fe5
Fix get_random_num function to be inclusive of max parameter
...
The get_random_num function does not currently include the max parameter. This causes issues such as the tilde character not being generated with random rule generation. This makes the max parameter value inclusive.
2023-05-19 23:44:32 -04:00
Gabriele Gristina
01f20c84f9
Added verification of token buffer length when using TOKEN_ATTR_FIXED_LENGTH
2023-05-13 20:38:56 +02:00
Gabriele Gristina
27938ef803
verify separator also with TOKEN_ATTR_FIXED_LENGTH (part 2)
2023-04-23 02:04:02 +02:00
Gabriele Gristina
0d992a9ea3
verify separator also with TOKEN_ATTR_FIXED_LENGTH
2023-04-23 01:41:00 +02:00
Gabriele Gristina
0f9007dd3e
Merge branch 'master' into fix_tokenizer_TOKEN_ATTR_FIXED_LENGTH
2023-04-21 20:02:05 +02:00
Gabriele Gristina
2adf735e51
Fixed bug in input_tokenizer when TOKEN_ATTR_FIXED_LENGTH is used and refactor modules
2023-04-11 19:34:01 +02:00
Gabriele Gristina
7eee4931bb
Fixed display problem of the 'Optimizers applied' list for algorithms using OPTI_TYPE_SLOW_HASH_SIMD_INIT2 and/or OPTI_TYPE_SLOW_HASH_SIMD_LOOP2
2023-04-11 19:07:02 +02:00
jsteube
c8dd3d63e9
Add new category for application database and move new -m 31400 to it
2023-03-20 11:22:34 +00:00
justpretending
c2fcef6c50
Support for FIFO outfiles ( fixes #3582 )
2023-01-31 14:02:26 +07:00
jsteube
17b2e9062b
Prevent Hashcat from hanging by checking during startup that the output file is a named pipe
2023-01-19 15:54:26 +00:00
jsteube
7668ec5865
Prepare file_to_buffer() for later use
2022-08-07 20:36:08 +00:00
philsmd
22e033020a
Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address
2022-06-20 15:25:34 +02:00
philsmd
754038ad16
fixes #3090 closes #3091 : Added -m 2850x = Bitcoin WIF/P2PKH private key cracking
2022-06-11 11:44:05 +02:00
philsmd
e00af46a22
add Register-Limit to the "Optimizers" list
2022-03-09 18:23:10 +01:00
Gabriele Gristina
861e644057
OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon
2021-12-24 17:30:49 +01:00
Jens Steube
5015bc0d2e
Module Parser: Renamed struct token_t to hc_token_t to avoid naming conflict with token_t on MacOS
2021-12-20 13:19:40 +01:00
Jens Steube
5e61ebf988
Update hash categories, keep them all singular
2021-10-14 08:56:23 +02:00
Jukka Ojanen
3bc7b6af90
Avoid directly accessing file handle
2021-08-21 14:29:10 +03:00
Jens Steube
b301a6746f
Initialize struct stat s ourself because clang sanitizer thinks it's unknown if the structure is initialized in full by stat() call
2021-08-06 13:29:27 +02:00
Jens Steube
6bcbc218d6
Fixed out-of-boundary read in input_tokenizer() if the signatures in the hash line is longer than the constant signature in the plugin
2021-08-01 10:21:21 +02:00
Rosen Penev
adaf3f293b
make const char pointers actually const
...
const char* is a non const pointer that points to const data. Add
missing const.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-22 18:13:46 -07:00
Jens Steube
254e33c473
File handling: Do not abort on seeing a BOM in input files, just warn and ignore the BOM
2021-06-29 20:42:22 +02:00
Bjoern Kerler
6430b7ab71
Fix FBE description
2021-06-10 20:09:03 +02:00
Jens Steube
72d1937fe7
Modules: Added hash categories HASH_CATEGORY_IMS and HASH_CATEGORY_CRYPTOCURRENCY_WALLET
2021-06-05 15:32:28 +02:00
Jens Steube
0b52409590
Modules: Recategorized HASH_CATEGORY option in various modules
2021-05-28 20:06:01 +02:00
Jens Steube
0ba77fe761
Kernel Development: Kernel cache is disabled automatically in casehashcat is compiled with DEBUG=1
...
See https://github.com/hashcat/hashcat/issues/2750
2021-04-26 09:51:50 +02:00
Gabriele Gristina
54df7d53ea
Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM
2020-12-25 04:50:18 +01:00
Jens Steube
6cec2664bc
Add new category HASH_CATEGORY_PRIVATE_KEY
2020-07-30 12:25:46 +02:00
Jens Steube
4aaec30ada
Merge pull request #2404 from philsmd/master
...
use our safe free () wrapper hcfree whenever possible
2020-06-02 12:34:19 +02:00
Jens Steube
bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
...
Add some more generic error messages
2020-05-26 13:25:36 +02:00
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible
2020-05-14 19:21:59 +02:00
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
2020-05-12 08:54:26 +02:00
Jens Steube
f9e4dc0db1
Remove sort_by_string(), no longer needed
2020-05-11 12:00:26 +02:00
Jens Steube
d5cd0a0030
Fix invalid brain session id calculation and move sorting functions to shared.c
2020-05-11 11:52:36 +02:00
Matt Palmer
b25c8d9a5a
Add some more generic error messages
...
These are almost all taken from error messages that are specific to one
particular module, and turned into generic errors that can be used for any
module. It seemed like a better idea to provide generic messages than to
encourage infinite proliferation of error codes (which would probably end up
blowing the 255 value threshold sooner or later). It doesn't seem necessary
to provide module-specific error messages for things like "Invalid <X>
filesize", since users should already know what sort of file they're asking
to be parsed.
2020-04-23 12:36:15 +10:00
Jens Steube
9957422191
Add tokenizer option TOKEN_ATTR_SEPARATOR_FARTHEST as an option to deal with hash formats where separator character could be part of the salt data itself and at the same time does not allow escape character logic to be applied. This can only work if it is guaranteed by the design of the hash format that the separator character does not occur after the position of the separator character.
2020-02-19 10:35:44 +01:00
Jens Steube
a63aa679d3
Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category
2019-11-26 17:16:18 +01:00
Jens Steube
c12470b978
Merge pull request #2188 from neheb/cast
...
Add casts where needed in C++ mode
2019-11-05 12:28:21 +01:00
Jens Steube
d71afd6d7a
Prepare new --hook-threads feature
2019-11-02 10:29:34 +01:00
Jens Steube
b197610811
Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT
2019-10-02 14:18:26 +02:00
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00
Jens Steube
417a1f6592
Add new hash-mode category 'framework'
2019-08-12 11:25:21 +02:00
Rosen Penev
df618e861e
Run through Clang's performance-type-promotion-in-math-fn
...
Only changed log2 to log2f. Rightly so.
2019-08-03 22:37:38 -07:00
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
...
Removes casts where the type is identical.
2019-08-03 22:37:38 -07:00
Rosen Penev
2f76326c37
Run through Clang's android-cloexec checkers
...
This is mainly useful with SELinux.
2019-08-03 22:37:37 -07:00
Gabriele Gristina
b54ad7981f
update repo and re-apply zip patch
2019-07-29 18:42:50 +02:00
Gabriele Gristina
d0ec5c7b77
move hc_* file functions from shared.c/.h to filehandling.c/.h
2019-07-13 00:20:41 +02:00