Skip to content

Commit a15befe

Browse files
author
zerosum0x0
committed
squelch ::Rex::Proto::SMB::Exceptions::NoReply
1 parent 6d35d24 commit a15befe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/msf/core/exploit/smb/client/psexec_ms17_010.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def eternal_cleanup()
7676
end
7777

7878
disconnect # also disconnect trees and logoff??
79+
rescue => ::Rex::Proto::SMB::Exceptions::NoReply
80+
# pass
81+
# it's fine.
7982
rescue => error
8083
vprint_error(error.class.to_s)
8184
vprint_error(error.message)

0 commit comments

Comments
 (0)