Files
beef/extensions/dns/ruby/logger.rb
soh_cah_toa cbd815c519 Changed output format for RubyDNS to be "BeEF-compliant".
RubyDNS's logger now uses BeEF's print-related functions. Debug
messages regarding queries can be enabled using --verbose.
2013-05-05 22:19:54 -04:00

24 lines
459 B
Ruby

#
# Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# Overrives the logger used by RubyDNS to use BeEF's print_info() and friends
class Logger
def debug(msg)
print_debug "DNS Server: #{msg}"
end
def info(msg)
print_info "DNS Server: #{msg}"
end
def error(msg)
print_error "DNS Server: #{msg}"
end
end