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 4a0e9b2 commit 428fe00Copy full SHA for 428fe00
modules/exploits/multi/misc/java_rmi_server.rb
@@ -100,6 +100,11 @@ 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
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
107
+ raise ::RuntimeError, e.message
108
end
109
110
0 commit comments