1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00
Commit Graph

177 Commits

Author SHA1 Message Date
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
d378aa7ab9 Show host memory requirement on startup 2019-05-10 16:37:49 +02:00
Jens Steube
3c4f4df771 Rename some more variables 2019-05-01 15:52:56 +02:00
Jens Steube
4b986de5fb Prepare native CUDA hybrid integration 2019-04-25 14:45:17 +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
Royce Williams
2a739a86ae rewrap --keep-guessing language for console width 2019-03-13 11:15:55 -08:00
Jens Steube
5e6f5c31de
Merge pull request #1952 from Chick3nman/master
Change behaviour of --keep-guessing flag
2019-03-13 18:43:09 +01:00
jsteube
4653447dfa Update startup message with informations on using pure OpenCL kernel 2019-03-13 06:29:24 +01:00
Chick3nman
e8b81657d7
Add warning message for --keep-guessing 2019-03-12 13:32:31 -05:00
jsteube
0186f025d3 Add support for hash modules to usage.c 2019-01-06 13:23:45 +01:00
jsteube
3cce072f40 Get rid of strhashtype() 2018-12-17 10:33:21 +01:00
Jens Steube
06b39dc3d5 Startup: Show OpenCL runtime initialization message (per device) 2018-11-12 20:45:05 +01:00
Jens Steube
2aff01b20e Hardware Monitor: Renamed --gpu-temp-abort to --hwmon-temp-abort
Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
Fixed invalid warnings about throttling in case --hwmon-disable was used
Fixes https://github.com/hashcat/hashcat/issues/1757
2018-11-09 12:48:27 +01:00
Jens Steube
344ea5b36d Memory: Reduced default maximum bitmap size from 24 to 18 and give a notice to use --bitmap-max to restore 2018-11-04 10:07:45 +01:00
Jens Steube
d6fe2c7cd4 The hashcat brain 2018-10-28 16:47:13 +01:00
Jens Steube
adb1686b9a Override --quiet and show final status screen in case --status is used
Fixes #1720
2018-10-21 11:50:44 +02:00
philsmd
73ed017daf
stdin: add read timeout checks (abort if no input for a long time) 2018-10-17 10:55:47 +02:00
philsmd
b1465693a3
fixes #1708: reject invalid masks with only a single ? at the end 2018-10-16 15:59:20 +02:00
RAN1
ec1b6442b1 Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present 2018-08-28 16:28:44 -04:00
jsteube
c902df7d8a Fix some typo 2018-06-22 09:57:44 +02:00
philsmd
4fcfa2ac77
max/min password/salt length vs max/min supported lengths by kernel
Make it clear that the "pass lengths" and "salt lenghts" hints are only indicative and describe the max/min pass/salt length of the kernels and are not specific to the current attack (e.g. mask attack of length 8)
2018-02-13 18:19:32 +01:00
jsteube
05a01d3843 fix some datatypes 2018-02-08 19:13:29 +01:00
jsteube
9136d23f2a Use hcmalloc() instead of malloc() whenever possible 2018-01-31 16:40:01 +01:00
jsteube
9aa9725b91 Terminal: Display Set Cost/Rounds During Benchmarking 2018-01-28 13:53:31 +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
jsteube
f817652bbb Terminal: Send clear line code to the same output stream as the next message following 2017-12-04 14:51:42 +01:00
jsteube
b864fa5ba7 Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
Removed option --powertune-enable to enable power tuning, please use driver specific tools
2017-12-01 15:19:10 +01:00
jsteube
04a30e6071 Show [r]esume in prompt in pause mode only and show [p]ause in prompt in resume mode only
Fixes https://github.com/hashcat/hashcat/issues/1459
2017-11-26 10:50:22 +01:00
Jens Steube
6c34a8074d
Merge pull request #1448 from neheb/master
Fix a bunch of cast-qual warnings
2017-11-15 10:19:12 +01:00
Rosen Penev
353d3c3008 Fix a bunch of cast-qual warnings 2017-11-13 20:46:26 -08:00
Chick3nman
69bdac9cfe
Fixed spelling mistake
drastical -> drastically
2017-11-13 11:57:25 -06:00
Jens Steube
9568837b12 Revert "Replace PRIu64 with ju. Less verbose." 2017-10-20 12:19:33 +02:00
Rosen Penev
869b5fb522 Replace PRIu64 with ju. Less verbose. 2017-10-19 19:35:18 -07:00
jsteube
51aba5517f Update some of the visual indicator of active options when benchmarking 2017-10-14 12:54:34 +02:00
Chick3nman
68db9c438d Style change for benchmark mode output 2017-09-27 13:38:17 -05:00
Chick3nman
ee430ead14 Styling change for benchmark mode output 2017-09-27 13:31:42 -05:00
Chick3nman
5e05c6c14e Styling change for benchmark mode output 2017-09-27 13:28:35 -05:00
Chick3nman
0a20640cc9 Changing mode display styling 2017-09-26 15:55:31 -05:00
Chick3nman
59927ac923 Switch hash-mode in benchmark from DEBUG to Production
moved event_log_info (hashcat_ctx, "Hashmode: %d", hashconfig->hash_mode); to Production segment, skipping DEBUG check
2017-09-26 12:31:29 -05:00
jsteube
2517292ac1 Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX 2017-09-19 12:04:05 +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
3aec5ecf1c Add some advice and notes about pure and optimized OpenCL kernels 2017-09-16 12:17:31 +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
jsteube
a8f3392344 Startup: Show some attack-specific optimizer constraints on start, eg: minimum and maximum support password- and salt-length 2017-08-22 10:08:28 +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
8abd7ae9d1 Fix some old GCC compiler warnings 2017-07-06 10:35:25 +02:00
jsteube
23b5e7f10e Fix compiler warnings for 32 bit windows by changing datatype for parameter 1 for gmtime_r() 2017-05-30 15:03:43 +02:00
jsteube
ef33544bfa Show time spent for dictionary cache building on startup 2017-05-23 10:07:04 +02:00
Christopher Schmitt
b5f5591b1a main_monitor_status_refresh shouldnt call status_display if status_ctx is not accessible 2017-05-18 10:36:14 -04:00
sgroat
21efc80975 fix string 2017-04-10 13:35:01 -07:00
Royce Williams
be4cf9ef67 more event_log_* standardization 2017-04-02 00:18:59 -08:00
Royce Williams
067372f5ce more event_log_* standardization 2017-04-01 23:50:06 -08:00
jsteube
368f8b39bc Add function to distinguish between warning and advice messages 2017-03-25 20:50:37 +01:00
jsteube
99fbaa8bcc Dictionary Cache: Split long status line into multiple lines to stay < 80 chars 2017-03-25 16:11:01 +01:00
jsteube
5f7c3590ba Status screen: Do not try to clear prompt in --quiet mode 2017-03-01 21:42:17 +01:00
Rosen Penev
4ceb7a1afa
Prefer _WIN to _POSIX for defines.
Also miscellaneous fixes here and there.
2017-02-23 15:55:06 -08:00
sgroat
113fe102f5 Cleanup zero-length printf format string warnings 2017-02-10 10:46:52 -08:00
Jens Steube
79513ce226 Building: Replaced linking of CRT_glob.o with the use of int _dowildcard 2017-02-09 10:42:35 +01:00
Jens Steube
07dd639038 Revert "Adding windows appveyor builds" 2017-02-07 11:56:48 +01:00
Stephen
237182ff43 Update main.c 2017-02-06 16:18:19 -08:00
Della Street
2bacba703e Final machine output status missing depending timer 2017-01-12 09:01:21 +01:00
jsteube
1f266fb0f2 Added new event EVENT_WEAK_HASH_ALL_CRACKED if all hashes have been cracked during weak hash check 2017-01-03 09:56:40 +01:00
jsteube
4a81601c0a Reenabled automatic status screen display in case of stdin used 2016-12-29 13:05:29 +01: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
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors 2016-11-30 15:14:42 -08:00
jsteube
8d899db110 Add FOREGROUND_INTENSITY to windows error message color 2016-11-30 11:45:24 +01:00
jsteube
7ca6a45781 Add some hint about performance for new users 2016-11-21 18:30:36 +01: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
Rosen Penev
bd780a3729
Fix a few float conversion errors 2016-11-12 15:20:38 -08:00
jsteube
9b60d34eaf Fix percentage view when parsing hashes 2016-10-31 21:12:04 +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
3442892fda Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings 2016-10-31 09:19:37 +01:00
jsteube
eb58b076da Fix compiler warnings caused by -Wstack-usage=524288 2016-10-30 22:22:26 +01:00
Rosen Penev
a219b95c17
Fix a bunch of warnings 2016-10-30 10:58:14 -07:00
Gabriele Gristina
e7406bec33 Fixed OSX stack overflow - v2 2016-10-30 00:33:12 +02:00
jsteube
636d953996 Move out all use of event_log_info() from library code to main.c or terminal.c 2016-10-26 11:24:00 +02:00
jsteube
e26b08f61f Move opencl_info() to terminal.c 2016-10-25 16:40:06 +02:00
jsteube
97a33dc4ef Sort events 2016-10-25 12:03:20 +02:00
jsteube
e1010ffba1 Prepare library user access to OpenCL device information without running an attack 2016-10-23 17:31:22 +02:00
jsteube
1c055a6311 Move event_log_info() out of hashes.c 2016-10-23 14:49:40 +02:00
jsteube
515107047b Move event_log_info() out of wordlist.c 2016-10-23 14:06:52 +02:00
jsteube
fa293bb409 Fix --quiet mode in main_cracker_finished() 2016-10-20 10:21:25 +02:00
jsteube
98cdfac52d Fix --quiet mode in main_cracker_finished() 2016-10-20 10:01:19 +02:00
jsteube
a460ab01b6 Bring back --username handling to --show and --left 2016-10-19 12:42:41 +02:00
jsteube
0fd48b228f Get rid of all event_log_* calls in monitor.c and replace them with real events 2016-10-18 01:24:03 +02:00
jsteube
1f72aa95e6 Destinguish between EVENT_POTFILE_HASH_CRACKED and EVENT_CRACKER_HASH_CRACKED for prompt handling 2016-10-18 00:50:54 +02:00
jsteube
2545ec6bf9 Prepare hashcat_get_status() 2016-10-16 19:32:43 +02:00
jsteube
e10c41c831 Do not show final status in case -I is used 2016-10-15 18:27:58 +02:00
jsteube
694de36694 Print warnings in yellow and errors in red 2016-10-15 16:12:20 +02:00
jsteube
017555e257 Fix some log levels 2016-10-15 14:28:46 +02:00
jsteube
4b8576ffb7 Do not show goodbye_screen in --machine-readable mode 2016-10-14 21:56:23 +02:00
jsteube
191269f4f0 Add --speed-only mode 2016-10-14 21:38:52 +02:00
jsteube
ef80e3f074 Some newline fixes 2016-10-14 20:18:45 +02:00
jsteube
056083fdba Revert "Prepare for hashcat_ctx_run_session()"
This reverts commit 0179097a53.
2016-10-14 19:25:13 +02:00
jsteube
0179097a53 Prepare for hashcat_ctx_run_session() 2016-10-14 13:27:35 +02:00
jsteube
742b9c8404 Fix clear line system 2016-10-13 19:52:27 +02:00