Make msfweb easier to exclude in packaging

git-svn-id: file:///home/svn/framework3/trunk@7080 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-09-28 03:12:56 +00:00
parent 9509872b4f
commit d5c62fa7e2
2 changed files with 3 additions and 5 deletions

View File

@ -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
View File

@ -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')