2010-10-16 17:51:29 +00:00
|
|
|
#!/usr/bin/env ruby
|
2007-02-04 01:55:01 +00:00
|
|
|
#
|
2010-05-03 17:13:09 +00:00
|
|
|
# $Id$
|
|
|
|
#
|
2010-07-13 23:00:15 +00:00
|
|
|
# Graphical user interface written in Java with rpc.
|
2007-02-04 01:55:01 +00:00
|
|
|
#
|
2010-05-03 17:13:09 +00:00
|
|
|
# $Revision$
|
|
|
|
#
|
2007-02-04 01:55:01 +00:00
|
|
|
|
2010-10-16 17:51:29 +00:00
|
|
|
#java -jar $(dirname $(readlink -n $0))/data/gui/msfgui.jar
|
|
|
|
|
|
|
|
msfbase = __FILE__
|
|
|
|
while File.symlink?(msfbase)
|
|
|
|
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
|
|
|
|
end
|
|
|
|
|
|
|
|
exec "java -jar #{File.dirname(msfbase)}/data/gui/msfgui.jar"
|
2009-11-11 02:36:56 +00:00
|
|
|
|