1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/msfconsole
Matt Miller 6ec3700b16 pivoting with portfwd command
git-svn-id: file:///home/svn/incoming/trunk@2916 4d416f70-5f16-0410-b530-b9f4589650da
2005-09-29 20:18:24 +00:00

15 lines
344 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