Fit the text into the standard windows console
git-svn-id: file:///home/svn/framework3/trunk@4456 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3103a04fd0
commit
55c2ce56b1
9
msfcli
9
msfcli
|
@ -14,10 +14,11 @@ require 'msf/base'
|
|||
|
||||
Indent = ' '
|
||||
|
||||
if(RUBY_PLATFORM =~ /mswin32/)
|
||||
$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby interpreter.\n"
|
||||
$stderr.puts " Things will break, exploits will fail, payloads will not be handled correctly.\n"
|
||||
$stderr.puts " Please use the msfweb 'console' or install Cygwin or Linux in VMWare.\n\n"
|
||||
if(RUBY_PLATFORM !~ /mswin32/)
|
||||
$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby\n"
|
||||
$stderr.puts " interpreter. Things will break, exploits will fail, payloads will not\n"
|
||||
$stderr.puts " be handled correctly. Please use the msfweb 'console' or install \n"
|
||||
$stderr.puts " Cygwin or Linux in VMWare.\n\n"
|
||||
end
|
||||
|
||||
# Initialize the simplified framework instance.
|
||||
|
|
|
@ -11,10 +11,11 @@ require 'rex'
|
|||
require 'msf/ui'
|
||||
require 'optparse'
|
||||
|
||||
if(RUBY_PLATFORM =~ /mswin32/)
|
||||
$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby interpreter.\n"
|
||||
$stderr.puts " Things will break, exploits will fail, payloads will not be handled correctly.\n"
|
||||
$stderr.puts " Please use the msfweb 'console' or install Cygwin or Linux in VMWare.\n\n"
|
||||
if(RUBY_PLATFORM !~ /mswin32/)
|
||||
$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby\n"
|
||||
$stderr.puts " interpreter. Things will break, exploits will fail, payloads will not\n"
|
||||
$stderr.puts " be handled correctly. Please use the msfweb 'console' or install \n"
|
||||
$stderr.puts " Cygwin or Linux in VMWare.\n\n"
|
||||
end
|
||||
|
||||
class OptsConsole
|
||||
|
|
Loading…
Reference in New Issue