1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/armitage
HD Moore 7350c2860c Merge Armitage 12.22.10 and a front-end script into Metasploit proper
git-svn-id: file:///home/svn/framework3/trunk@11426 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-28 15:50:52 +00:00

20 lines
415 B
Ruby
Executable File

#!/usr/bin/env ruby
#
# $Id$
#
# Ruby front-end to the Armitage Java user interface
#
# $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/armitage/armitage.jar"
else
exec "java -jar #{File.dirname(msfbase)}/data/armitage/armitage.jar"
end