metasploit-framework/msfgui

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