Fixes bug where "cert.rb:47: warning: flags ignored" happens due to some issuer patterns.
parent
e747270e06
commit
3c72467b7d
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue