Using readline5 solves all hangs

git-svn-id: file:///home/svn/framework3/trunk@3763 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2006-07-27 05:35:29 +00:00
parent eeb894b70c
commit b4a0f34021
2 changed files with 5 additions and 1 deletions

View File

@ -51,8 +51,9 @@ class Driver < Msf::Ui::Driver
# Windows-specific hackery
if (RUBY_PLATFORM =~ /win/)
# This is no longer needed with readline5!
# Start the readline console hack
Rex::Compat.win32_readline_daemon()
# Rex::Compat.win32_readline_daemon()
# Disable the color support
prompt = "msf"

View File

@ -107,6 +107,9 @@ def self.win32_stdin_read
end
def self.win32_readline_daemon
return
serv = nil
port = 1024