skip reporting nil numbers - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit e73cfe71f7c216d8429e169137eb166f5fd1b8bc
(DIR) parent d7fb0c6cad3cfc79d812be3accec650a0b7d94c5
(HTM) Author: HD Moore <hd_moore@rapid7.com>
Date: Sun, 10 May 2009 13:45:10 +0000
skip reporting nil numbers
Diffstat:
M bin/export_list.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/bin/export_list.rb b/bin/export_list.rb
@@ -46,6 +46,7 @@ end
begin
job = DialJob.find(job.to_i)
job.dial_results.sort{|a,b| a.number.to_i <=> b.number.to_i}.each do |r|
+ next if not r.number
if(not typ or typ.downcase == (r.line_type||"").downcase)
puts "#{r.number}\t#{r.line_type}\tbusy=#{r.busy}\tring=#{r.ringtime}"
end