fix exception
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user