23 lines
495 B
Ruby
Executable File
23 lines
495 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# -*- coding: binary -*-
|
|
#
|
|
# This user interface provides users with a command console interface to the
|
|
# framework.
|
|
#
|
|
|
|
#
|
|
# 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__).realpath.expand_path.parent.join('config', 'boot')
|
|
require 'metasploit/framework/command/console'
|
|
|
|
Metasploit::Framework::Command::Console.start
|