Jens Steube
e591b0039b
Fixed invalid handling of outfile folder entries for -m 22000
4 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
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
5 years ago
Jens Steube
97c9e86d15
Filehandling: Print a truncation warning in case an oversized line was detected
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
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
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
3c4f4df771
Rename some more variables
5 years ago
philsmd
7557f884c5
outfile remove: fix hash parsing
...
The feature to add cracks to hashcat.outfiles/ wasn't working correctly with the latest betas because the hash:pass was not split correctly and therefore not correctly passed to the parsing function. The whole line was passed instead of only the hash.
This should fix the problem of splitting the lines and therefore correctly parsing the outfiles.
Thanks
6 years ago
jsteube
3c9d26b161
Add some conditions to make scan-build happy
6 years ago
jsteube
13edc32fb4
Fix some unused variable warnings
6 years ago
jsteube
b8d609ba16
WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes
6 years ago
jsteube
c0a31b3239
Prepare potfile specific module_hash_decode and module_hash_encode hooks
6 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
2bd55bca74
Add missing hook_salt buffer parameter to decoder/encoder function declaration
6 years ago
jsteube
3f2346e951
Support hashes in outfiles in outfile-check folder without password
6 years ago
jsteube
35265d43f3
Update outfile_check
6 years ago
jsteube
02fe28fe6c
Preparation for -m 501
6 years ago
jsteube
bbcc8fea29
Use MODULE_DEFAULT in module_init to reference a global default function
6 years ago
jsteube
3ad6fab63e
Add module_potfile_disable()
6 years ago
jsteube
da30151b70
Get rid of hash_mode in outfile_check.c
6 years ago
jsteube
6928e5bfbe
Get rid of hash_mode in outfile_check.c
6 years ago
Jens Steube
3aecd150f9
Call module_hash_encode() in ascii_digest()
6 years ago
Jens Steube
222d76f01e
Replace parse_func() with module_hash_decode()
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
philsmd
2933f3320a
outfile check: performance improvement by using binary instead of linear search
6 years ago
philsmd
93216c76a3
outfile check: improve response time when quitting hashcat
6 years ago
jsteube
05a01d3843
fix some datatypes
7 years ago
Rosen Penev
1c5915cae3
remove special time handling in hashcat.
...
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
7 years ago
Rosen Penev
3ba84f17f1
More clang tidy fixes
7 years ago
Rosen Penev
ec55209254
remove hc_sleep and _msec.
...
MinGW defines sleep and usleep so just use those directly.
7 years ago
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
7 years ago
jsteube
5551337cf6
Show advice to use optimized kernels only if there's actually one for this hash-mode
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube
fc100a852b
Added hash-mode 2501 = WPA/WPA2 PMK
...
Fixes https://github.com/hashcat/hashcat/issues/1287
Limited hash-mode 2500 to max length 63
Fixes https://github.com/hashcat/hashcat/issues/1286
7 years ago
philsmd
d20079bfe1
if fstat () fails we shouldn't forget to close the file
8 years ago
philsmd
aed01460f2
if fstat () fails we shouldn't forget to close the file
8 years ago
philsmd
c16145dffd
outfile check: also out_info variable needs to be freed
8 years ago
philsmd
c1b89fb2ac
added return code check whenever fstat () was called
8 years ago
philsmd
d1e3d64440
outfile check: out_files variable should be freed (also) in case of an error
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
2135ea3329
WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:essid
...
WPA: Changed format for outfile_check from essid:mac1:mac2 to hash
8 years ago
jsteube
84fcd8289f
Files: Do several file and folder checks on startup rather than when they are actually used to avoid related error after eventual intense operations
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