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
Gabriele Gristina
ea786f715f
avoid logical negation operator
2019-07-02 15:52:17 +02:00
Gabriele Gristina
4b9fdc6b97
try remove warning about unused return value of read
2019-07-01 17:57:44 +02:00
Gabriele Gristina
3161aec3da
fix the comments :)
2019-07-01 17:27:08 +02:00
Gabriele Gristina
5679ca3344
Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
2019-07-01 01:30:24 +02:00
Gabriele Gristina
e86cbf426a
add workaround for zlib with cygwin build (v2)
2019-06-29 14:46:33 +02:00
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
2019-06-28 17:58:08 +02:00
Gabriele Gristina
c2e634c426
switch is_gzip from short to bool
2019-06-27 23:51:54 +02:00
Gabriele Gristina
481c752456
No more compress functions, update example.dict.gz, remove some comments
2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c
switch almost all FILE ops, potfile is the only missing
2019-06-26 19:06:46 +02:00
Gabriele Gristina
b2529af172
remove original commented code
2019-06-22 15:00:50 +02:00
Gabriele Gristina
6cb4abd526
Add zlib support v2
2019-06-21 21:56:38 +02:00
Jens Steube
62d5d2dfbb
OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR environment variable
2019-06-17 17:35:23 +02:00
Sein Coray
301b5b9777
added parser message for pkzip hashes which have unsupported compression type for kernel
2019-05-17 15:42:13 +02:00