|
|
|
@ -1128,9 +1128,10 @@ int hashcat_session_init (hashcat_ctx_t *hashcat_ctx, const char *install_folder
|
|
|
|
|
|
|
|
|
|
int hashcat_session_execute (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
{
|
|
|
|
|
logfile_ctx_t *logfile_ctx = hashcat_ctx->logfile_ctx;
|
|
|
|
|
status_ctx_t *status_ctx = hashcat_ctx->status_ctx;
|
|
|
|
|
user_options_t *user_options = hashcat_ctx->user_options;
|
|
|
|
|
folder_config_t *folder_config = hashcat_ctx->folder_config;
|
|
|
|
|
logfile_ctx_t *logfile_ctx = hashcat_ctx->logfile_ctx;
|
|
|
|
|
status_ctx_t *status_ctx = hashcat_ctx->status_ctx;
|
|
|
|
|
user_options_t *user_options = hashcat_ctx->user_options;
|
|
|
|
|
|
|
|
|
|
// start logfile entry
|
|
|
|
|
|
|
|
|
@ -1140,6 +1141,15 @@ int hashcat_session_execute (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
|
|
|
|
|
logfile_top_msg ("START");
|
|
|
|
|
|
|
|
|
|
// capture current working directory in session log
|
|
|
|
|
// https://github.com/hashcat/hashcat/issues/2453
|
|
|
|
|
|
|
|
|
|
logfile_top_string (folder_config->cwd);
|
|
|
|
|
logfile_top_string (folder_config->install_dir);
|
|
|
|
|
logfile_top_string (folder_config->profile_dir);
|
|
|
|
|
logfile_top_string (folder_config->session_dir);
|
|
|
|
|
logfile_top_string (folder_config->shared_dir);
|
|
|
|
|
|
|
|
|
|
// add all user options to logfile in case we want to debug some user session
|
|
|
|
|
|
|
|
|
|
user_options_logger (hashcat_ctx);
|
|
|
|
|