philsmd
a24d723d66
minor code style fixes
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
e83611742d
Brain Session: Adds hashconfig specific opti_type and opts_type parameters to hashcat session computation to cover features like -O and -M
3 years ago
Jens Steube
d6042035fc
Merge pull request #2870 from jtojanen/fixes
...
Avoid deadlocks in brain server
3 years ago
Jukka Ojanen
d93d130b6d
Avoid deadlocks in brain server
3 years ago
Jens Steube
f146a05878
Added option --markov-inverse to inverse markov statistics, with the idea of reversing the order of the password candidates
3 years ago
Jens Steube
dcaba1f473
Brain: Add brain_ctx_t to hashcat_ctx_t to enable runtime check if hashcat was compiled with brain support
3 years ago
Jens Steube
04d5e5a119
New Attack-Mode: Association Attack. Like JtR's single mode. Very early
...
stage. See hashcat Forum for detailed writeup.
4 years ago
Jens Steube
dc9f4e993a
Fix for #2387 , but need some testing first
4 years ago
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
4 years ago
Jens Steube
d5cd0a0030
Fix invalid brain session id calculation and move sorting functions to shared.c
4 years ago
Jens Steube
08ea00020a
Fixed calculation of brain-session ID, only the first hash of the hashset was taken into account
4 years ago
philsmd
c826558b49
fixes #2271 : added --brain-server-timer for scheduled backup time
5 years ago
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
5 years ago
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.
5 years ago
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
...
Removes casts where the type is identical.
5 years ago
Gabriele Gristina
e77d6e947c
(brain) remove unused *rc* vars and cleanup
5 years ago
Gabriele Gristina
4b871646fe
fix some memory leaks
5 years ago
Jens Steube
a7fd1e40f8
Merge pull request #2075 from matrix/zlib_support_2
...
Add zlib support for loading hashlist/wordlist (v2)
5 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
caf34e0e83
Fix some *print* format arguments
5 years ago
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
5 years ago
Gabriele Gristina
c2e634c426
switch is_gzip from short to bool
5 years ago
Gabriele Gristina
481c752456
No more compress functions, update example.dict.gz, remove some comments
5 years ago
Gabriele Gristina
398c89c75c
switch almost all FILE ops, potfile is the only missing
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
218322f630
Support for inline VeraCrypt PIM Brute-Force
6 years ago
jsteube
d2d1278bf7
Reenable brain support by default
6 years ago
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
6 years ago
jsteube
26033e5787
Make use of return length from ascii_digest instead of calling strlen()
6 years ago
jsteube
704f353395
Update brain.c hash_mode access
6 years ago
jsteube
a81a566121
Remove hashcat_ctx requirement in ascii_digest()
6 years ago
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.
6 years ago
Jens Steube
a5e8818805
Start client index from 1 instead of 0
6 years ago
Jens Steube
fde9b86962
Fix invalid initialization for client_idx not present in 5.0.0
6 years ago
Jens Steube
a4a9d29420
Fixed calculation of brain-attack if a given wordlist has the size zero
...
Fixes https://github.com/hashcat/hashcat/issues/1756
6 years ago
Jens Steube
175fea4094
Fixed out-of-bounds write in short-term memory of the brain-server
6 years ago
Jens Steube
3b8abb7f0d
Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system
6 years ago
Jens Steube
573454cc5e
Remove client_fd initializer
6 years ago
Jens Steube
2fbd711495
Move WSAStartup() call back to user_options
6 years ago
Jens Steube
80737b1f8d
Some brain logging fixes
6 years ago
Jens Steube
61ded2bd54
Fixed missing call to WSAStartup() and client indexing in order to start the brain server on windows
6 years ago
R. Yushaev
9951e9580d
Fix duplicate brain status bug
6 years ago
Jens Steube
915da5fee3
Some fixes for macOS
6 years ago
Jens Steube
d6fe2c7cd4
The hashcat brain
6 years ago