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

squelch ::Rex::Proto::SMB::Exceptions::NoReply

This commit is contained in:
zerosum0x0 2018-01-29 07:48:00 -07:00
parent 6d35d241de
commit a15befe94b

View File

@ -76,6 +76,9 @@ module Exploit::Remote::SMB::Client::Psexec_MS17_010
end
disconnect # also disconnect trees and logoff??
rescue => ::Rex::Proto::SMB::Exceptions::NoReply
# pass
# it's fine.
rescue => error
vprint_error(error.class.to_s)
vprint_error(error.message)