Make day in DisclosureDate optional for msftidy

Defaults to the first day of the month.
GSoC/Meterpreter_Web_Console
William Vu 2018-11-16 02:49:52 -06:00
parent 969f38e265
commit 02bb2d45d3
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ class Msftidy
if @source =~ /["']DisclosureDate["'].*\=\>[\x0d\x20]*['\"](.+)['\"]/
d = $1 #Captured date
# 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
m = d.split[0]
months = [