From e9318c64d707ed54eac08297cd062658b4cc3e65 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Sat, 31 Dec 2005 18:23:30 +0000 Subject: [PATCH] catch all exceptions git-svn-id: file:///home/svn/incoming/trunk@3288 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/exploit_driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/exploit_driver.rb b/lib/msf/core/exploit_driver.rb index d41c04af77..d42d70a496 100644 --- a/lib/msf/core/exploit_driver.rb +++ b/lib/msf/core/exploit_driver.rb @@ -184,7 +184,7 @@ protected self.session = payload.wait_for_session( (exploit.passive? == true) ? nil : payload.wfs_delay) end - rescue + rescue ::Exception elog("Exploit failed: #{$!}", 'core', LEV_0) payload.stop_handler