mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
Add a non-supported note about the Windows ruby interpreter
git-svn-id: file:///home/svn/framework3/trunk@4455 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
7007ec3349
commit
3103a04fd0
6
msfcli
6
msfcli
@ -14,6 +14,12 @@ 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"
|
||||
end
|
||||
|
||||
# Initialize the simplified framework instance.
|
||||
$framework = Msf::Simple::Framework.create
|
||||
|
||||
|
@ -11,6 +11,12 @@ 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"
|
||||
end
|
||||
|
||||
class OptsConsole
|
||||
#
|
||||
# Return a hash describing the options.
|
||||
|
Loading…
Reference in New Issue
Block a user