Skip to content

Commit

Permalink
hdm.drink(0xc0ffee)
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/svn/framework3/trunk@4457 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information
HD Moore committed Feb 21, 2007
1 parent 55c2ce5 commit f09c67a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion msfcli
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require 'msf/base'

Indent = ' '

if(RUBY_PLATFORM !~ /mswin32/)
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"
Expand Down
2 changes: 1 addition & 1 deletion msfconsole
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require 'rex'
require 'msf/ui'
require 'optparse'

if(RUBY_PLATFORM !~ /mswin32/)
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"
Expand Down

0 comments on commit f09c67a

Please sign in to comment.