1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-14 03:39:09 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
jsteube
05a01d3843 fix some datatypes 2018-02-08 19:13:29 +01:00
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.
2017-12-09 16:40:45 -08:00
Rosen Penev
3ba84f17f1 More clang tidy fixes 2017-11-05 01:52:29 -07:00
Rosen Penev
ec55209254 remove hc_sleep and _msec.
MinGW defines sleep and usleep so just use those directly.
2017-09-23 13:02:34 -07:00
jsteube
617dbb97ba Prepare migration -m 15800 into -m 2500 2017-09-18 13:21:00 +02:00
jsteube
5551337cf6 Show advice to use optimized kernels only if there's actually one for this hash-mode 2017-09-16 22:33:04 +02:00
jsteube
12d95fd22c Added option --example-hashes to show an example hash for each hash-mode 2017-08-22 11:09:46 +02:00
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions 2017-08-16 19:43:41 +02:00
jsteube
03bb234045 Preparation for WPA/WPA2 AES-CMAC: works till PMK 2017-07-20 12:46:18 +02:00
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
2017-07-03 16:11:57 +02:00
philsmd
d20079bfe1
if fstat () fails we shouldn't forget to close the file 2017-02-14 17:05:35 +01:00
philsmd
aed01460f2
if fstat () fails we shouldn't forget to close the file 2017-02-14 17:02:52 +01:00
philsmd
c16145dffd
outfile check: also out_info variable needs to be freed 2017-02-14 16:27:39 +01:00
philsmd
c1b89fb2ac
added return code check whenever fstat () was called 2017-02-14 13:57:24 +01:00
philsmd
d1e3d64440
outfile check: out_files variable should be freed (also) in case of an error 2017-02-14 13:44:31 +01:00
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.
2017-02-03 17:53:50 -08:00
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
2017-02-01 12:25:21 +01:00
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 2017-01-27 14:50:39 +01:00
jsteube
17548d3ee8 Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat() 2017-01-27 11:46:45 +01:00
philsmd
297c797521
hook code: refactored the hook salt to be part of the hash_t struct 2017-01-24 15:23:48 +01:00
jsteube
6ece83760d Add wrapping function for asprintf() 2016-12-24 00:40:40 +01:00
Jens Steube
1b4edc92ee Merge pull request #925 from neheb/master
Replace some snprintf calls with asprintf.
2016-12-21 00:39:51 +01:00
Rosen Penev
36bd1c7dd9 Replace some snprintf calls with asprintf.
Simplifies the code.
2016-12-19 16:46:30 -08:00
jsteube
ec5610271a New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit 2016-12-09 23:44:43 +01:00
jsteube
1342cf2ce3 Use $HEX[...] in case the password includes the separater character, increases potfile reading performance 2016-12-09 14:54:13 +01:00
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m 2016-12-02 21:26:10 -08:00
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors 2016-11-30 15:14:42 -08:00
neheb
eff04d1633 Change fseek and ftell to o variants
Standard way to do 64-bit file sizes
2016-11-28 16:50:27 -08:00
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. 2016-11-20 22:54:52 +01:00
jsteube
e777c25a67 Improve handling of MAX_CUT_TRIES 2016-11-19 15:25:01 +01:00
jsteube
8f4d93f938 Fix some double-free if manually setting --outfile-check-dir 2016-11-14 14:07:30 +01:00
jsteube
93adde9d2f * Wrap everything related to *stat() into own functions
* Testwise remove early includes to stdin for OSX, see if they are still required
2016-10-31 11:28:06 +01:00
jsteube
9f790d4dbd Move u8 * instead of char * for most interface.c functions 2016-10-30 21:56:56 +01:00
jsteube
7eef713ff7 Fix compiler warnings caused by -Wshadow 2016-10-30 20:37:02 +01:00
jsteube
f5a92900c6 Rudimentary --show support is back 2016-10-19 11:55:43 +02:00
jsteube
191269f4f0 Add --speed-only mode 2016-10-14 21:38:52 +02:00
jsteube
8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository 2016-10-13 10:07:04 +02:00
jsteube
af9de0a7b7 Fix some error string formats 2016-10-11 10:55:02 +02:00
jsteube
8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error() 2016-10-10 11:03:11 +02:00
jsteube
27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage 2016-10-09 22:41:55 +02:00
jsteube
c48ca34e1b Update outfile_check.c function parameters 2016-10-06 16:43:02 +02:00
jsteube
578f6816c6 Fix some uint datatype leftovers 2016-10-04 11:22:08 +02:00
jsteube
9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation 2016-10-02 00:00:21 +02:00
jsteube
2994afd81a Use hc_stat from types.c instead of OS dependant branching 2016-10-01 14:22:50 +02:00
jsteube
5f18fb40f1 Added hc_mkdir instead of mkdir macro 2016-10-01 13:51:06 +02:00
jsteube
fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube
a26f624032 Remove unneeded includes from outfile_check.c 2016-09-30 12:28:29 +02:00
jsteube
a5800b41f4 Rename hash_management.c to hashes.c 2016-09-30 09:25:51 +02:00
jsteube
c53de67cd4 Remove some unneeded mutex 2016-09-30 00:04:12 +02:00
jsteube
133c9295f5 Cleaned up data_t, only contexts left 2016-09-29 23:49:33 +02:00