27 lines
510 B
Ruby
Executable File
27 lines
510 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# -*- coding: binary -*-
|
|
#
|
|
# $Id$
|
|
#
|
|
# This user interface provides users with a command console interface to the
|
|
# framework.
|
|
#
|
|
# $Revision$
|
|
#
|
|
|
|
#
|
|
# Standard Library
|
|
#
|
|
|
|
require 'pathname'
|
|
|
|
#
|
|
# Project
|
|
#
|
|
|
|
# @see https://github.com/rails/rails/blob/v3.2.17/railties/lib/rails/generators/rails/app/templates/script/rails#L3-L5
|
|
require Pathname.new(__FILE__).expand_path.parent.join('config', 'boot')
|
|
require 'metasploit/framework/command/console'
|
|
|
|
Metasploit::Framework::Command::Console.start
|