We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 579d6c7 + 023bde5 commit e0966f7Copy full SHA for e0966f7
tools/msftidy.rb
@@ -324,7 +324,7 @@ def check_ranking
324
end
325
326
def check_disclosure_date
327
- return if @source =~ /Generic Payload Handler/ or @source !~ / \< Msf::Exploit/
+ return if @source =~ /Generic Payload Handler/
328
329
# Check disclosure date format
330
if @source =~ /["']DisclosureDate["'].*\=\>[\x0d\x20]*['\"](.+)['\"]/
@@ -343,7 +343,7 @@ def check_disclosure_date
343
error('Incorrect disclosure date format')
344
345
else
346
- error('Exploit is missing a disclosure date')
+ error('Exploit is missing a disclosure date') if @source =~ / \< Msf::Exploit/
347
348
349
0 commit comments