INNER CODE UNIT · Ruby

completion_check

Hackplayers/evil-winrm · evil-winrm.rb:187

  def completion_check
    if $check_rpath_completion == true
      begin
        Readline.quoting_detection_proc
        @completion_enabled = true
      rescue NotImplementedError, NoMethodError => e
        @completion_enabled = false
           print_message("Remote path completions is disabled due to ruby limitation: #{e}", TYPE_WARNING)
           print_message('For more information, check Evil-WinRM GitHub: https://github.com/Hackplayers/evil-winrm#Remote-path-completion', TYPE_DATA)
      end
    else
      @completion_enabled = false
      print_message('Remote path completion is disabled', TYPE_WARNING)
    end
  end

  # Arguments
  def arguments

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…