14 lines
305 B
Ruby
14 lines
305 B
Ruby
|
#!/usr/bin/env ruby
|
||
|
|
||
|
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
|