Class: Msf::Ui::Web::WebConsole::WebConsolePipe

Inherits:
Rex::IO::BidirectionalPipe show all
Defined in:
lib/msf/ui/web/console.rb

Overview

Wrapper class in case we need to extend the pipe

Constant Summary

Constants included from Rex::Ui::Text::Color

Rex::Ui::Text::Color::AnsiAttributes

Instance Attribute Summary

Attributes inherited from Rex::IO::BidirectionalPipe

#input, #output, #prompt

Attributes inherited from Rex::Ui::Text::Input

#config, #eof, #prompt, #prompt_char

Instance Method Summary collapse

Methods inherited from Rex::IO::BidirectionalPipe

#close, #create_subscriber, #create_subscriber_proc, #eof?, #fd, #flush, #gets, #has_subscriber?, #initialize, #intrinsic_shell?, #pgets, #pipe_input, #print, #print_debug, #print_error, #print_good, #print_line, #print_status, #print_warning, #put, #read_subscriber, #remove_subscriber, #supports_color?, #supports_readline, #sysread, #write_input

Methods inherited from Rex::Ui::Text::Input

#auto_color, #disable_color, #enable_color, #eof?, #fd, #gets, #initialize, #intrinsic_shell?, #reset_color, #reset_tab_completion, #supports_readline, #sysread, #update_prompt

Methods included from Rex::Ui::Text::Color

#ansi, #colorize, #do_colorize, #reset_color, #substitute_colors

Constructor Details

This class inherits a constructor from Rex::IO::BidirectionalPipe

Instance Method Details

#prompting?Boolean

Returns:

  • (Boolean)

22
23
24
# File 'lib/msf/ui/web/console.rb', line 22

def prompting?
  false
end