Add note that SMB v1 is not supported
This commit is contained in:
parent
53772fa366
commit
6f2a7d6167
|
@ -51,6 +51,18 @@ module Msf::Exploit::Remote::SMB::Relay::NTLM
|
|||
response
|
||||
end
|
||||
|
||||
#
|
||||
# Handle an SMB version 1 message.
|
||||
#
|
||||
# @param [String] raw_request The bytes of the entire SMB request.
|
||||
# @param [RubySMB::SMB1::SMBHeader] header The request header.
|
||||
# @return [RubySMB::GenericPacket]
|
||||
def handle_smb1(raw_request, header)
|
||||
_port, ip_address = ::Socket::unpack_sockaddr_in(getpeername)
|
||||
logger.print_warning("Cannot relay request from #{ip_address}. The SMB1 #{::RubySMB::SMB1::Commands.name(header.command)} command is not supported - https://github.com/rapid7/metasploit-framework/issues/16261")
|
||||
raise NotImplementedError
|
||||
end
|
||||
|
||||
def do_session_setup_smb2(request, session)
|
||||
# TODO: Add shared helper for grabbing session lookups
|
||||
session_id = request.smb2_header.session_id
|
||||
|
|
|
@ -34,8 +34,8 @@ class MetasploitModule < Msf::Auxiliary
|
|||
'Author' => [
|
||||
'hdm', # Author of original module
|
||||
'Spencer McIntyre', # Creator of RubySMB::Server
|
||||
'agalway-r7', # Port of existing module to use RUBYSMB::Server
|
||||
'sjanusz-r7', # Port of existing module to use RUBYSMB::Server
|
||||
'agalway-r7', # Port of existing module to use RubySMB::Server
|
||||
'sjanusz-r7', # Port of existing module to use RubySMB::Server
|
||||
],
|
||||
'License' => MSF_LICENSE,
|
||||
'Actions' => [[ 'Capture', { 'Description' => 'Run SMB capture server' } ]],
|
||||
|
|
Loading…
Reference in New Issue