Fix namespaces on Server
parent
9b7bbc220b
commit
2c842ee6d7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue