1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00
Commit Graph

591 Commits

Author SHA1 Message Date
jsteube
f6fe5657a3 Fixed an integer overflow in masks not skipped when loaded from file 2017-08-26 14:40:53 +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
Jens Steube
08fc0ec1fb Added self-test funcionality for OpenCL kernels on startup
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
2017-06-13 19:07:08 +02:00
Christopher Schmitt
4c45939aa7 opencl_ctx_devices_destroy should be before opencl_ctx_destroy 2017-05-30 12:19:43 -04:00
jsteube
7bd391df71 Fixed a condition that caused a hybrid attack using a maskfile to not select all wordlists from a wordlist folder
Fixes https://github.com/hashcat/hashcat/issues/1244
2017-05-17 12:33:46 +02:00
Royce Williams
b4264c7d0a minor grammar when restore value is greater than keyspace 2017-05-11 06:02:33 -08:00
sgroat
21efc80975 fix string 2017-04-10 13:35:01 -07:00
Royce Williams
067372f5ce more event_log_* standardization 2017-04-01 23:50:06 -08:00
jsteube
e933d12838 Rename Input.Mode, Input.Base, ... to Guess.Mode, Guess.Base, ... 2017-03-24 23:39:09 +01:00
jsteube
20057d8516 Roll back status view progress percentage in case -s was used 2017-03-15 16:15:37 +01:00
jsteube
72071fba87 Do not try to use save_hash() in case hashlist_mode == HL_MODE_FILE 2017-03-14 08:51:53 +01:00
jsteube
e9d5b6d44d Merge branch 'master' of https://github.com/hashcat/hashcat 2017-03-13 23:00:33 +01:00
jsteube
7e449e75d1 Fixed status view progress percentage in case -s was used 2017-03-13 23:00:17 +01:00
philsmd
ae3fb3516b
remove: do not remove hashes unless --remove was specified 2017-03-13 22:42:51 +01:00
Jens Steube
963a9772ba Fixed --remove was not applied in case all hashes have been cracked by help of potfile or weak-hash check 2017-03-12 11:05:37 +01:00
philsmd
b2d88a0832
minor: fixed some comments about --skip/--limit/--keyspace 2017-03-10 12:49:57 +01:00
jsteube
6b77606bdd Fixed recursion in loopback handling when session was aborted by the user 2017-03-02 23:30:43 +01:00
jsteube
54ad27da7d Session Management: Automatically set dedicated session names for non-cracking parameters, for example: --stdout 2017-03-02 19:57:34 +01:00
jsteube
dc170907ed Compress multiple newlines to one in host code, too 2017-02-26 15:48:14 +01:00
jsteube
79e8b6a6b9 Make sure to unlink the pidfile only if our instance created it, but even in case of error 2017-02-17 08:59:22 +01:00
philsmd
98129da7dc
add dummy check around hashcat_get_status () within inner2_loop to make coverity happy 2017-02-15 12:57:18 +01:00
jsteube
ed772a02a4 Check for at least one active OpenCL device before running weak-hash-check 2017-02-14 21:05:44 +01:00
jsteube
ac5d274845 Sessions: Move out handling of multiple instance from restore file into separate pidfile 2017-01-27 16:29:18 +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
c7999c66bc Returncode: Added dedicated returncode (see docs/status_codes.txt) for shutdowns caused by --runtime and checkpoint keypress 2017-01-06 08:45:40 +01:00
jsteube
038b915e2d Fixed runtime limit: No longer required so sample startup time after refactorization 2017-01-05 22:34:47 +01:00
jsteube
1f756bf752 Include passwords for removed hashes present in the potfile to next loopback iteration 2017-01-03 19:21:27 +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
f424650c3b Fixed infinite loop when using --loopback in case all hashes have been cracked
Fixes https://github.com/hashcat/hashcat/issues/917
2016-12-10 09:37:59 +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
jsteube
a048bdc02c Fix some variable names in hashcat.log 2016-11-22 18:39:02 +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
jsteube
72e39a7ec0 Try to use true and false in case we're handling a bool data-type just as kind of a hint it's a bool 2016-11-18 10:09:03 +01:00
jsteube
4d9cb462a9 Add back input queue in status view
Implements https://github.com/hashcat/hashcat/issues/577
2016-11-10 22:30:17 +01:00
jsteube
1edc129f8a Added core-clock and memory-clock to output in benchmark mode with --machine-readable enabled 2016-11-10 17:50:29 +01:00
jsteube
0fb9779c15 Make a final status snapshot 2016-11-02 22:45:39 +01:00
jsteube
d6b7b39515 Fix for invalid error "Restore value greater keyspace" 2016-10-31 23:19:44 +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
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
Jens Steube
cf1c133678 Merge pull request #552 from matrix/master
Fix OSX segfault on check_hash()
2016-10-30 14:00:35 +01:00
Gabriele Gristina
e7406bec33 Fixed OSX stack overflow - v2 2016-10-30 00:33:12 +02:00
jsteube
b16c15c151 Fix missing TOPID in hashcat.log for user options 2016-10-29 23:21:52 +02:00
jsteube
9e156321ef Bring back mask length of mask as number to status screen 2016-10-29 22:44:01 +02:00
jsteube
f3fc5d96c4 Limit status_ctx access with a flag, easier to test 2016-10-29 15:12:45 +02:00
jsteube
e26b08f61f Move opencl_info() to terminal.c 2016-10-25 16:40:06 +02:00
jsteube
824654e2fb Create opencl_ctx_devices_show() as an example for how to access opencl devices from library and as replacement for inlined code for -I 2016-10-25 15:43:09 +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
8ecabcb9ac Fix --stdout and --keyspace 2016-10-20 22:30:00 +02:00
jsteube
574acfab6a Move masks_pos from rd* to masks_ctx and dicts_pot from rd* to straight_ctx 2016-10-20 22:14:54 +02:00
jsteube
761e3f0d96 Move out words_cur from restore_ctx to status_ctx and let the dispatcher update it 2016-10-20 21:27:42 +02:00
jsteube
f6334b5f90 Handling --show and --left need to be refactored, do not use those flags atm 2016-10-18 20:42:34 +02:00
jsteube
c3266e363a Make status_display_machine_readable() use of hashcat_status_t 2016-10-18 00:13:40 +02:00
jsteube
89e3168280 Make status_display(), status_benchmark_automate() and status_benchmark() use of hashcat_status_t 2016-10-17 23:49:44 +02:00
jsteube
1d0810a759 Added status_get_hwmon_dev() to status.c 2016-10-17 17:02:56 +02:00
jsteube
2b28010aae Added status_get_input_candidates_dev() to status.c 2016-10-17 16:46:16 +02:00
jsteube
8d81d3bd55 Added progress_mode to status.c 2016-10-17 16:22:32 +02:00
jsteube
86c1c7ef10 Added CPT functions for later use in status.c 2016-10-17 15:19:25 +02:00
jsteube
df521d664b Move restore_* variables into separate functions for later use in status.c 2016-10-17 14:25:16 +02:00
jsteube
615d977b7c Add new functions to hashcat_get_status() 2016-10-17 13:55:55 +02:00
jsteube
b044271b01 Move more status display calculate logic into separate functions 2016-10-17 13:44:07 +02:00
jsteube
2545ec6bf9 Prepare hashcat_get_status() 2016-10-16 19:32:43 +02:00
jsteube
f8a6d156eb Add some more returncode checks 2016-10-15 21:34:38 +02:00
jsteube
7bcbbbea74 Add some more returncode checks 2016-10-15 19:47:53 +02:00
jsteube
017555e257 Fix some log levels 2016-10-15 14:28:46 +02:00
jsteube
191269f4f0 Add --speed-only mode 2016-10-14 21:38:52 +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
757dc088ff Transport back errors from outer_loop() 2016-10-13 19:23:10 +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
62284f79b1 Get rid of exit() in hashcat.c 2016-10-12 14:56:53 +02:00
jsteube
386efb7fb5 Make use of EVENT_CRACKER_HASH_CRACKED, do not print a cracked hash to stdout directly, let the client do it 2016-10-12 11:27:10 +02:00
jsteube
20832d29d6 Do not reset innerloop_left and outerloop_left too early so we can access it from status display 2016-10-11 15:02:54 +02:00
jsteube
fa70e44874 Better handle rc == -1 2016-10-11 13:38:35 +02:00
jsteube
afd44130fc Prefix warning and error messages 2016-10-11 11:56:40 +02:00
jsteube
af9de0a7b7 Fix some error string formats 2016-10-11 10:55:02 +02:00
jsteube
2a5545d2b7 Move logfile stuff back to hashcat.c, it's a core feature which should be handled by the library 2016-10-10 11:23:21 +02:00
jsteube
6d2c58d8df Add main_potfile_remove_parse_post() 2016-10-10 11:10:04 +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
88565b4a5e Switch CPU affinity stuff to event_log_* 2016-10-08 23:38:34 +02:00
jsteube
42677df2a6 Start context-related logging with goal to get rid of logging.c 2016-10-08 23:16:40 +02:00
jsteube
d993aa5ffa Get rid of more log_info() in hashcat() 2016-10-07 22:16:03 +02:00
jsteube
27887bf9ce Get rid of more log_info() in hashcat() 2016-10-07 21:47:11 +02:00
jsteube
81650dcc46 Initial proposal 2016-10-07 16:56:44 +02:00
jsteube
bea228dabe Add straight_ctx_update_loop() 2016-10-06 22:18:20 +02:00
jsteube
4ed2fb4913 Add mask_ctx_update_loop() 2016-10-06 22:00:02 +02:00
jsteube
39d333d551 Add user_options_extra_amplifier() 2016-10-06 21:37:03 +02:00
jsteube
034c0699bb Added status_words_base_calculate() 2016-10-06 21:28:40 +02:00
jsteube
78999cff56 Zero hashcat context pointer addresses on shutdown 2016-10-06 21:16:39 +02:00
jsteube
52068e25d5 Add some additional start-up checks 2016-10-06 17:26:15 +02:00
jsteube
0885c0ec6b Update loopback.c function parameters 2016-10-06 17:01:29 +02:00
jsteube
3f05b7c0a7 Update dictstat.c function parameters 2016-10-06 16:55:17 +02:00
jsteube
14248d38e3 Update tuning_db.c function parameters 2016-10-06 16:51:01 +02:00
jsteube
ef582be4eb Update induct.c function parameters 2016-10-06 16:46:08 +02:00
jsteube
c48ca34e1b Update outfile_check.c function parameters 2016-10-06 16:43:02 +02:00
jsteube
076784d235 Update user_options.c function parameters 2016-10-06 16:40:29 +02:00