Browse Source

hdm.drink(0xc0ffee)


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

+ 1
- 1
msfcli View File

@@ -14,7 +14,7 @@ require 'msf/base'
14 14
 
15 15
 Indent = '   ' 
16 16
 
17
-if(RUBY_PLATFORM !~ /mswin32/)
17
+if(RUBY_PLATFORM =~ /mswin32/)
18 18
 	$stderr.puts "[*] The msfconsole interface is not supported on the native Windows Ruby\n"
19 19
 	$stderr.puts "    interpreter. Things will break, exploits will fail, payloads will not\n"
20 20
 	$stderr.puts "    be handled correctly. Please use the msfweb 'console' or install \n"

+ 1
- 1
msfconsole View File

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

Loading…
Cancel
Save