2007-02-04 01:55:01 +00:00
|
|
|
module Msf
|
|
|
|
module Ui
|
|
|
|
module Gtk2
|
|
|
|
|
|
|
|
class MyAbout
|
|
|
|
include Msf::Ui::Gtk2::MyControls
|
|
|
|
|
|
|
|
def initialize
|
|
|
|
@about = Gtk::AboutDialog.new
|
2007-02-04 19:30:49 +00:00
|
|
|
@about.set_name('MsfGUI')
|
2007-02-04 01:55:01 +00:00
|
|
|
@about.set_website('http://www.metasploit.org')
|
2007-02-04 19:30:49 +00:00
|
|
|
@about.set_authors(['Fabrice MOURRON fab<at>metasploit.com', 'Metasploit LLC'])
|
2007-02-04 01:55:01 +00:00
|
|
|
@about.set_license(File.read(File.join(Msf::Config.install_root, 'documentation', 'LICENSE')))
|
|
|
|
#@about.set_wrap_license('True')
|
|
|
|
@about.set_logo(driver.get_icon('msfwx.xpm'))
|
|
|
|
@about.set_version("\nMetasploit Framework v#{Msf::Framework::Version}")
|
|
|
|
@about.run
|
|
|
|
@about.destroy
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|