Merge pull request #830 from mrnfrancesco/fix-issue-815

Fix issue 815
This commit is contained in:
Ryan Dewhurst
2015-06-04 09:46:26 +02:00
2 changed files with 13 additions and 4 deletions

View File

@@ -39,6 +39,8 @@ def main
if wpscan_options.version
puts "Current version: #{WPSCAN_VERSION}"
date = last_update
puts "Last DB update: #{date.strftime('%Y-%m-%d')}" unless date.nil?
exit(0)
end