INNER CODE UNIT · Ruby
self
thesp0nge/dawnscanner · lib/dawn/core.rb:13
def self.sql_log_name
"#{File.join(registry_db_folder, 'dawnscanner-sql.log')}"
end
# TODO.20140326
# All those methods must moved from here to Util class and a
# Dawn::Core namespace must be created.
def self.help
puts "Usage: dawn [options] target_directory"
printf "\nExamples:\n"
puts "\t$ dawn a_sinatra_webapp_directory"
puts "\t$ dawn -C the_rails_blog_engine"
puts "\t$ dawn -C --json a_sinatra_webapp_directory"
puts "\t$ dawn --ascii-tabular-report my_rails_blog_ecommerce"
puts "\t$ dawn --html -F my_report.html my_rails_blog_ecommerce"
printf "\n -G, --gem-lock\t\t\t\tforce dawn to scan only for vulnerabilities affecting dependencies in Gemfile.lock (DEPRECATED)"
printf "\n -d, --dependencies\t\t\t\tforce dawn to scan only for vulnerabilities affecting dependencies in Gemfile.lock"
printf "\n\nReporting\n"