Enforce the minimum power value - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit a0b6f9ee5b205a9da7e77a86d8c06ea3906fee26
DIR parent 8d35cc2a4ff09cfc5e7e565ff4f3d07d7a6e9612
HTML Author: HD Moore <hd_moore@rapid7.com>
Date: Sun, 22 Feb 2009 20:15:29 +0000
Enforce the minimum power value
Diffstat:
M bin/search_tones.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/bin/search_tones.rb b/bin/search_tones.rb
@@ -32,6 +32,7 @@ res.each do |x|
f = t[0].round
p = t[1].round
next if f == 0
+ next if p < min
tones[ f ] ||= []
tones[ f ] << t
end