1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-12 10:48:57 +00:00
Commit Graph

85 Commits

Author SHA1 Message Date
Jukka Ojanen
3bc7b6af90 Avoid directly accessing file handle 2021-08-21 14:29:10 +03:00
Gabriele Gristina
77e328d659 Removed option --example-hashes, now is an alias of --hash-info 2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840 Added new option: --hash-info 2020-12-29 04:58:58 +01:00
Jens Steube
d2527d142a Fixed missing to copy the dictfile to dictfile_padded buffer 2020-03-10 15:49:02 +01:00
Jens Steube
d706f90a75 Dictstat: On Windows, the st_ino attribute in the stat struct is not set which can lead to invalid cache hits. Added the filename to the database entry. 2020-03-10 15:42:55 +01:00
Jens Steube
786efc2d7c Add support for OPTS_TYPE_PT_HEX 2019-10-09 10:49:58 +02:00
Jens Steube
a0284b8378 Fixed invalid use of --hex-wordlist if encoded wordlist string is larger than length 256 2019-10-08 12:33:11 +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
Gabriele Gristina
b2529af172 remove original commented code 2019-06-22 15:00:50 +02:00
Gabriele Gristina
6cb4abd526 Add zlib support v2 2019-06-21 21:56:38 +02:00
Jens Steube
3c4f4df771 Rename some more variables 2019-05-01 15:52:56 +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
5da1e4b872 Fixed maximum password length limit which was announced as 256 but actually was 255 2019-02-26 21:20:07 +01:00
jsteube
3cd3ba8e44 Fix gcc warnings 2019-01-20 23:02:12 +01:00
jsteube
e56c5035aa Get rid of hash_mode in wordlist.c 2018-12-19 09:51:25 +01:00
jsteube
52c52836e3 Add new option --slow-candidates which allows hashcat to generate passwords on-host 2018-09-01 12:31:17 +02:00
jsteube
05a01d3843 fix some datatypes 2018-02-08 19:13:29 +01:00
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
2018-02-05 17:18:58 +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
353d3c3008 Fix a bunch of cast-qual warnings 2017-11-13 20:46:26 -08:00
Rosen Penev
3ba84f17f1 More clang tidy fixes 2017-11-05 01:52:29 -07:00
philsmd
a10a8427cb
fixed the nanosecond access time problem, also working on macos now 2017-10-04 12:23:37 +02:00
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too 2017-09-29 12:13:29 +02:00
jsteube
57a70710ae Small wordlist loading performance optimization 2017-09-20 11:03:38 +02:00
jsteube
18c8de3428 Use zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer() 2017-08-22 15:19:25 +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
philsmd
bc1a101d2b fixes #1321: new option --wordlist-autohex-disable 2017-08-16 12:42:28 +02:00
jsteube
f5ee3db5a6 Update cpu rule engine to support passwords up to length 256 2017-08-11 11:15:43 +02:00
jsteube
beb6ee2061 Add OPTI_TYPE_OPTIMIZED_KERNEL
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
2017-07-18 14:45:15 +02:00
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
2017-07-18 13:23:42 +02:00
jsteube
8abd7ae9d1 Fix some old GCC compiler warnings 2017-07-06 10:35:25 +02:00
jsteube
f97c0d38d7 Allow using -L with -a 7 (other modes need no modification) for fast hashes 2017-06-30 16:51:57 +02:00
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
2017-06-29 12:19:05 +02:00
jsteube
ef33544bfa Show time spent for dictionary cache building on startup 2017-05-23 10:07:04 +02:00
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
2017-04-14 16:36:28 +02:00
jsteube
877b3fdc4d Fix some case to make GCC on OSX happy 2017-02-23 12:05:35 +01:00
jsteube
4e2adc031a Add some compiler independant integer overflow functions 2017-02-23 10:39:17 +01:00
jsteube
922fea7616 Add more integer overflow checks 2017-02-22 16:33:23 +01:00
Jens Steube
dd55c1eb66 WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:mac_ap:mac_sta:essid
Fixes https://github.com/hashcat/hashcat/issues/1113
2017-02-19 14:45:27 +01:00
philsmd
c1b89fb2ac
added return code check whenever fstat () was called 2017-02-14 13:57:24 +01:00
Rosen Penev
36bd1c7dd9 Replace some snprintf calls with asprintf.
Simplifies the code.
2016-12-19 16:46:30 -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
67d0ca055f Fix some code in wordlist.c to make cppcheck happy 2016-11-16 17:10:45 +01:00
jsteube
fc490263a5 Fix a bug in reject counter in stdin mode and simplify some code 2016-11-16 13:24:41 +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
80b3f52952 Move from off_t to stat struct to avoid struggling with rarely available _off64_t in cache_git struct 2016-10-31 10:20:25 +01:00
jsteube
68b907a012 Fix some output in case wordlist has only size of 1 word 2016-10-26 14:42:19 +02:00
jsteube
1c055a6311 Move event_log_info() out of hashes.c 2016-10-23 14:49:40 +02:00