mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
And this should work better.
git-svn-id: file:///home/svn/framework3/trunk@10706 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
6ac2583e13
commit
fc27eb467a
11
msfgui
11
msfgui
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env ruby
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
@ -7,5 +7,12 @@
|
||||
# $Revision$
|
||||
#
|
||||
|
||||
java -jar $(dirname $(readlink $0))/data/gui/msfgui.jar
|
||||
#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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user