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
ca31ef43af
Fixed race condition in maskfile mode by using a dedicated flag for restore execution
2019-08-06 14:07:43 +02:00
Gabriele Gristina
f0a7ba1473
(restore) remove unused *rc* vars and cleanup
2019-07-13 07:23:50 +02:00
Gabriele Gristina
4b871646fe
fix some memory leaks
2019-07-10 17:27:45 +02:00
Gabriele Gristina
3161aec3da
fix the comments :)
2019-07-01 17:27:08 +02:00
Gabriele Gristina
5679ca3344
Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
2019-07-01 01:30:24 +02:00
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
2019-06-28 17:58:08 +02:00
Gabriele Gristina
c2e634c426
switch is_gzip from short to bool
2019-06-27 23:51:54 +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
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