1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/msfconsole
Matt Miller b11a42d73c enhanced logging
git-svn-id: file:///home/svn/incoming/trunk@2929 4d416f70-5f16-0410-b530-b9f4589650da
2005-10-01 07:02:33 +00:00

15 lines
347 B
Ruby
Executable File

#!/usr/bin/ruby
# Ghetto include for lib relative to the msfconsole script
$:.unshift(File.join(File.dirname(__FILE__), '../lib'))
require 'rex'
require 'msf/ui'
# TODO: streamline logging
#f = Rex::Logging::Sinks::Flatfile.new('/tmp/msfcli.log')
#register_log_source('rex', f)
#register_log_source('core', f)
Msf::Ui::Console::Driver.new.run