Make msfweb easier to exclude in packaging
git-svn-id: file:///home/svn/framework3/trunk@7080 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
9509872b4f
commit
d5c62fa7e2
|
@ -8,4 +8,3 @@ require 'msf/ui/banner'
|
|||
require 'msf/ui/driver'
|
||||
require 'msf/ui/common'
|
||||
require 'msf/ui/console'
|
||||
require 'msf/ui/web'
|
7
msfweb
7
msfweb
|
@ -11,11 +11,10 @@ end
|
|||
$:.unshift(File.join(File.dirname(msfbase), 'lib'))
|
||||
$:.unshift(ENV['MSF_LOCAL_LIB']) if ENV['MSF_LOCAL_LIB']
|
||||
|
||||
|
||||
require 'msf/base'
|
||||
require 'rex'
|
||||
require 'stringio'
|
||||
|
||||
require 'rex'
|
||||
require 'msf/base'
|
||||
require 'msf/ui/web'
|
||||
|
||||
|
||||
msfroot = File.join(File.dirname(msfbase), 'data', 'msfweb')
|
||||
|
|
Loading…
Reference in New Issue