2009-11-12 05:30:58 +00:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
|
|
|
File.umask(0022)
|
|
|
|
|
2009-11-12 06:18:32 +00:00
|
|
|
|
2009-11-12 05:30:58 +00:00
|
|
|
msf3 = '/msf3'
|
2009-11-12 06:18:32 +00:00
|
|
|
if ! File.directory?(msf3)
|
|
|
|
puts "[*] This Metasploit Framework installation is corrupted."
|
|
|
|
exit(1)
|
2009-11-12 05:30:58 +00:00
|
|
|
end
|
2009-11-12 06:18:32 +00:00
|
|
|
|
2009-11-12 05:30:58 +00:00
|
|
|
Dir.chdir(msf3)
|
|
|
|
targ = ARGV.shift
|
|
|
|
exec("ruby", targ, *ARGV)
|
|
|
|
|