Add the missing analysis cli - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit e6517c2f5703fa9d1e23ebf151a1d0f57f5c17c5
 (DIR) parent 876e4a77972629224c7b0d14a5d5b33363f9ae1c
 (HTM) Author: HD Moore <hd_moore@rapid7.com>
       Date:   Fri,  6 Mar 2009 02:52:52 +0000
       
       Add the missing analysis cli
       
       Diffstat:
         A bin/analyze_result.rb               |      28 ++++++++++++++++++++++++++++
       
       1 file changed, 28 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/bin/analyze_result.rb b/bin/analyze_result.rb
       @@ -0,0 +1,28 @@
       +#!/usr/bin/env ruby
       +###################
       +
       +#
       +# Load the library path
       +# 
       +base = __FILE__
       +while File.symlink?(base)
       +        base = File.expand_path(File.readlink(base), File.dirname(base))
       +end
       +$:.unshift(File.join(File.expand_path(File.dirname(base)), '..', 'lib'))
       +require 'warvox'
       +require 'yaml'
       +
       +#
       +# Script
       +#
       +
       +inp = ARGV.shift || exit(0)
       +$0  = "warvox(analyzer): #{inp}"
       +
       +$stdout.write(
       +        WarVOX::Jobs::CallAnalysis.new(
       +                0
       +        ).analyze_call(
       +                inp
       +        ).to_yaml
       +)