From a7ff8703b73eda76c3c3013eb2abb92f5a7320bd Mon Sep 17 00:00:00 2001 From: James Lee Date: Mon, 12 Aug 2013 11:30:23 -0500 Subject: [PATCH] Remove errant return Installing a trap for "INT" is still wrong, it should be rescuing Interrupt instead. This is just a bandaid to keep it from crashing msfconsole any time ctrl-c is used after running wmap_run for the first time. --- plugins/wmap.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/wmap.rb b/plugins/wmap.rb index d215773d7d..cc7217b6b4 100644 --- a/plugins/wmap.rb +++ b/plugins/wmap.rb @@ -315,7 +315,6 @@ class Plugin::Wmap < Msf::Plugin if self.killwhenstop rpc_kill_node('ALL','ALL') end - return } # Max numbers of concurrent jobs per node