@wvu-r7 is a skilled negotiator. s/stdout/stderr/
parent
5978bd5e62
commit
a431bff13f
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue