Fix namespaces on Server
parent
9b7bbc220b
commit
2c842ee6d7
|
@ -1,16 +1,11 @@
|
|||
# -*- coding: binary -*-
|
||||
|
||||
module Msf
|
||||
|
||||
###
|
||||
#
|
||||
# This mixin provides a minimal SMB server
|
||||
#
|
||||
###
|
||||
|
||||
module Exploit::Remote::SMB::Server
|
||||
include Exploit::Remote::TcpServer
|
||||
include Exploit::NTLM
|
||||
module Exploit::Remote::SMB
|
||||
# This mixin provides a minimal SMB server
|
||||
module Server
|
||||
include Msf::Exploit::Remote::TcpServer
|
||||
include Msf::Exploit::NTLM
|
||||
CONST = ::Rex::Proto::SMB::Constants
|
||||
CRYPT = ::Rex::Proto::SMB::Crypt
|
||||
UTILS = ::Rex::Proto::SMB::Utils
|
||||
|
@ -147,8 +142,8 @@ module Exploit::Remote::SMB::Server
|
|||
pkt['Payload']['SMB'].v['ErrorClass'] = errorclass
|
||||
c.put(pkt.to_s)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue