1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

fix exception

This commit is contained in:
zerosum0x0 2018-01-29 07:57:08 -07:00
parent a15befe94b
commit 9b7c19db08

View File

@ -76,7 +76,7 @@ module Exploit::Remote::SMB::Client::Psexec_MS17_010
end
disconnect # also disconnect trees and logoff??
rescue => ::Rex::Proto::SMB::Exceptions::NoReply
rescue ::Rex::Proto::SMB::Exceptions::NoReply => e
# pass
# it's fine.
rescue => error