Gabriele Gristina
3064c63c71
User Options: Change --backend-info/-I option type, from bool to int
2022-02-13 12:33:11 +01:00
Jens Steube
cb93875c32
Disabled checking of the minimum and maximum length of the password candidate in attack-mode 9 because they are incompatible
2021-08-30 14:34:56 +02:00
Jens Steube
05f107cbe5
Added option --generate-rules-func-sel to specify a pool of operators that the random rule generator is allowed to pick from
2021-08-14 11:43:32 +02: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
Royce Williams
7bea7ca177
tighten output to be physical-terminal friendly
2021-06-06 10:47:18 -08:00
Jens Steube
2f99ea8595
Fixed error message in -a 9 mode with rules in case number of words from wordlist are not in sync with number of unique salts
2021-06-02 19:43:44 +02:00
Gabriele Gristina
77e328d659
Removed option --example-hashes, now is an alias of --hash-info
2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840
Added new option: --hash-info
2020-12-29 04:58:58 +01:00
Jens Steube
04d5e5a119
New Attack-Mode: Association Attack. Like JtR's single mode. Very early
...
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
Gabriele Gristina
48ca028714
(straight) remove unused *rc* vars and cleanup
2019-07-13 07:16:03 +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
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
3c4f4df771
Rename some more variables
2019-05-01 15:52:56 +02:00
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
2019-03-31 17:39:00 +02:00
jsteube
cd0923f1b8
General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile
2018-07-30 13:23:48 +02:00
Rosen Penev
51a5e1cc51
Fix a few memory leaks
2017-11-04 23:20:36 -07:00
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
2017-08-22 11:09:46 +02:00
jsteube
9d92100a57
Move no-rules check to interface.c so that interface.c is the only source where pw_min and pw_max are set
2017-07-17 15:27:03 +02:00
jsteube
54b7505473
Add host modifications for -a 0 in combination with -L and modify an example kernel
2017-07-12 13:00:04 +02:00
jsteube
f7a8e7c54b
Multiple changes:
...
* Added more preparations to support to crack passwords and salts up to length 256
* Added option --length-limit-disable to disable optimization based on password- and salt-length
* Added option --self-test-disable to disable self-test functionality on startup
2017-06-29 12:19:05 +02:00
jsteube
922fea7616
Add more integer overflow checks
2017-02-22 16:33:23 +01:00
jsteube
a9b0f1a559
Wordlists: Fixed memory leak in case access a file in a wordlist folder fails
2017-02-14 15:47:41 +01:00
Rosen Penev
a3d04a40b0
Fix more cppcheck warnings
2017-02-10 16:10:21 -08:00
Rosen Penev
2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
...
The BSDs just print m instead of the actual error message. Benefit
is not worth the cost.
2017-02-03 17:53:50 -08:00
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
2017-01-27 11:46:45 +01:00
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
2016-12-02 21:26:10 -08:00
jsteube
ea4fd1de50
Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
2016-11-20 22:54:52 +01:00
jsteube
f234f729f5
Fix the rejection of words in a wordlist if it's exactly of length 32
...
This fixes https://github.com/hashcat/hashcat/issues/502
2016-10-31 16:11:52 +01:00
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
2016-10-31 11:28:06 +01:00
jsteube
d7c019b583
Rename some variable naming in straight.c
2016-10-29 23:12:18 +02:00
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
2016-10-13 10:07:04 +02:00
jsteube
af9de0a7b7
Fix some error string formats
2016-10-11 10:55:02 +02:00
jsteube
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
2016-10-10 11:03:11 +02:00
jsteube
27bec8be13
Get rid of logging.c and most exit() calls replaced with return() for true library usage
2016-10-09 22:41:55 +02:00
jsteube
bea228dabe
Add straight_ctx_update_loop()
2016-10-06 22:18:20 +02:00
jsteube
29942f5fb3
Update rp.c function parameters
2016-10-06 21:03:10 +02:00
jsteube
077a94600d
Update straight.c function parameters
2016-10-06 10:21:39 +02:00
jsteube
fb5d840cf8
Move wordlist folder scan to straight.c and combinator.c init functions
2016-10-03 16:27:34 +02:00
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
2016-10-02 00:00:21 +02:00
jsteube
af1701c765
Fix some memleaks on shutdown
2016-09-30 13:36:27 +02:00
jsteube
d2877b95e4
Automatically disable most features in case -I is used
2016-09-30 13:14:11 +02:00
jsteube
bb31d0a917
Make straight support modular
2016-09-30 12:45:10 +02:00
jsteube
e12abeb9de
Add inner2_loop()
2016-09-29 14:46:51 +02:00
jsteube
c71f1bfb0c
Introduct combinator_ctx_t
2016-09-27 18:32:09 +02:00
jsteube
67dd2e9b67
Separate rules and straight mode from each other, remove rules_ctx_t
2016-09-27 13:13:07 +02:00