Jens Steube
a0284b8378
Fixed invalid use of --hex-wordlist if encoded wordlist string is larger than length 256
5 years ago
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
...
Removes casts where the type is identical.
5 years ago
Rosen Penev
98e17d5774
Run through clang-tidy's readability-uppercase-literal-suffix
...
1 and l are visually similar and can be confused. This also changes u to U
for consistency.
5 years ago
Gabriele Gristina
278cd66775
(dispatch) remove unused *rc* vars and cleanup
5 years ago
Gabriele Gristina
4b871646fe
fix some memory leaks
5 years ago
Gabriele Gristina
3d39d2fc91
update all HCFILE vars and related code
5 years ago
Gabriele Gristina
2db6dfcd4e
fix HCFILE with potfile BUG and something else related to HCFILE wrong usage
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
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
Jens Steube
08dc1acc02
More CUDA rewrites
5 years ago
Jens Steube
e3500ff4aa
Add CUDA device attributes to -I
5 years ago
Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
5 years ago
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
5 years ago
jsteube
1537fc4e5d
Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning)
5 years ago
jsteube
5da1e4b872
Fixed maximum password length limit which was announced as 256 but actually was 255
5 years ago
Jens Steube
ff6e403703
Fixed ignoring --brain-client-features configuration in case brain-server has attack positions informations from a previous run
6 years ago
Jens Steube
d6fe2c7cd4
The hashcat brain
6 years ago
jsteube
d96b649751
Add support for -a 1 in -S mode
6 years ago
Jens Steube
4a9171ca5d
Fix use of select() on stdin on windows
...
Fixes #1705
6 years ago
philsmd
73ed017daf
stdin: add read timeout checks (abort if no input for a long time)
6 years ago
Rosen Penev
77daf05dd0
Add HC_API_CALL to a few functions
...
On 32-bit MinGW, clang was throwing errors about this.
64-bit MinGW and regular MSYS does not throw warnings after the change.
6 years ago
jsteube
d6ed195db9
Add -a 1 support for slow candidates mode
6 years ago
jsteube
fd71da8ade
Add timeout to fgets() for later use
6 years ago
jsteube
52c52836e3
Add new option --slow-candidates which allows hashcat to generate passwords on-host
6 years ago
jsteube
82457d2904
Fixed a missing check for errors on OpenCL device leading to invalid removal of restore file
6 years ago
jsteube
91e522d094
Add special marker for speed only mode
6 years ago
jsteube
05a01d3843
fix some datatypes
6 years ago
jsteube
a3a16f676f
OpenCL Kernels: Add a decompressing kernel and a compressing host code in order to reduce PCIe transfer time
...
For details see https://hashcat.net/forum/thread-7267.html
6 years ago
jsteube
11b18512c7
Terminal: Add workitem settings to status display (can be handy for debugging)
6 years ago
Rosen Penev
3ba84f17f1
More clang tidy fixes
7 years ago
jsteube
bfd3c57308
Fixed a calculation error in get_power() leading to errors of type "BUG pw_add()!!"
7 years ago
Jens Steube
a037ba0c73
Merge pull request #1375 from neheb/warning
...
Fix for clang and some cppcheck warnings
7 years ago
Rosen Penev
da621fa3be
fix some clang -Weverything warnings
7 years ago
jsteube
57a70710ae
Small wordlist loading performance optimization
7 years ago
jsteube
0846b33f52
Fixed an invalid progress value in status view if words from the base wordlist get rejected because of length
7 years ago
jsteube
f5ee3db5a6
Update cpu rule engine to support passwords up to length 256
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
Jens Steube
7cabb848d2
Wordlist encoding: Support added for internal convert from and to user-defined encoding during runtime
...
Wordlist encoding: Added parameters --encoding-from and --encoding-to to configure wordlist encoding handling
Dictstat: Structure for dictstat file changed as it has to include --encoding-from and --encoding-to parameter now
7 years ago
jsteube
cdfabe333f
Fixed pointer to local outside scope when using -j or -k
7 years ago
jsteube
dc2ecc9dae
Fixed pointer to local outside scope when using -j or -k
7 years ago
jsteube
291c1bcdd2
Dispatcher: Fixed several memory leaks when an OpenCL error occurs
7 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.
7 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