Fit the text into the standard windows console

git-svn-id: file:///home/svn/framework3/trunk@4456 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-02-21 15:14:55 +00:00
parent 3103a04fd0
commit 55c2ce56b1
2 changed files with 10 additions and 8 deletions

9
msfcli
View File

@ -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.

View File

@ -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