Nice confirmation dialog for the save button

git-svn-id: file:///home/svn/framework3/trunk@5362 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-01-27 02:06:44 +00:00
parent 557a7bad9c
commit 19c36b0f24
1 changed files with 6 additions and 1 deletions

View File

@ -113,7 +113,12 @@ module Msf
# Save the framework's datastore
framework.save_config
@mydriver.exploit.datastore.to_file(Msf::Config.config_file, @mydriver.exploit.refname)
MsfDialog::Information.new(self,
"Configuration Saved",
"Settings for exploit module #{@mydriver.exploit.refname} have been saved to #{Msf::Config.config_file}. " +
"These settings will be loaded the next time this module is accessed."
)
$gtk2driver.append_log_view("Saved configuration to: #{Msf::Config.config_file}\n")
end