Remove obsolete authentication code - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit f8d63a649b497a9fa9c647c0ca552ae085abdcc1
 (DIR) parent 5ddf8b5dae2285ae536efa47b7add02185d3a804
 (HTM) Author: HD Moore <x@hdm.io>
       Date:   Thu, 28 Apr 2016 15:33:26 -0500
       
       Remove obsolete authentication code
       
       Diffstat:
         M lib/warvox/config.rb                |      20 --------------------
       
       1 file changed, 0 insertions(+), 20 deletions(-)
       ---
 (DIR) diff --git a/lib/warvox/config.rb b/lib/warvox/config.rb
       @@ -2,26 +2,6 @@ module WarVOX
        module Config
          require 'yaml'
        
       -  def self.authentication_creds
       -    user = nil
       -    pass = nil
       -    info = YAML.load_file(WarVOX::Conf)
       -    if( info and
       -      info['authentication'] and
       -      info['authentication']['user'] and
       -      info['authentication']['pass']
       -      )
       -      user = info['authentication']['user']
       -      pass = info['authentication']['pass']
       -    end
       -    [user,pass]
       -  end
       -
       -  def self.authenticate(user,pass)
       -    wuser,wpass = authentication_creds
       -    (wuser == user and wpass == pass) ? true : false
       -  end
       -
          def self.tool_path(name)
            info = YAML.load_file(WarVOX::Conf)
            return nil if not info