From c0494dcbc0657006ff939656b6dbd325e7a69698 Mon Sep 17 00:00:00 2001 From: James Lee Date: Tue, 11 May 2010 07:37:57 +0000 Subject: [PATCH] compat fix for 1.8.6, there are probably many more bugs like this git-svn-id: file:///home/svn/framework3/trunk@9281 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/post/meterpreter/packet_dispatcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/post/meterpreter/packet_dispatcher.rb b/lib/rex/post/meterpreter/packet_dispatcher.rb index 860b20b5d2..515d5ed871 100644 --- a/lib/rex/post/meterpreter/packet_dispatcher.rb +++ b/lib/rex/post/meterpreter/packet_dispatcher.rb @@ -71,7 +71,7 @@ module PacketDispatcher response = send_packet_wait_response(packet, t) if (response == nil) - raise TimeoutError + raise TimeoutError.new("Send timed out") elsif (response.result != 0) e = RequestError.new(packet.method, response.result)