Browse Source

delay loading rex too

git-svn-id: file:///home/svn/framework3/trunk@10615 4d416f70-5f16-0410-b530-b9f4589650
Joshua Drake 8 years ago
parent
commit
4199f20c0b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      msfconsole

+ 2
- 2
msfconsole View File

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

Loading…
Cancel
Save