1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-16 04:49:24 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
jsteube
12d95fd22c Added option --example-hashes to show an example hash for each hash-mode 2017-08-22 11:09:46 +02:00
philsmd
16df4564ce
fixes #1314: do not use the defines INSTALL_FOLDER/SHARED_FOLDER in read_restore (), but the corresponding values from the folder config 2017-08-10 14:39:54 +02:00
philsmd
344d1a37df
fixes 1306: every permanent chdir () needs to update the folder_config 2017-08-03 14:02:09 +02:00
jsteube
8abd7ae9d1 Fix some old GCC compiler warnings 2017-07-06 10:35:25 +02:00
Royce Williams
067372f5ce more event_log_* standardization 2017-04-01 23:50:06 -08:00
jsteube
d6b843901b In case of multiline error message use only the first line as error and the description as warning 2017-02-23 11:59:34 +01:00
philsmd
6eaa7e3741
tainted string fix: check some lower/upper bounds of the strings 2017-02-15 13:19:53 +01:00
jsteube
4b3d39623c Restore: Add some checks on the rd->cwd variable in restore case 2017-02-14 20:05:44 +01:00
sgroat
113fe102f5 Cleanup zero-length printf format string warnings 2017-02-10 10:46:52 -08: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
ac5d274845 Sessions: Move out handling of multiple instance from restore file into separate pidfile 2017-01-27 16:29:18 +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
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
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
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
733a7385b4 Fix some code in restore.c to make cppcheck happy 2016-11-16 15:59:48 +01:00
Rosen Penev
22abb22c13
Fix a few printf formats 2016-11-13 17:45:36 -08: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
Gabriele Gristina
6bf5ee95a6 Fix resource leak 2016-10-30 16:08:41 +01:00
Etienne
f35f475b4f Add --restore-file-path option
This option set the restore file path.
It's useful when we need all session files in specific directory.

Example:
hashcat -m 0 --session "Test" --potfile-path "/path/to/my/potfile.potfile"
--restore-file-path "/path/to/my/restore_file.restore" hashs.txt -a 3 ?a?a?a?a
Restore session with :
hashcat --sesion "Test" --restore --restore-file-path
"/path/to/my/restore_file.restore"
2016-10-28 00:51:03 +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
14bd614bfc Move event_log_info() out of restore.c 2016-10-23 14:10:19 +02:00
jsteube
27e92540e4 Do not unlink restore file of restore is disabled 2016-10-20 22:58:40 +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
df521d664b Move restore_* variables into separate functions for later use in status.c 2016-10-17 14:25:16 +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
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
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
60f6137a3f Fix some newlines in restore mode 2016-10-12 13:08:48 +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
076784d235 Update user_options.c function parameters 2016-10-06 16:40:29 +02:00
jsteube
14334e4129 Update restore.c function parameters 2016-10-06 16:34:30 +02:00
jsteube
578f6816c6 Fix some uint datatype leftovers 2016-10-04 11:22:08 +02:00
jsteube
79c0fc6a11 Automatically unlink restore file if all hashes have been cracked 2016-10-04 11:13:33 +02:00
jsteube
7f2ab2db60 Add unlink_restore() 2016-10-04 11:03:20 +02:00
jsteube
57cb082fda Add some useful stuff to main.c 2016-10-03 01:27:55 +02:00
jsteube
50d2cec912 Fix some variable name convention 2016-10-03 00:01:37 +02:00
jsteube
667a8b1d3d Make use of argc/argv easier 2016-10-02 23:30:31 +02:00
jsteube
9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation 2016-10-02 00:00:21 +02:00