Browse Source

Fit the text into the standard windows console


git-svn-id: file:///home/svn/framework3/trunk@4456 4d416f70-5f16-0410-b530-b9f4589650
HD Moore 12 years ago
parent
commit
55c2ce56b1
2 changed files with 10 additions and 8 deletions
  1. 5
    4
      msfcli
  2. 5
    4
      msfconsole

+ 5
- 4
msfcli View File

@@ -14,10 +14,11 @@ require 'msf/base'
14 14
 
15 15
 Indent = '   ' 
16 16
 
17
-if(RUBY_PLATFORM =~ /mswin32/)
18
-	$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby interpreter.\n"
19
-	$stderr.puts "    Things will break, exploits will fail, payloads will not be handled correctly.\n"
20
-	$stderr.puts "    Please use the msfweb 'console' or install Cygwin or Linux in VMWare.\n\n"
17
+if(RUBY_PLATFORM !~ /mswin32/)
18
+	$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby\n"
19
+	$stderr.puts "    interpreter. Things will break, exploits will fail, payloads will not\n"
20
+	$stderr.puts "    be handled correctly. Please use the msfweb 'console' or install \n"
21
+	$stderr.puts "    Cygwin or Linux in VMWare.\n\n"
21 22
 end
22 23
 
23 24
 # Initialize the simplified framework instance.

+ 5
- 4
msfconsole View File

@@ -11,10 +11,11 @@ require 'rex'
11 11
 require 'msf/ui'
12 12
 require 'optparse'
13 13
 
14
-if(RUBY_PLATFORM =~ /mswin32/)
15
-	$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby interpreter.\n"
16
-	$stderr.puts "    Things will break, exploits will fail, payloads will not be handled correctly.\n"
17
-	$stderr.puts "    Please use the msfweb 'console' or install Cygwin or Linux in VMWare.\n\n"
14
+if(RUBY_PLATFORM !~ /mswin32/)
15
+	$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby\n"
16
+	$stderr.puts "    interpreter. Things will break, exploits will fail, payloads will not\n"
17
+	$stderr.puts "    be handled correctly. Please use the msfweb 'console' or install \n"
18
+	$stderr.puts "    Cygwin or Linux in VMWare.\n\n"
18 19
 end
19 20
 
20 21
 class OptsConsole

Loading…
Cancel
Save