@wvu-r7 is a skilled negotiator. s/stdout/stderr/

bug/bundler_fix
Tod Beardsley 2014-10-17 13:13:30 -05:00
parent 5978bd5e62
commit a431bff13f
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
3 changed files with 4 additions and 5 deletions

View File

@ -11,11 +11,11 @@ class Metasploit::Framework::Command::Console < Metasploit::Framework::Command::
def spinner
return if $msf_spinner_thread
$msf_spinner_thread = Thread.new do
$stdout.print "[*] Starting the Metasploit Framework console..."
$stderr.print "[*] Starting the Metasploit Framework console..."
loop do
%q{/-\|}.each_char do |c|
$stdout.print c
$stdout.print "\b"
$stderr.print c
$stderr.print "\b"
end
end
end

View File

@ -537,7 +537,7 @@ class Driver < Msf::Ui::Driver
if $msf_spinner_thread
$msf_spinner_thread.kill
$stdout.print "\n"
$stderr.print "\n"
end
run_single("banner") unless opts['DisableBanner']

View File

@ -46,4 +46,3 @@ require Pathname.new(__FILE__).realpath.expand_path.parent.join('config', 'boot'
require 'metasploit/framework/command/console'
Metasploit::Framework::Command::Console.start
$stdout.puts "[*] Metasploit Framework console session ended"