Minor tweaks to the GUI

git-svn-id: file:///home/svn/framework3/trunk@5237 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-12-31 01:09:34 +00:00
parent 016f4ece6a
commit 3ebe718644
3 changed files with 22 additions and 10 deletions

View File

@ -2,24 +2,26 @@ module Msf
module Ui
module Gtk2
TITLE = 'msfgui'
DESCRIPTION = 'A Gtk2 interface for Metasploit framework.'
COPYRIGHT = 'Copyright (C) 2006-2007 Metasploit LLC'
TITLE = 'Metasploit Framework'
DESCRIPTION = 'A cross-platform GUI interface for the Metasploit Framework.'
COPYRIGHT = 'Copyright (C) 2006-2008 Metasploit LLC'
AUTHORS = [
'Fabrice MOURRON <fab@metasploit.com>',
'HD Moore <hdm@metasploit.com>'
'H D Moore <hdm@metasploit.com>',
]
DOCUMENTERS = [
''
'Nobody :-)'
]
ARTISTS = [
'Fabrice MOURRON <fab@metasploit.com>',
'Anonymous <anonymous@metasploit.com'
"H D Moore <hdm@metasploit.com>",
"BRUTE <brute@bruteprop.com>",
"Anonymous",
]
LIST = 'framework-subscribe@metasploit.com'
BUGREPORT_URL = 'http://metasploit.com/dev/trac/report/9'
WEBSITE_URL = 'http://www.metasploit.com'
VERSION = "based on MSF v#{Msf::Framework::Version}"
WEBSITE_URL = 'http://www.metasploit3.com'
VERSION = "v#{Msf::Framework::Version}"
#
# The log source used by the gtk2 service.

View File

@ -30,7 +30,7 @@ module Msf
self.authors = Gtk2::AUTHORS
self.documenters = Gtk2::DOCUMENTERS
self.artists = Gtk2::ARTISTS
self.logo = driver.get_icon('msfwx.xpm')
self.logo = driver.get_icon('splash.png')
self.website = Gtk2::WEBSITE_URL
self.license = File.read(File.join(Msf::Config.install_root, 'documentation', 'LICENSE'))
self.transient_for = parent

View File

@ -41,7 +41,9 @@ module Ui
# The default resource directory for msfgui
#
DefaultResourceDirectory = Msf::Config.data_directory + File::SEPARATOR + "msfgui"
DefaultConfigDirectory = Msf::Config.config_directory + File::SEPARATOR
#
# Initializes a gtk2 driver instance
#
@ -102,6 +104,14 @@ module Ui
opts['ResourceDirectory'] || DefaultResourceDirectory
end
#
# Returns the local directory that will hold the files to be serviced.
#
def config_directory
opts['ConfigDirectory'] || DefaultConfigDirectory
end
#
# Saves configuration for MsfAssistant.
#