DisclosureDate cleanup: Try parsing all dates

Fix all dates unparsable by `Date.strptime(value, '%b %d %Y')`
unstable
Michael Schierl 2012-10-22 20:04:21 +02:00 committed by corelanc0d3r
parent ece6d84e92
commit 2bb498c4b3
5 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ class Metasploit3 < Msf::Exploit::Local
'References' => [
[ 'URL', 'http://www.room362.com/blog/2012/1/3/uac-user-assisted-compromise.html' ]
],
'DisclosureDate'=> "Jan 3, 2012"
'DisclosureDate'=> "Jan 3 2012"
))
register_options([

View File

@ -40,7 +40,7 @@ class Metasploit3 < Msf::Exploit::Local
'References' => [
[ 'URL', ' http://www.trustedsec.com/december-2010/bypass-windows-uac/' ]
],
'DisclosureDate'=> "Dec 31, 2010"
'DisclosureDate'=> "Dec 31 2010"
))
end

View File

@ -42,7 +42,7 @@ class Metasploit3 < Msf::Exploit::Local
[ 'Automatic', { } ],
],
'DefaultTarget' => 0,
'DisclosureDate'=> "Oct 15, 2012"
'DisclosureDate'=> "Oct 15 2012"
))
register_options([

View File

@ -50,7 +50,7 @@ class Metasploit3 < Msf::Exploit::Remote
[ 'Windows XP Pro SP0/SP1 English', { 'Ret' => 0x71aa32ad } ],
],
'DefaultTarget' => 0,
'DisclosureDate' => 'Jul 11 2005 '))
'DisclosureDate' => 'Jul 11 2005'))
register_options([ Opt::RPORT(25) ], self.class)
end

View File

@ -30,7 +30,7 @@ class Metasploit3 < Msf::Post
'References' => [
[ 'URL', ' http://www.trustedsec.com/december-2010/bypass-windows-uac/' ]
],
'DisclosureDate'=> "Dec 31, 2010"
'DisclosureDate'=> "Dec 31 2010"
))
register_options([