2005-12-17 06:46:23 +00:00
|
|
|
#!/usr/bin/env ruby
|
2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2005-11-28 21:38:48 +00:00
|
|
|
#
|
|
|
|
# This user interface provides users with a command console interface to the
|
|
|
|
# framework.
|
|
|
|
#
|
2005-07-13 21:09:07 +00:00
|
|
|
|
2010-05-25 22:29:01 +00:00
|
|
|
#
|
2014-07-29 19:07:14 +00:00
|
|
|
# Standard Library
|
2010-05-25 22:29:01 +00:00
|
|
|
#
|
2014-07-29 19:07:14 +00:00
|
|
|
|
|
|
|
require 'pathname'
|
2010-10-09 00:06:30 +00:00
|
|
|
|
2010-05-25 22:29:01 +00:00
|
|
|
#
|
2014-07-29 19:07:14 +00:00
|
|
|
# Project
|
2010-05-25 22:29:01 +00:00
|
|
|
#
|
|
|
|
|
2014-07-29 19:07:14 +00:00
|
|
|
# @see https://github.com/rails/rails/blob/v3.2.17/railties/lib/rails/generators/rails/app/templates/script/rails#L3-L5
|
2014-08-22 15:33:50 +00:00
|
|
|
require Pathname.new(__FILE__).realpath.expand_path.parent.join('config', 'boot')
|
2014-07-29 19:07:14 +00:00
|
|
|
require 'metasploit/framework/command/console'
|
2005-05-22 19:39:21 +00:00
|
|
|
|
2014-07-29 19:07:14 +00:00
|
|
|
Metasploit::Framework::Command::Console.start
|