Make day in DisclosureDate optional for msftidy
Defaults to the first day of the month.GSoC/Meterpreter_Web_Console
parent
969f38e265
commit
02bb2d45d3
|
@ -443,7 +443,7 @@ class Msftidy
|
||||||
if @source =~ /["']DisclosureDate["'].*\=\>[\x0d\x20]*['\"](.+)['\"]/
|
if @source =~ /["']DisclosureDate["'].*\=\>[\x0d\x20]*['\"](.+)['\"]/
|
||||||
d = $1 #Captured date
|
d = $1 #Captured date
|
||||||
# Flag if overall format is wrong
|
# Flag if overall format is wrong
|
||||||
if d =~ /^... \d{1,2}\,* \d{4}/
|
if d =~ /^... (?:\d{1,2}\,* )*\d{4}/
|
||||||
# Flag if month format is wrong
|
# Flag if month format is wrong
|
||||||
m = d.split[0]
|
m = d.split[0]
|
||||||
months = [
|
months = [
|
||||||
|
|
Loading…
Reference in New Issue