We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3e8bc8 commit cef4ddfCopy full SHA for cef4ddf
msfconsole
@@ -1,13 +1,9 @@
1
#!/usr/bin/env ruby
2
# -*- coding: binary -*-
3
#
4
-# $Id$
5
-#
6
# This user interface provides users with a command console interface to the
7
# framework.
8
9
-# $Revision$
10
11
12
13
# Standard Library
@@ -20,7 +16,7 @@ require 'pathname'
20
16
21
17
22
18
# @see https://github.com/rails/rails/blob/v3.2.17/railties/lib/rails/generators/rails/app/templates/script/rails#L3-L5
23
-require Pathname.new(__FILE__).expand_path.parent.join('config', 'boot')
19
+require Pathname.new(__FILE__).realpath.expand_path.parent.join('config', 'boot')
24
require 'metasploit/framework/command/console'
25
26
Metasploit::Framework::Command::Console.start
0 commit comments