Skip to content

Commit 3f6c04a

Browse files
committed
Update w3tw0rk_exec.rb
1 parent 16341d3 commit 3f6c04a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/exploits/multi/misc/w3tw0rk_exec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ def send_msg(sock, data)
8989
data << read_data
9090
read_data = sock.get_once(-1, 1)
9191
end
92-
rescue EOFError
92+
rescue ::EOFError, ::Timeout::Error, ::Errno::ETIMEDOUT => e
93+
elog("#{e.class} #{e.message}\n#{e.backtrace * "\n"}")
9394
end
95+
9496
data
9597
end
9698

0 commit comments

Comments
 (0)