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

MS-2855/keylogger-mettle-extension
zerosum0x0 2018-01-29 07:48:00 -07:00
parent 6d35d241de
commit a15befe94b
1 changed files with 3 additions and 0 deletions

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)