Skip to content

Commit 5978bd5

Browse files
author
Tod Beardsley
committed
Control the startup msg with -q, too
1 parent a45b21b commit 5978bd5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/metasploit/framework/command/console.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Metasploit::Framework::Command::Console < Metasploit::Framework::Command::
1111
def spinner
1212
return if $msf_spinner_thread
1313
$msf_spinner_thread = Thread.new do
14+
$stdout.print "[*] Starting the Metasploit Framework console..."
1415
loop do
1516
%q{/-\|}.each_char do |c|
1617
$stdout.print c

msfconsole

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,5 @@ end
4545
require Pathname.new(__FILE__).realpath.expand_path.parent.join('config', 'boot')
4646
require 'metasploit/framework/command/console'
4747

48-
$stdout.print "[*] Starting the Metasploit Framework console..."
4948
Metasploit::Framework::Command::Console.start
5049
$stdout.puts "[*] Metasploit Framework console session ended"

0 commit comments

Comments
 (0)