Fix namespaces on Server

bug/bundler_fix
jvazquez-r7 2015-02-13 17:34:55 -06:00
parent 9b7bbc220b
commit 2c842ee6d7
1 changed files with 134 additions and 139 deletions

View File

@ -1,16 +1,11 @@
# -*- coding: binary -*- # -*- coding: binary -*-
module Msf module Msf
module Exploit::Remote::SMB
### # This mixin provides a minimal SMB server
# module Server
# This mixin provides a minimal SMB server include Msf::Exploit::Remote::TcpServer
# include Msf::Exploit::NTLM
###
module Exploit::Remote::SMB::Server
include Exploit::Remote::TcpServer
include Exploit::NTLM
CONST = ::Rex::Proto::SMB::Constants CONST = ::Rex::Proto::SMB::Constants
CRYPT = ::Rex::Proto::SMB::Crypt CRYPT = ::Rex::Proto::SMB::Crypt
UTILS = ::Rex::Proto::SMB::Utils UTILS = ::Rex::Proto::SMB::Utils
@ -147,8 +142,8 @@ module Exploit::Remote::SMB::Server
pkt['Payload']['SMB'].v['ErrorClass'] = errorclass pkt['Payload']['SMB'].v['ErrorClass'] = errorclass
c.put(pkt.to_s) c.put(pkt.to_s)
end end
end
end end
end end