philsmd
c826558b49
fixes #2271 : added --brain-server-timer for scheduled backup time
2020-01-11 10:46:11 +01:00
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00
Rosen Penev
6dc72ebcc5
Run through Clang's readability-else-after-return
...
There's no need for a return statement in an else path. Just take it out.
Simplifies the code slightly.
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
Gabriele Gristina
e77d6e947c
(brain) remove unused *rc* vars and cleanup
2019-07-13 08:23:12 +02:00
Gabriele Gristina
4b871646fe
fix some memory leaks
2019-07-10 17:27:45 +02:00
Jens Steube
a7fd1e40f8
Merge pull request #2075 from matrix/zlib_support_2
...
Add zlib support for loading hashlist/wordlist (v2)
2019-07-10 10:56:06 +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
caf34e0e83
Fix some *print* format arguments
2019-06-29 17:49:57 +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
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
218322f630
Support for inline VeraCrypt PIM Brute-Force
2019-03-15 21:48:49 +01:00
jsteube
d2d1278bf7
Reenable brain support by default
2019-02-26 15:26:10 +01:00
jsteube
c3630b2f18
Allow modules to change value from user_options->hash_mode to something different in hashconfig->hash_mode. This will be required for modes that can automatically select the right hash_mode for the user for instance LUKS
2019-01-14 19:02:09 +01:00
jsteube
26033e5787
Make use of return length from ascii_digest instead of calling strlen()
2019-01-11 23:11:56 +01:00
jsteube
704f353395
Update brain.c hash_mode access
2019-01-03 14:47:50 +01:00
jsteube
a81a566121
Remove hashcat_ctx requirement in ascii_digest()
2018-12-21 15:58:15 +01:00
R. Yushaev
074fad9fef
Correct buffer size parameter in snprintf calls
...
There are approx. 240 snprintf calls that set the target buffer size to
out_len - 1 or similar. This "mind the null character" subtraction is
unnecessary since snprintf already includes the string termination into
the given buffer size.
2018-12-07 10:37:56 +01:00
Jens Steube
a5e8818805
Start client index from 1 instead of 0
2018-11-12 20:19:59 +01:00
Jens Steube
fde9b86962
Fix invalid initialization for client_idx not present in 5.0.0
2018-11-12 17:10:54 +01:00
Jens Steube
a4a9d29420
Fixed calculation of brain-attack if a given wordlist has the size zero
...
Fixes https://github.com/hashcat/hashcat/issues/1756
2018-11-03 12:20:55 +01:00
Jens Steube
175fea4094
Fixed out-of-bounds write in short-term memory of the brain-server
2018-11-01 11:54:40 +01:00
Jens Steube
3b8abb7f0d
Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system
2018-11-01 11:09:37 +01:00
Jens Steube
573454cc5e
Remove client_fd initializer
2018-10-31 12:06:56 +01:00
Jens Steube
2fbd711495
Move WSAStartup() call back to user_options
2018-10-31 11:14:21 +01:00
Jens Steube
80737b1f8d
Some brain logging fixes
2018-10-31 10:58:52 +01:00
Jens Steube
61ded2bd54
Fixed missing call to WSAStartup() and client indexing in order to start the brain server on windows
2018-10-31 10:50:16 +01:00
R. Yushaev
9951e9580d
Fix duplicate brain status bug
2018-10-29 14:45:35 +01:00
Jens Steube
915da5fee3
Some fixes for macOS
2018-10-28 17:29:39 +01:00
Jens Steube
d6fe2c7cd4
The hashcat brain
2018-10-28 16:47:13 +01:00