Land #2975 @wchen-r7's extra vprint_debug statements for ms13-090

bug/bundler_fix
Spencer McIntyre 2014-02-10 20:57:55 -05:00
commit a67a14ff60
No known key found for this signature in database
GPG Key ID: C00D6B6AA5E15412
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ module Msf
# Special keys to ignore because the script registers this as [:activex] = true or false # Special keys to ignore because the script registers this as [:activex] = true or false
next if k == :clsid or k == :method next if k == :clsid or k == :method
vprint_debug("Comparing requirement: #{k}=#{v} vs k=#{profile[k.to_sym]}")
if v.is_a? Regexp if v.is_a? Regexp
bad_reqs << k if profile[k.to_sym] !~ v bad_reqs << k if profile[k.to_sym] !~ v
elsif v.is_a? Proc elsif v.is_a? Proc