Minor tweaks to the GUI
git-svn-id: file:///home/svn/framework3/trunk@5237 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
016f4ece6a
commit
3ebe718644
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -42,6 +42,8 @@ module Ui
|
|||
#
|
||||
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.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue