Fixes bug where "cert.rb:47: warning: flags ignored" happens due to some issuer patterns.

bug/bundler_fix
Alexander Salmin 2015-09-02 01:02:46 +02:00
parent e747270e06
commit 3c72467b7d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Metasploit3 < Msf::Auxiliary
return
end
issuer_pattern = Regexp.new(datastore['ISSUER'], [Regexp::EXTENDED, 'n'])
issuer_pattern = Regexp.new(datastore['ISSUER'])
sub = cert.subject.to_a
before = Time.parse("#{cert.not_before}")