We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428fe00 commit ee9b1aaCopy full SHA for ee9b1aa
modules/exploits/multi/misc/java_rmi_server.rb
@@ -100,7 +100,7 @@ def exploit
100
# When the server stops due primer failing, re-raise
101
# RuntimeError so it won't wait the full wfs_delays
102
raise ::RuntimeError, "Exploit aborted due to failure #{fail_reason} #{(fail_detail || "No reason given")}"
103
- rescue Rex::ConnectionTimeout => e
+ rescue Rex::ConnectionTimeout, Rex::ConnectionRefused => e
104
# When the primer fails due to an error connecting with
105
# the rhost, re-raise RuntimeError so it won't wait the
106
# full wfs_delays
0 commit comments