Land #10397, Added line in psexec_psh to support SMB2
parent
7e180a390c
commit
4b59552f8a
|
@ -81,6 +81,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
# Try and authenticate with given credentials
|
||||
if connect
|
||||
begin
|
||||
connect(versions: [2,1])
|
||||
smb_login
|
||||
rescue StandardError => autherror
|
||||
fail_with(Failure::NoAccess, "#{peer} - Unable to authenticate with given credentials: #{autherror}")
|
||||
|
|
Loading…
Reference in New Issue