mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
6dc76cb091
git-svn-id: file:///home/svn/framework3/trunk@10806 4d416f70-5f16-0410-b530-b9f4589650da
20 lines
401 B
Ruby
Executable File
20 lines
401 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
#
|
|
# $Id$
|
|
#
|
|
# Graphical user interface written in Java with rpc.
|
|
#
|
|
# $Revision$
|
|
#
|
|
|
|
msfbase = __FILE__
|
|
while File.symlink?(msfbase)
|
|
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
|
|
end
|
|
|
|
if RUBY_PLATFORM =~ /mswin|mingw/i
|
|
exec "javaw -jar #{File.dirname(msfbase)}/data/gui/msfgui.jar"
|
|
else
|
|
exec "java -jar #{File.dirname(msfbase)}/data/gui/msfgui.jar"
|
|
end
|