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 5c2f972 commit 6ded5a7Copy full SHA for 6ded5a7
lib/metasploit/framework/command/console.rb
@@ -8,7 +8,15 @@
8
# Based on pattern used for lib/rails/commands in the railties gem.
9
class Metasploit::Framework::Command::Console < Metasploit::Framework::Command::Base
10
11
+ # Provides an animated spinner in a seperate thread.
12
+ #
13
+ # See GitHub issue #4147, as this may be blocking some
14
+ # Windows instances, which is why Windows platforms
15
+ # should simply return immediately.
16
+
17
def spinner
18
+ return if Rex::Compat.is_windows
19
+ return if Rex::Compat.is_cygwin
20
return if $msf_spinner_thread
21
$msf_spinner_thread = Thread.new do
22
$stderr.print "[*] Starting the Metasploit Framework console..."
0 commit comments