metasploit-framework/tools/msf_irb_shell.rb

17 lines
328 B
Ruby
Executable File

#!/usr/bin/env ruby
#
# $Id$
# $Revision$
#
msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
$:.unshift(File.join(File.dirname(msfbase), '..', 'lib'))
require 'rex'
require 'msf/core'
require 'msf/base'
require 'msf/ui'
framework = Msf::Simple::Framework.create
Rex::Ui::Text::IrbShell.new(binding).run