Gabriele Gristina
36606addac
Help: show supported hash-modes only with -hh
1 year ago
Gabriele Gristina
3064c63c71
User Options: Change --backend-info/-I option type, from bool to int
3 years ago
Gabriele Gristina
77e328d659
Removed option --example-hashes, now is an alias of --hash-info
4 years ago
Gabriele Gristina
3ed1f0d840
Added new option: --hash-info
4 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
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
Gabriele Gristina
f4a567a01d
remove redundant fclose
5 years ago
Jens Steube
3c4f4df771
Rename some more variables
5 years ago
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
6 years ago
jsteube
d6ed195db9
Add -a 1 support for slow candidates mode
6 years ago
jsteube
52c52836e3
Add new option --slow-candidates which allows hashcat to generate passwords on-host
6 years ago
Jens Steube
9b1e66d87c
Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads
7 years ago
Rosen Penev
8458f07a57
Replace char[] with *char
...
The latter is more correct. The side effect is that filesize becomes smaller.
gcc clang
before
O2
756112 762120
Os
674192 680216
after
O2
748456 760728
Os
666536 674728
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
beb6ee2061
Add OPTI_TYPE_OPTIMIZED_KERNEL
...
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
7 years ago
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
7 years ago
jsteube
f97c0d38d7
Allow using -L with -a 7 (other modes need no modification) for fast hashes
7 years ago
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
7 years ago
Royce Williams
067372f5ce
more event_log_* standardization
8 years ago
jsteube
922fea7616
Add more integer overflow checks
8 years ago
Rosen Penev
a3d04a40b0
Fix more cppcheck warnings
8 years ago
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.
8 years ago
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
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.
8 years ago
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
8 years ago
jsteube
3442892fda
Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings
8 years ago
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube
af9de0a7b7
Fix some error string formats
8 years ago
jsteube
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube
ebc8eb7454
switch combinator.c to event_log_*
8 years ago
jsteube
a5e83c27c3
Update wordlist.c function parameters
8 years ago
jsteube
d9c1c89a57
Update combinator.c function parameters
8 years ago
jsteube
15d2f9b11e
Add some reserved scratch buffer for innerloop combinator instead of reallocating each time
8 years ago
jsteube
fb5d840cf8
Move wordlist folder scan to straight.c and combinator.c init functions
8 years ago
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube
af1701c765
Fix some memleaks on shutdown
8 years ago
jsteube
d2877b95e4
Automatically disable most features in case -I is used
8 years ago
jsteube
8034fb31b8
Make bitmaps, cracks-per-time and debugfile support modular
8 years ago
jsteube
f1cf902c35
Add missing combinator files
8 years ago