Skip to content

Commit 9b7c19d

Browse files
author
zerosum0x0
committed
fix exception
1 parent a15befe commit 9b7c19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def eternal_cleanup()
7676
end
7777

7878
disconnect # also disconnect trees and logoff??
79-
rescue => ::Rex::Proto::SMB::Exceptions::NoReply
79+
rescue ::Rex::Proto::SMB::Exceptions::NoReply => e
8080
# pass
8181
# it's fine.
8282
rescue => error

0 commit comments

Comments
 (0)