From 45bb336c5148586a67ac67cef9709dca15760654 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Sun, 26 Jan 2014 16:27:36 -0600 Subject: [PATCH] Loop do it --- lib/msf/core/auxiliary/scanner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/auxiliary/scanner.rb b/lib/msf/core/auxiliary/scanner.rb index d91e3469a8..fade61b0ea 100644 --- a/lib/msf/core/auxiliary/scanner.rb +++ b/lib/msf/core/auxiliary/scanner.rb @@ -89,7 +89,7 @@ def run @tl = [] - while (true) + loop do # Spawn threads for each host while (@tl.length < threads_max) ip = ar.next_ip