metasploit-framework/msfconsole

12 lines
281 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'
register_log_source('core', Rex::Logging::Sinks::Flatfile.new('/tmp/msfcli.log'))
Msf::Ui::Console::Driver.new.run