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"
This commit is contained in:
Etienne
2016-10-28 00:51:03 +02:00
parent 5accadb511
commit f35f475b4f
5 changed files with 37 additions and 23 deletions
+1
View File
@@ -46,6 +46,7 @@ static const char *USAGE_BIG[] =
" --session | Str | Define specific session name | --session=mysession",
" --restore | | Restore session from --session |",
" --restore-disable | | Do not write restore file |",
" --restore-file-path | Dir | Specific path to restore file | --restore-file-path=my.restore",
" -o, --outfile | File | Define outfile for recovered hash | -o outfile.txt",
" --outfile-format | Num | Define outfile-format X for recovered hash | --outfile-format=7",
" --outfile-autohex-disable | | Disable the use of $HEX[] in output plains |",