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.
1 year ago
Gabriele Gristina
01f20c84f9
Added verification of token buffer length when using TOKEN_ATTR_FIXED_LENGTH
1 year ago
Gabriele Gristina
27938ef803
verify separator also with TOKEN_ATTR_FIXED_LENGTH (part 2)
1 year ago
Gabriele Gristina
0d992a9ea3
verify separator also with TOKEN_ATTR_FIXED_LENGTH
1 year ago
Gabriele Gristina
0f9007dd3e
Merge branch 'master' into fix_tokenizer_TOKEN_ATTR_FIXED_LENGTH
1 year ago
Gabriele Gristina
2adf735e51
Fixed bug in input_tokenizer when TOKEN_ATTR_FIXED_LENGTH is used and refactor modules
1 year ago
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
1 year ago
jsteube
c8dd3d63e9
Add new category for application database and move new -m 31400 to it
2 years ago
justpretending
c2fcef6c50
Support for FIFO outfiles ( fixes #3582 )
2 years ago
jsteube
17b2e9062b
Prevent Hashcat from hanging by checking during startup that the output file is a named pipe
2 years ago
jsteube
7668ec5865
Prepare file_to_buffer() for later use
2 years ago
philsmd
22e033020a
Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address
2 years ago
philsmd
754038ad16
fixes #3090 closes #3091 : Added -m 2850x = Bitcoin WIF/P2PKH private key cracking
2 years ago
philsmd
e00af46a22
add Register-Limit to the "Optimizers" list
3 years ago
Gabriele Gristina
861e644057
OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon
3 years ago
Jens Steube
5015bc0d2e
Module Parser: Renamed struct token_t to hc_token_t to avoid naming conflict with token_t on MacOS
3 years ago
Jens Steube
5e61ebf988
Update hash categories, keep them all singular
3 years ago
Jukka Ojanen
3bc7b6af90
Avoid directly accessing file handle
3 years ago
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
3 years ago
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
3 years ago
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>
3 years ago
Jens Steube
254e33c473
File handling: Do not abort on seeing a BOM in input files, just warn and ignore the BOM
3 years ago
Bjoern Kerler
6430b7ab71
Fix FBE description
3 years ago
Jens Steube
72d1937fe7
Modules: Added hash categories HASH_CATEGORY_IMS and HASH_CATEGORY_CRYPTOCURRENCY_WALLET
3 years ago
Jens Steube
0b52409590
Modules: Recategorized HASH_CATEGORY option in various modules
3 years ago
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
3 years ago
Gabriele Gristina
54df7d53ea
Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM
4 years ago
Jens Steube
6cec2664bc
Add new category HASH_CATEGORY_PRIVATE_KEY
4 years ago
Jens Steube
4aaec30ada
Merge pull request #2404 from philsmd/master
...
use our safe free () wrapper hcfree whenever possible
4 years ago
Jens Steube
bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
...
Add some more generic error messages
4 years ago
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible
4 years ago
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
4 years ago
Jens Steube
f9e4dc0db1
Remove sort_by_string(), no longer needed
4 years ago
Jens Steube
d5cd0a0030
Fix invalid brain session id calculation and move sorting functions to shared.c
4 years ago
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.
4 years ago
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.
5 years ago
Jens Steube
a63aa679d3
Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category
5 years ago
Jens Steube
c12470b978
Merge pull request #2188 from neheb/cast
...
Add casts where needed in C++ mode
5 years ago
Jens Steube
d71afd6d7a
Prepare new --hook-threads feature
5 years ago
Jens Steube
b197610811
Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT
5 years ago
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
5 years ago
Jens Steube
417a1f6592
Add new hash-mode category 'framework'
5 years ago
Rosen Penev
df618e861e
Run through Clang's performance-type-promotion-in-math-fn
...
Only changed log2 to log2f. Rightly so.
5 years ago
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
...
Removes casts where the type is identical.
5 years ago
Rosen Penev
2f76326c37
Run through Clang's android-cloexec checkers
...
This is mainly useful with SELinux.
5 years ago
Gabriele Gristina
b54ad7981f
update repo and re-apply zip patch
5 years ago
Gabriele Gristina
d0ec5c7b77
move hc_* file functions from shared.c/.h to filehandling.c/.h
5 years ago
Gabriele Gristina
ea786f715f
avoid logical negation operator
5 years ago
Gabriele Gristina
4b9fdc6b97
try remove warning about unused return value of read
5 years ago
Gabriele Gristina
3161aec3da
fix the comments :)
5 years ago