1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-07-18 18:31:41 +02:00

delay loading rex too

git-svn-id: file:///home/svn/framework3/trunk@10615 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2010-10-09 00:06:30 +00:00
parent ba2f6f5efa
commit 4199f20c0b

View File

@ -16,7 +16,6 @@ end
$:.unshift(File.join(File.expand_path(File.dirname(msfbase)), 'lib'))
$:.unshift(ENV['MSF_LOCAL_LIB']) if ENV['MSF_LOCAL_LIB']
require 'rex'
require 'optparse'
if(RUBY_PLATFORM =~ /mswin32/)
@ -93,12 +92,13 @@ end
options = OptsConsole.parse(ARGV)
#
# NOTE: we don't require this until down here since we may not need it
# when processing certain options (currently only -h)
#
require 'rex'
require 'msf/ui'
#
# Everything below this line requires the framework.
#